Get started with the Expression editor build-personalization-expressions
The Expression editor is the centerpiece of the personalization in Journey Optimizer. It is available in every context where you need to define personalization like emails, push and offers.
In the expression editor interface, you will select, arrange, customize and validate all the data to create a customized personalization for your content.
Available personalization sources sources
The left part of the screen displays a domain selector that lets you select the source for personalization. Available sources are:
- Profile attributes : lists all the references associated to the profile schema described in Adobe Experience Platform Data Model (XDM) documentation.
- Audiences : lists all the audiences created in Adobe Experience Platform Segmentation service. More information on segmentation available here.
- Offer decisions : lists all the offers associated to a specific placement. Select the placement then insert the offers in your content. For a complete documentation on how to manage offers, refer to this section.
- Contextual attributes : when a channel action activity (Email, push, SMS) is used in a journey or campaign, contextual attributes related to events and properties are available for personalization. An exemple of personalization leveraging contextual attributes is presented in this section.
- Helper functions : lists all the helper functions available to perform operations on data, such as calculations, data formatting or conversions, conditions, and manipulate them in the context of personalization. Learn more in this section.
Add personalization attributes add
Click the + button to add an attribute into your personalization expression.
The ellipsis menu next to the “+” icon allows you to get more details for each variable and to add your most frequently used attributes to favorites. Learn how to add attributes to favorites
Additionally, you can define default fallback text that will display if a string-type profile attribute is empty. To do this, click the ellipsis button next to the attribute and select Insert with fallback text. Write the text that should display by default if the attribute’s value is empty for a profile then click Add.
In the following example, the expression editor lets you select the profiles that have their birthday today then complete the customization by inserting a specific offer corresponding to this day.
Once your personalization expression is ready, you need to have it validated by the Expression editor. Learn more in this section.