Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Agentforce and Einstein Generative AI
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Activate and Deactivate Prompt Templates

          Activate and Deactivate Prompt Templates

          Use activation and deactivation of prompt templates to finely control which version your users can access.

          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
          User Permissions Needed
          To create and manage prompt templates in Prompt Builder:

          Prompt Template Manager permission set

          • Manage Prompt Templates
          • Execute Prompt Templates

          OR

          Customize Application permission set

          During the process of crafting a prompt template, you typically create a few versions to test which template body, grounding data, and LLM combination yields the most satisfying response. Because of this iterative drafting process, prompt templates aren’t available to your users by default. You must activate them first.

          When you activate a prompt template, you’re making a specific version of the prompt template available to your users. Only one version of a template can be active at a time, and if no versions are active the template becomes unavailable to your users. Activating and deactivating versions gives you the control to make available only the version of a template you want to share.

          1. Begin in the Prompt Template Workspace of Prompt Builder. See Create a Prompt Template.
          2. Begin drafting your prompt in the Prompt section. When you’re ready to save your work, click Save. This prompt is now Version 1 of your prompt template, as denoted by the version number shown at the top of the Prompt Template Workspace.
          3. When you’re ready to activate a template and make it available to your users, click Activate.
            Important
            Important Activating a template version makes it immutable. Even if deactivated, any version that was ever active remains immutable. To edit such a template, save it as a new version. See Use Multiple Versions of a Prompt Template.
          4. To deactivate an active template version, click Deactivate.
           
          Loading
          Salesforce Help | Article