Deployment Considerations for Prompt Templates

Include a prompt template in managed, unmanaged, or unlocked packages. Before you deploy a package that contains a prompt template, in changesets or on the CLI understand the limitations and behaviors.

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

Deploy Packages

  • Use Manual Inputs when creating Template-triggered Flows. Deploy the prompt and the flow together in a single deployment.
  • Flows with Automatic Inputs will cause a deployment to fail if a template references them.
  • If a deployment fails, deploy the flow first, and then deploy the template separately.
  • To deploy a package using the CLI, you must have at least one template version to deploy the template.