---
schema_version: "1"
id: ccb2c657f94831fc9c3fb455ea59219f7af8d453dacec8409e0858b51b266c05
title: Testing Agentforce Engagement Nudge Emails in Agentforce Builder
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sales/264-0-0/sales_agent_sdr_test_nudge_email.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.sales_agent_sdr_test_nudge_email.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f7230c6260ce12cb3fa6b01bbc276311c3162bcb0c2315fc0388514d323f3cdc
description: To see how your Engagement agent generates nudge emails to prospects who haven’t yet replied, use the Preview panel in Agentforce Builder. The agent generates nudge emails using the lead, contact, or person account record details and the Draft Nudge Email prompt template.
products:
  - Sales Cloud
  - Agentforce
release: "264"
---
# Testing Agentforce Engagement Nudge Emails in Agentforce Builder

To see how your Engagement agent generates nudge emails to prospects who haven’t yet replied, use the Preview panel in Agentforce Builder. The agent generates nudge emails using the lead, contact, or person account record details and the Draft Nudge Email prompt template.

### 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 in <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> editions with Sales and Einstein for Sales.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d22134e63">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d22134e63 ">To set up Agentforce Engagement:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d22134e63 ">Configure Engagement Agent</td>

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

In Agentforce Builder, enter testing scenario values, an utterance in the chat window, and view the resulting nudge email.

1. In Setup, enter Agents in the Quick Find box. Then click **Agentforce Agents**.
2. In the agent list, click **Einstein Sales Development Rep**.
3. On the Agent Details page, click **Open in Builder**.
4. On the Subagents tab, click the **Send Outreach** subagent, then click the **This Subagent's Actions** tab.
5. Click the **Sales SDR: Draft Nudge Email** action. This is the action you are going to test.
6. Click the **Preview As** button.
7. In the Preview As panel, fill the fields according to what you want to test.
    1. For Email Scenario, choose **Nudge**.
    2. For Record, choose the prospect record you want to test with. This is the prospect the Engagement agent will use to customize its email.
    3. For the Email Body field, enter a sample introductory outreach email or a previous nudge email. The previous email the agent sent to the prospect is used to ground the subsequent nudge emails.
    4. For the Record Owner’s Inbox Enabled field, choose whether you want to test as if the record owner has Inbox turned on or not.
    5. For the Agent’s Last Nudge Stage, choose **True** to test the agent’s final nudge to a prospect, or **False** to test earlier nudges to the prospect.
8. To close the Preview Conditions panel, click the Back button.
9. In the Chat box, enter Draft a nudge or followup email.
10. Click **Send**.

The agent generates an introductory email to the prospect using the parameters you entered. Agentforce Builder shows you the processing performed by the agent while generating the email. Because you aren’t actually sending the generated email during testing, an email scheduling error appears. You can ignore this error.

The email subject and body appear in the Output panel of the Sales SDR: Draft Nudge Email action. Check the email to see if it meets your business requirements.