Change Set Considerations for Prompt Templates
Before you use change sets to deploy a prompt template, understand the limits and behaviors that are related to component dependencies and deployment.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, and Unlimited Editions with the Einstein for Platform, or Einstein or Agentforce for Sales or Service add-on, or Agentforce Foundations |
Activate and Deactivate
- Activating a prompt template changes the version status from Draft to Published. When a version is published, it can't be changed to a draft.
- Prompt template versions can be activated or deactivated.
- A version doesn’t auto-activate during deployment between multiple orgs unless the Deploy Prompt Templates permission is enabled in the target org. This permission is only applicable to changesets and can be found in Setup under Einstein Setup.
- If the prompt template is in use, a version can’t be deactivated unless another version is active.
- If a prompt template is in use, the active version can't be deleted.
- If a flow is referenced in a prompt template and deployed, the flow isn't auto-activated. Follow the flow guidelines for auto-activation. If a prompt template is executed with an inactive flow, you receive an error at runtime.
Other Considerations
- Any published prompt template version can’t be modified and is skipped when it’s deployed.
- If a template is overridden, users aren't allowed to override it again with a changeset, command-ine interface (CLI), or Connect API.
- Prompt templates can’t be deleted via changeset.
- When you deploy a template with custom large language model (LLM) configuration, verify that the target org has a model with the same name. If the model name doesn't match, the deployment fails.
- When a template is deployed by using a changeset, all versions—active or inactive—are included in the deployment.
- Add all resources in the changeset, and then add dependencies.
Did this article solve your issue?
Let us know so we can improve!

