---
schema_version: "1"
id: a42e2f52756ce98213fd5238e768cee369bac9d3b1f5811c2802cb8e3962ad58
title: Enabling Resolution to Review a Prompt Template
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/prompt_builder_enable_resolution.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.prompt_builder_enable_resolution.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 0a17f34634a1ca3afd0dd321b438b34b28633a9aa145a535c740ed0622b32146
description: 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.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# 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

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions with the Einstein for Platform, or Einstein or Agentforce for Sales or Service add-on, or Agentforce Foundations</td></tr></tbody></table>

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.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d118740e114">Example Flow Merge Field</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d118740e117">Example Resolved Merge Field</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Example Flow Merge Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d118740e114 ">
            <code>Flow:Get_Open_Cases_for_Account</code>
          </td>

          <td data-label="Example Resolved Merge Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d118740e117 ">
            <p>Case details: Our Widgets have not been delivered. Widgets were scheduled to have
              arrived 06/07/2023. No shipping updates since 06/06/2023.</p>
            <p>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.</p>
            <p style="margin-bottom:0;">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?</p>
          </td>

        </tr>
      </tbody>
    </table>

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

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d118740e158">Example Apex&nbsp;Merge Field</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d118740e161">Example Resolved Merge Field</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Example Apex&nbsp;Merge Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d118740e158 ">
            <code>Apex:OpenCasesPrompt</code>
          </td>

          <td data-label="Example Resolved Merge Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d118740e161 ">
            <p>Case details: Our Widgets have not been delivered. Widgets were scheduled to have
              arrived 06/07/2023. No shipping updates since 06/06/2023.</p>
            <p>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.</p>
            <p style="margin-bottom:0;">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?</p>
          </td>

        </tr>
      </tbody>
    </table>

#### See Also

- [Ground Prompt Templates with Salesforce Resources](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_ground_template.htm&release=264.0.0&type=5 "With Prompt Builder, you can dynamically ground prompt templates with CRM data using merge fields.")