---
schema_version: "1"
id: bf143f6189b1c6d3ed6651663cfd5e28cbdbdeeb793ff82ca5772968ac79544d
title: Testing Agentforce Engagement Introductory 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_intro_email.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.sales_agent_sdr_test_intro_email.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 82a7dafec09e6b3b6cf0b5081f65d348529137e6c17cb2d79aaef443813b2ca0
description: To see how your Engagement agent generates initial emails to prospects using the prospect record details and the Draft Initial Outreach Email prompt template, use the Preview panel in Agentforce Builder.
products:
  - Sales Cloud
  - Agentforce
release: "264"
---
# Testing Agentforce Engagement Introductory Emails in Agentforce Builder

To see how your Engagement agent generates initial emails to prospects using the prospect record details and the Draft Initial Outreach Email prompt template, use the Preview panel in Agentforce Builder.

### 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="d22771e63">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d22771e63 ">To set up Agentforce Engagement:</td>

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

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

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

1. In Setup, enter Agents in the Quick Find box. Then click **Agentforce Agents**.
2. In the agent list, click **Agentforce Engagement**.
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 Initial Outreach 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 **Intro Email**.
    2. For Record, choose the lead, contact, or person account record you want to test with. This is the prospect the SDR agent will use to customize its email.
    3. When testing intro emails, leave the Email Body field blank.
    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. When testing intro emails, leave the Agent’s Last Nudge Stage field blank.
8. To close the Preview Conditions panel, click the Back button.
9. In the Chat box, enter Draft an initial outreach email.
10. Click **Send**.

The agent generates an introductory email to the prospect using the parameters you entered. Agent 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 Initial Outreach Email action. Check the email to see if it meets your business requirements.