You can personalize a message inside a Customer Journey with attributes of the event that triggered it. Here is how it actually works:
-
Use a preset for the message. Event-attribute personalization is available for presets only. If you type the content inline in the journey element, you can personalize it with tag values but not with event attributes. So save your push or email content as a preset first.
-
Add Dynamic content placeholders to the preset. In the preset editor, click the Personalization button next to the field you want to personalize (title, message text, and so on) and insert a placeholder. A placeholder has the form:
{PlaceholderName|FormatModifier|DefaultValue}for example
{brand|CapitalizeFirst|our store}. The pipe characters separate the format modifier (regular,CapitalizeFirst,CapitalizeAllFirst,UPPERCASE,lowercase) and the default value used when no value is available. There is no{EventName|attributeName}syntax - the event name is not part of the placeholder. -
Bind the event attributes in the journey. On the Push or Email element of your journey canvas, turn on Personalize message with event attributes, choose the event, and map each placeholder in the preset to the event attribute that should fill it. If you prefer Liquid, enable Overwrite Liquid placeholders and select the event instead: when an attribute name matches the Liquid variable name in the message, its value is substituted.
-
Test it. Create a small test segment (for example from a CSV of your test device identifiers), trigger the entry event with realistic attribute values, and confirm the message renders the attribute values rather than the raw placeholder or the default.
See Dynamic Content and Liquid Templates in journeys and Dynamic content.
Comments
0 comments
Please sign in to leave a comment.