Conditional rules are sets of rules that define which content should be displayed in your messages, depending on various criteria like profiles’ attributes, segment membership or contextual events.
Conditional rules are created using the expression editor and can be stored if you want to reuse them across your contents. Learn how to save a conditional rule to the library
Individuals will need the Manage Library Items permission to save or delete conditional rules. Saved conditions are available for use by all users within an organization.
Conditional rules are created from the Conditions menu within the expression editor, which is accessible either:
From the Email Designer, when enabling dynamic content for a component in the email body. Learn how to add dynamic content into emails
In any field where you can add personalization using the Expression Editor.
The steps to create a conditional rule are as follows:
Access the Conditions menu from the Expression Editor or the Email Designer, then click Create new.
Build the conditional rule according to your needs. To do this, drag and drop and arrange the desired attributes from the left menu into the canvas.
The steps to combine attributes into the canvas are similar to the segment building experience. For more information on how to work with the rule builder canvas, refer to this documentation.
Attributes are organized into three tabs:
Once your conditional rule is ready, you can add it to your message to create dynamic content. Learn how to add dynamic content
You can also save the rule to allow further reuse. Learn how to save a condition
If there are condition rules that you will frequently reuse, you can save save them to the conditions library. All saved rules are shared and can be accessed and used by individuals within your organization.
Conditional rules that leverage journeys contextual attributes cannot be saved to the library.
In the condition edition screen, click the Save condition button.
Give a name and a description (optional) to the rule, then click Add.
The conditional rule is saved to the library. You can now use it to create dynamic content into your messages. Learn how to add dynamic content
You can delete a conditional rule at any time using the ellipsis button.
Conditional rules saved to the library cannot be modified. However, you can still use them to create new rules. To do this, open the conditional rule, make the desired changes then save it to the library. Learn how to save a condition to the library