Add content variables to a marketing email template to capture personalized information,
such as the recipient name and date. When building a marketing flow, map the variables to flow
resources in a Send Email Message element to provide the personalized information.
Required Editions
Available in: Lightning Experience
Available in: Enterprise and Unlimited Editions with Marketing Cloud
Growth or Advanced Edition
View Flows and Create and Edit Flows user permissions
AND
Permissions to all elements in the flow
To create and edit workspace content:
Content Author
OR
Content Manager
OR
Content Admin
In your marketing workspace, create an email template.
On the Data Source tab, add content variables that match the data you want to use in the
email. You can add individual data variables, such as today's date, or record variables,
which gives you access to all fields in a record. Select the object type of the record, which
determines which fields are available in the template.
In the template, add a merge field and select Add content
variable.
Select one of the content variables that you added on the Data Source tab. If you added
a record variable, select one of the fields from that record.
Repeat for each content variable that you want to use in the email template.
Save the template.
In Flow Builder, create a flow or edit a flow that has a Get Records element or some other
method of collecting data.
Add a Send Email Message element to the flow.
Select the email template that you created.
Under Personalize Message, map the flow data that you want to use to each content variable
that you defined in the template.
If you use a record variable, set the value to the record ID. Don’t select Entire
Resource.
When you test the flow, it generates an email populated with the mapped flow data
collected.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.