When using Handlebars Merge Language (HML) merge fields to personalize content in Account Engagement, keep these guidelines in mind.
Required Editions
| Available in: All Account Engagement Editions |
- HML is available for email templates, list emails, 1:1 emails, dynamic content, landing pages, forms, and user signatures. In Salesforce, HML is available for Engage emails.
- Emails and email templates can have up to 200 HML merge fields and 10 pieces of dynamic content.
- If a prospect’s record doesn’t have a value for a field, nothing is displayed. To avoid empty fields, define default values for fields, or use HML’s conditional logic statements to create alternative content.
- If you specified a default value for a field and set up a conditional merge field statement, the default value populates instead of the statement.
- You can't use custom fields that record and display multiple responses as HML merge fields. Those fields also don’t appear in the merge field picker when you build content.
- You can use a standard multi-select or a checkbox field as a merge field. The value displayed is the last value listed for that field in the prospect’s record.
- To use merge fields in email subject lines, use the Advanced Subject Composer in your email draft.
- When a prospect clicks the view online link in an email, the merge fields populate with the values that are on the prospect's record at that moment.
- If you include a merge field in a URL, the data populates at the time that the prospect clicks the link.