---
schema_version: "1"
id: 6b6d5346fc3df06867e4026aa169c59cfbf193411a54d19c22e5c34776c6cbc8
title: Create a Sales Email 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_create_sales_email_template.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.prompt_builder_create_sales_email_template.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 7c890e2b83b9b8623143e1323d708bf96f7c6e64c9c68b78e15798946a8791a6
description: Connect with customers using emails that leverage your customer relationship history and insights. To generate personalized, targeted emails at scale, design a sales email prompt template. Because you can reuse your template for different products and customers, getting an LLM to write your emails saves you time and makes email workflows easier.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Create a Sales Email Prompt Template

Connect with customers using emails that leverage your customer relationship history and insights. To generate personalized, targeted emails at scale, design a sales email prompt template. Because you can reuse your template for different products and customers, getting an LLM to write your emails saves you time and makes email workflows easier.

### 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 with the Einstein for Sales add-on, which is available for an extra cost in <strong>Performance</strong> and <strong>Unlimited</strong> Editions</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="d197681e43">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d197681e43 ">To send sales emails that use Einstein generative AI:</td>
            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d197681e43 ">Einstein Sales Emails permission set</td>
          </tr>
        </tbody>
      </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/images/icon_note.png)

Note To build Sales Email prompt templates, turn on Sales Emails in Setup and assign a permission set to your users. See [Set Up Sales Emails](https://help.salesforce.com/s/articleView?id=ai.einstein_sales_emails_setup.htm&type=5&language=en_US) or [Set Up Sales Emails for Partners](https://help.salesforce.com/s/articleView?language=en_US&id=sf.salesforce_prm_setup_gen_ai_sales_emails.htm)

1. From Setup, in the Quick Find box, enter Prompt Builder, and then select **Prompt Builder**.
2. Click **New Prompt Template**.
    1. In the Prompt Template Type dropdown, select **Sales Email**.
    2. Enter your Prompt Template Name. The Prompt Template Name and optional Description that you choose appear in the list of custom email types that your users can choose from in the email composer.
    3. Select a **Recipient** to define which type of object that the email is for.
    4. Optionally, write a Description for your prompt template.
    5. Optionally, select an **Object** to include data from a related object, such as Account, in the generated email.
3. Click **Next**, and you’re redirected to the Prompt Template Workspace. The Prompt Template Workspace is where you add and revise your prompt template instructions. Here, you can write a template from scratch or copy and paste an example template.
4. In the Prompt Template Workspace, create your prompt template, run it, and see the LLM’s response.
    1. Click the **Preview Settings** button.
    2. Under Inputs, search for and select a recipient. Available options are defined by the recipient object that you selected on the Create Prompt Template page.
    3. In the Configure Response and Display sections, verify that Generate Response, Display Prompt, and Display Resolution are selected or deselected based on what you want to test.
    4. Click **Save & Preview**.
    5. Review the LLM’s generated email in the Response section.

The custom sales email prompt template that you created is available in the email composer on contacts and leads for users to whom you’ve assigned permissions. Prompts are available to internal users working from Lightning Experience and partner users working from Experience Cloud sites.