Send HTML Email from Lightning Flow

by Rijwan Mohmmed
0 comment
send-html-email-from-lightning-flow-Salesforce-techdicer

Hello friends, today we are going to discuss Send HTML Email from Lightning Flow. Sending HTML emails from Salesforce Lightning Flow can help you create more visually appealing and professional communications with your customers, partners, and other stakeholders. HTML emails allow you to add images, links, tables, and other formatting to your messages, making them more engaging and impactful. In this blog post, we’ll discuss how to send HTML emails from Salesforce Lightning Flow.

Also, check this: Use Lookup Field in Flow Screen

Key Highlights :

Process :

Step 1: In the first step we create a simple form in screen flow in which we put email and name components.

Email-form
Email-form

Step 2: Here we will create Text -Templates. It is just a resource and the type is a Text -template. To send HTML emails from Salesforce Lightning Flow, you need to create a template that contains the HTML code for your email. This template can be stored in a custom object or in Salesforce’s Document object. You can also create the HTML code directly in the flow.

To specify the body of your email as HTML, you need to add a formula to the body field of the email element. This formula should retrieve the HTML code from your template and return it as a string. Here’s an example of how to do this:

Email-Html-Body

Step 3: Now we will select Actions and in Action select Email and feed the values according below image. Once you have your HTML template, you need to add an email element to your flow. The email element allows you to specify the recipient, subject, and body of your email. You can use merge fields to personalize your email with dynamic information such as recipient name or record data.

Step 4: Now complete the flow image

full-flow

In conclusion, sending HTML emails from Salesforce Lightning Flow is a great way to create more visually appealing and professional communications. By creating a template and using the email element in your flow, you can easily send HTML emails to your customers, partners, and other stakeholders.

Output :

Reference :

  1. Salesforce Flow
What’s your Reaction?
+1
2
+1
0
+1
0
+1
0
+1
1
+1
0

You may also like

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.