Loading
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
          Ground Prompt Templates with Salesforce Resources

          Ground Prompt Templates with Salesforce Resources

          With Prompt Builder, you can dynamically ground prompt templates with CRM data using merge fields.

          Required Editions

          Grounding provides the LLM with the context to create personalized responses based on your accurate and up-to-date information. Sensitive data, such as personally identifiable information, stays in Salesforce and isn’t shared with the LLM. To see the placeholders for this data, look at the prompt template preview.

          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

          The zero-retention agreement in the Einstein Trust Layer ensures that anything shared with the LLM isn’t stored or used for training. For more information, see The Einstein Trust Layer Trailhead module.

          When you create a prompt template in Prompt Builder, you first choose an object, such as an account or contact, to associate with your template. For a field generation template, you also select the field that you want Einstein to help users complete.

          As you write your prompt template in the Prompt Template Workspace, you can use the Insert Resource button to add merge fields that reference record fields, flows, Apex, Data 360 DMOs, and related lists. When you create a prompt template, it works with Apex or flows whose required inputs are a subset of the prompt template inputs. For flows, all inputs are considered required and must be present in the prompt template. For Apex, inputs are optional unless annotated as required. Optional Apex inputs don’t have to be present in the prompt template. Apex and flows with no parameters work with all prompt templates.

           
          Loading
          Salesforce Help | Article