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
          Revise a Prompt Template

          Revise a Prompt Template

          Perfecting a prompt template is an iterative process. You revise the prompt template, regenerate a resolved prompt and response, and then make further revisions based on that updated response. Every time you run a prompt template in Prompt Builder, you create a unique call to the LLM. That means that resolving the same prompt can produce different responses. Remember to review every response for accuracy, even if you’ve run the template before.

          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

          To revise a prompt template, edit your prompt template text directly in the Prompt Template Workspace. Then regenerate the response by clicking Save & Preview.

          When you edit a prompt template, we recommend that you:

          • Experiment with different selected records to ensure that the LLM produces consistent responses.
          • Save your template early and often. You can also create a copy of your prompt template by clicking Save As.
          • Study the language of the templates in the Example Prompt Template Library, especially the text related to writing style. You can use similar phrasing in your own templates.

          For more information about creating effective prompt templates, see Best Practices for Building Prompt Templates.

           
          Loading
          Salesforce Help | Article