AdminHow to Guides

Send Lightning Email Template with Salesforce flows

Send Lightning Email Template with Salesforce flows

Salesforce provides Lightning Email Templates that make it easy to create clean, visually appealing emails. Instead of plain text, you can add details directly from your Salesforce records. You can merge data into your emails for sales messages, renewals, or case updates. 

The email builder is simple to use and offers many Salesforce functions, such as email alerts, Flows, and Approval Processes. It is designed with modern email practices in mind and replaces the older Salesforce Classic Email Templates. You can also find it in other Salesforce tools, such as Account Engagement (formerly Pardot). 

With Lightning Email Templates, every email looks good and includes the information needed to build strong customer connections. 

🔐 Step 1: Create a Custom Permission Set for the Email Template Builder

Before using the Lightning Email Template Builder, you need to grant access through a custom permission set. 

Here’s how to do it: 

  1. Go to Setup. 
  2. In the Quick Find box, type Permission Sets and click on it.
  3. Click the New button. 
  4. Enter a Label like Template Builder Permission. 
  5. Click Save. 
Enable the Builder Permission
  1. Open the newly created permission set. 
  2. Click on System Permissions under the permission set details. 
  3. Click Edit. 
  4. Find and check Access drag-and-drop content builder. 
  5. Click Save 
Assign the Permission Set to Users
  1. At the top of the permission set page, click Manage Assignments. 
  2. Click Add Assignments. 
  3. Select the user(s) who will be building templates. 
  4. Click Next, then Assign. 

Your users now have the ability to create beautiful Lightning Email Templates! 

✉️ Step 2: Create a Lightning Email Template

Now that permissions are sorted, let’s build the actual email template. 

  1. Click the App Launcher (grid icon in the top-left). 
  2. Type Email Templates and select it. 
  3. Click on the New Email Template button. 
  4. Enter the following details: 
    1. Email Template Name 
    2. Related Entity Type (e.g., Contact, Case, Lead) 
    3. Subject
  5. Click Save. 

Once saved, click Edit in Builder to open the drag-and-drop editor. Here, you can: 

  • Add images 
  • Format text 
  • Insert buttons 
  • Personalize content with merge fields 

Design your email to match your brand—this is what your users or customers will see! 

📧 Step 3: Create an Email Alert

With the email template ready, it’s time to create an Email Alert—this connects your Flow to the email. 

  1. Go to Setup. 
  2. Type Email Alerts in the Quick Find box and open it. 
  3. Click New Email Alert. 
  4. Fill in: 
    • Description and Unique Name 
    • Object (the object that triggers the email) 
    • Email Template (select the one you just created) 
  5. Under Recipient Type, select Email Field. 
  6. Choose the email field(s) to receive the alert and move them to Selected Recipients. 
  7. Click Save. 

Now you’ve got a powerful email alert ready to be used in a Flow! 

🔄 Step 4: Trigger the Email Alert in a Flow

This is where the magic happens—automating your emails using Salesforce Flows. 

  1. In Setup, type Flows and go to the Flows page. 
  2. Click New Flow and choose a type (e.g., Record-Triggered Flow or Scheduled Flow) based on your needs. 
  3. Add an Action Element where you want the email to be sent.
  4. In the Action search, type Email Alert and select the one you created earlier.  
  5. Configure any necessary inputs (like record ID). 
  6. Finish building your Flow, then click Save and Activate. 

Also Read:Daily Allocations for Email Alerts 

Integrating Lightning Email Templates with Salesforce Flows improves email communication. Set up permissions, create a simple template, and connect it to a Flow so you can automatically send personalized emails that keep your customers engaged while saving time. 

Shares:

Related Posts

Nothing Found! Ready to publish your first post? Get started here.

Leave a Reply

Your email address will not be published. Required fields are marked *