Loading

Use Merge Fields in Email Templates (Lightning)

Fecha de publicación: Sep 22, 2026
Descripción

Merge fields are placeholders in an email that get replaced with Salesforce data when the email is sent. Use merge fields to personalize emails sent from a template, making the process of sending individualized emails simpler and faster.

Solución

This article explains how to use merge fields to personalize Lightning email templates in Salesforce, and where to find the merge field picker.

Create a Lightning Email Template

  1. Navigate to the App Launcher (nine dots in the top-left corner).
  2. Search for "Email Templates."
  3. Select Email Templates from the list.
  4. Create a new template by selecting "New Email Template" in the top-right corner.

Insert Merge Fields Using the Merge Field Picker

When building the body of the email, use the merge field picker to insert merge fields. This is a button at the bottom right of the text area. Look for the { } symbol to access the merge field picker. It is not possible to use the merge field picker on the subject of the email template.

When the merge field picker is open, you can select merge fields that describe the recipient, sender, or organization. The field selected from the picker aligns with the data in the Salesforce record:

  • Recipient: the person receiving the email.
  • Sender: the person sending the email.
  • Organization: the company sending the email (your company's Salesforce org information).

From the list, select the field you want to include in the body of the email, and draft the rest of your email as usual. Inserted merge fields are indicated by three curly brackets on either side of the merge language, like {{{ }}}.

If a Field You Need Isn't Available

If you don't see the fields you want to use in the field picker, check the Related Entity Type. If no related entity is selected, only Recipient, Sender, and Organization merge fields are available. See the "Create an Email Template in Lightning Experience" article in Additional Resources for details.

Número del artículo de conocimiento

000392931

 
Cargando
Salesforce Help | Article