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
          Enabling Resolution to Review a Prompt Template

          Enabling Resolution to Review a Prompt Template

          When you enable resolution, you can review the resolved prompt that’s generated from your prompt template. Through a process called prompt resolution, Prompt Builder replaces each merge field in the prompt template with real CRM data related to the records that you selected.

          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

          Resolution is enabled by default. Use the resolved prompt and the response to guide your prompt template revisions.

          For each merge field, the field value of the selected record is inserted into the prompt.

          Example Record Merge Field Example Resolved Merge Field
          Input:Account.Id 001XXXXXXXXXXXXIAC

          For each flow merge field, the response text is inserted into the prompt.

          Example Flow Merge Field Example Resolved Merge Field
          Flow:Get_Open_Cases_for_Account

          Case details: Our Widgets have not been delivered. Widgets were scheduled to have arrived 06/07/2023. No shipping updates since 06/06/2023.

          Case details: Wrong Widget model in order.Order was 500 cases of Widget A. Received 500 cases of Widget B. Order was fulfilled on 06/04/2023.

          Case details: Widgets broken before warranty expiration date. Widget C has broken and cannot be repaired. The warranty expires on 10/23/2023, but Widget C broke on 10/01/2023. Can a replacement be provided?

          For each Apex merge field, the response string is inserted into the prompt.

          Example Apex Merge Field Example Resolved Merge Field
          Apex:OpenCasesPrompt

          Case details: Our Widgets have not been delivered. Widgets were scheduled to have arrived 06/07/2023. No shipping updates since 06/06/2023.

          Case details: Wrong Widget model in order.Order was 500 cases of Widget A. Received 500 cases of Widget B. Order was fulfilled on 06/04/2023.

          Case details: Widgets broken before warranty expiration date. Widget C has broken and cannot be repaired. The warranty expires on 10/23/2023, but Widget C broke on 10/01/2023. Can a replacement be provided?

           
          Loading
          Salesforce Help | Article