On this page: Learn how to build conditional rules from profile attributes, contextual events, and audiences in the personalization editor, and save them to the library for reuse across your content.
Conditional rules are sets of rules that define which content should be displayed in your messages, depending on various criteria like profiles’ attributes, audience membership or contextual events.
Conditional rules are created using the personalization editor and can be stored if you want to reuse them across your contents. Learn how to save a conditional rule to the library
Access the conditional rule builder access
Conditional rules are created from the Conditions menu within the personalization 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 personalization editor.
Create a conditional rule create-condition
The steps to create a conditional rule are as follows:
-
Access the Conditions menu from the personalization 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:
-
Profile:
- Audiences lists all audience attributes (i.e. status, version etc.) for Adobe Experience Platform Segmentation service,
- XDM Individual profiles lists all the profile attributes associated to the Experience Data Model (XDM) schema defined in Adobe Experience Platform.
- Target: in Orchestrated campaigns, this folder lists incoming audience and enrichment attributes from the campaign worktable, including data from relational schemas. Learn more about Profile and target attributes in Orchestrated campaigns.
-
Contextual: when your message is used in a journey, contextual journey fields are available through this tab.
-
Audiences: lists all the audiences generated from segment definitions created in Adobe Experience Platform Segmentation service.
-
-
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
Save a conditional rule save
If there are condition rules that you will frequently reuse, you can save them to the conditions library. All saved rules are shared and can be accessed and used by individuals within your organization.
-
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
<, >, =, {, }, etc.) in variant names can cause the template editor to break or hide components.Edit and delete saved conditional rules edit-delete
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
This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.
For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.
- TL;DR: This page explains how to build conditional rules from profile attributes, contextual events and audiences in the personalization editor, and how to save them to the library for reuse across your content.
Intents:
- Access the conditional rule builder from the Conditions menu of the personalization editor, which is accessible from the Email Designer when enabling dynamic content for a component in the email body, or in any field where you can add personalization.
- Build a conditional rule by dragging and dropping attributes from the Profile, Contextual and Audiences tabs into the canvas.
- Add a conditional rule to a message to create dynamic content.
- Save a conditional rule to the conditions library for further reuse.
- Delete a saved conditional rule using the ellipsis button.
- Create a new rule from a conditional rule saved to the library.
Glossary:
- Conditional rule (product-specific): A set of rules that defines which content should be displayed in your messages, depending on various criteria like profiles’ attributes, audience membership or contextual events.
- Conditions library (product-specific): The library where conditional rules are saved for reuse. Saved conditions are available for use by all users within an organization.
- Profile tab (product-specific): The tab of the conditional rule builder that contains Audiences (audience attributes, such as status and version, for Adobe Experience Platform Segmentation service), XDM Individual profiles (the profile attributes associated to the Experience Data Model (XDM) schema defined in Adobe Experience Platform) and, in Orchestrated campaigns, Target.
- Target (product-specific): In Orchestrated campaigns, the folder of the Profile tab that lists incoming audience and enrichment attributes from the campaign worktable, including data from relational schemas.
- Contextual tab (product-specific): The tab of the conditional rule builder through which contextual journey fields are available when your message is used in a journey.
- Audiences tab (product-specific): The tab of the conditional rule builder that lists all the audiences generated from segment definitions created in Adobe Experience Platform Segmentation service.
Guardrails:
- Conditional rules that leverage journey contextual attributes cannot be saved to the library.
- Conditional rules saved to the library cannot be modified.
- When naming conditional content variants, use only alphanumeric characters (A-Z, a-z, 0-9). The use of special characters (such as
<,>,=,{,}) in variant names can cause the template editor to break or hide components.
Prerequisites and permissions:
- The Manage Library Items permission is needed to save or delete conditional rules.
Terminology:
- Canonical name: Conditional rule — variants: condition, condition rule
- Canonical name: Experience Data Model — Acronym: XDM
- Canonical name: Adobe Experience Platform — Acronym: AEP — variants: Platform
FAQ:
- Where are conditional rules created? From the Conditions menu within the personalization editor, which is accessible from the Email Designer when enabling dynamic content for a component in the email body, or in any field where you can add personalization using the personalization editor.
- How do I build a conditional rule? Drag and drop and arrange the desired attributes from the left menu into the canvas. The steps are similar to the segment building experience.
- Can I modify a conditional rule saved to the library? No. You can still use it to create a new rule: open the conditional rule, make the desired changes, then save it to the library.
- Can I save a conditional rule that uses journey contextual attributes? No. Conditional rules that leverage journey contextual attributes cannot be saved to the library.
- Who can use saved conditional rules? Saved conditions are available for use by all users within an organization.
- What permission do I need to save or delete conditional rules? The Manage Library Items permission.
Related pages:
- To add dynamic content into emails from the Email Designer: Learn how to add dynamic content into emails
- To add personalization in a field: personalization editor
- To find the permission needed to save or delete conditional rules: Manage Library Items
- For Profile and Target attributes in Orchestrated campaigns: Learn more about Profile and target attributes in Orchestrated campaigns
Personas:
- developer: Can build a conditional rule by dragging and dropping attributes from the Profile, Contextual and Audiences tabs into the canvas. Can use the XDM Individual profiles folder, which lists the profile attributes associated to the Experience Data Model (XDM) schema defined in Adobe Experience Platform. Can use contextual journey fields through the Contextual tab when the message is used in a journey. The page states that conditional rules that leverage journey contextual attributes cannot be saved to the library. Where: “Create a conditional rule”.
Onboarding:
- Level: Intermediate
- First minimal step: Access the Conditions menu from the personalization editor or the Email Designer, then select Create new.
- Success check: The conditional rule is saved to the library.
- Previous: Individuals will need the Manage Library Items permission to save or delete conditional rules: Manage Library Items
- Next: Once your conditional rule is ready, you can add it to your message to create dynamic content: Learn how to add dynamic content