Loading
Ongoing maintenance for Salesforce HelpRead More
Marketing Cloud Next
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Personalize Content with Merge Fields in Marketing Cloud Next

          Personalize Content with Merge Fields in Marketing Cloud Next

          Use merge fields to personalize your marketing content with customer data. For example, personalize an email with your customer's name or customize a landing page with products you know they're interested in.

          Required Editions

          Available in: Salesforce Enterprise and Unlimited Editions with Marketing Cloud Next Growth or Advanced Edition

          Add a Merge Field

          Before adding merge fields, review and set up the data sources for your content item. The data sources that you add to your content determine which data is available to use in merge fields.

          Note
          Note Merge fields are supported in landing pages in orgs created in Spring '25 and later. SMS and WhatsApp messages use the default data graph that's configured in Setup for merge fields.
          1. You can use merge fields in the subject line and preheader of an email, or in the text of your content.
            • For the subject or preheader in an email, click Add Merge Field.
            • When editing content, in the editing toolbar of a text-based component, click the Add Merge Field icon Add a merge field icon.
          2. Select the data source type, and then select the attribute you want to insert.
          3. If you select data graph attributes, select or create an expression to filter and sort data as needed.

          Example: Using Data Graph Data in a Merge Field

          When you use merge fields that refer to a data graph, you can personalize messages with timely and accurate data about your customers from across related data objects. For example, use data from a contact record and attributes from a related object, like a service case.

          First, make sure that a data graph based on the unified individual object is available as a data source. When inserting a merge field, create an expression to find a data attribute in associated data objects. In the expression, define criteria across objects to find the right attribute and narrow results.

          To help maintain consistency across your marketing content and reduce message design time, you can create and save an expression in your marketing workspace. Then, select the expression in a future message to reuse filter and sort criteria, including the references to data objects.

          Example
          Example

          Marketer Erin wants to share recent opportunities with partners in an email. By using a merge field that's related to both an account and an opportunity, Erin can insert the latest opportunity for a specific account. In the expression, Erin filters accounts by lead type and then sorts the related opportunities in descending date order to get the most recent opportunity. Erin saves the expression to reuse it in next month's email to partners.

           
          Loading
          Salesforce Help | Article