Dynamic content takes personalization to a higher level. You can use dynamic content to create emails that are targeted to each customer by creating an area in your email that displays content based on customer information that is stored in your database. You can use dynamic content in the subject line, from address, reply to address, and in the email body.
Dynamic content uses rulesets for each dynamic portion of an email. Specific rules within the rule set provide the content for specific field values. Any database field can be used in the evaluations of these rules. There is a maximum of 400 dynamic fields (including basic personalization and dynamic content) per email.
Combining the concepts of queries, personalization, and dynamic content gives you the most flexibility in ensuring that the right recipient always gets the right message.
Create emails that are tailored to each contact based on:
- Profile field data
- Membership in a contact list
- Membership in a query
- Behaviors
- Relational table information
- Salesforce.com opportunity status
Add dynamic content to your email
You can add dynamic content to your email in the subject line, from address, reply to address, and in the email body.
- Create or open an email.
- In email details, make sure you have an audience selected.
- Click Create or Select rule sets.
- If you have existing rule sets for this email you can reuse them. If you don't, you'll create rules.
- If creating a rule, click Create rule sets.
- If you choose to Create rule sets, give your rule a name. Provide a name that describes what the content shows, such as membership level. Select criteria for your rule. Add additional rules, if required.
- Click Save.
- The first rule is the default rule. You must always have a default rule.
- To add more rules select Add rule.
- Name your rule, and select the criteria to identify the contacts you want to target.
- Select Done when you are finished with a rule.
- Click Add rule to repeat this step for each of your rules.
- Click Save & close.
Add dynamic content to the from name, from address, reply-to address, or subject line
- In email details, make sure you have an audience selected.
- In Email details > From name, click on the dynamic content icon.
- Toggle on dynamic rules.
- Choose an option.
Note: You can also add personalization by selecting the personalization icon and choosing a field from your database.
Create new rule set
You can build a rule set and add the rule set to an email.
- In the email, make sure you have an audience selected.
- Click Create rule set.
- Name the content area and rule set and click Next.
- Click Add Rule.
- Define your rules. You might have up to 100 criteria within a rule. As you define a rule, it is recommended that you save the rule.
- Click Save rule to return to the email settings screen.
If you add multiple rules, the contact receives only the content that is associated with the first rule that they match in the dynamic content block. Multiple contact matching rules are applied in a fall-back fashion. If Campaign does not match on the first rule, it tries the second rule, then the third, and so on.
Reuse a rule set
You can reuse an existing dynamic content rule set in the email. This option allows you to reuse the rules and either provide new content or use existing content.
- Open the email.
- Click Select rule set.
- Select the rule set and click Next.
- The rule set might have one or more content areas that are associated with it.
Edit a rule set
You can edit an existing rule set from the email.
- In the email, do one of the following actions:
- To edit a rule set in the email body, click the pencil icon.
- To edit a rule set in the subject line, open Email settings. In the subject line, click Add dynamic content and select Edit rule set.
- Make your updates.
- Click Done.
- Click Save & Close to return to the email body.
Save a rule set
Once you've created a rule set, expand the menu to find the Save for reuse option.
Delete a rule set
With the email open the rule sets, complete the following steps:
- Select the check box next to the rule set name.
- Click the Delete icon.
Review important terms
Term | Definition |
Content blocks | The areas in an email that is populated with dynamic content. |
Content | Content is the text, image, or other HTML output shown to the contact within a content block. You can replace the text, images, or HTML with whatever suits your needs. |
Rule set | A rule set is a named group of rules that is used to define the content you display in content blocks. The rule set must have at least one rule, in addition to the default rule. For example, you might have the following rules that make a rule set for the header:
|
Rule | A rule is a subset of a rule set. Individual, conditional IF...THEN = CONTENT statements determine which content is dynamically placed in the message. For example, a rule might be:
IF state = NY, THEN show New York content. |
Default rule | The default rule defines that content that will be used if the criteria in none of the other rules are met. |
Pro tip: Content from relational tables and dynamic content is pulled when the contact clicks the click-to-view link.