Trabajo con reglas condicionales conditions

En esta página: Aprenda a crear reglas condicionales a partir de atributos de perfil, eventos contextuales y audiencias en el editor de personalización y guárdelas en la biblioteca para reutilizarlas en el contenido.

Las reglas condicionales son conjuntos de reglas que definen qué contenido debe mostrarse en los mensajes, según varios criterios como atributos de perfiles, pertenencia a audiencias o eventos contextuales.

Las reglas condicionales se crean mediante el editor de personalización y se pueden almacenar si desea reutilizarlas en el contenido. Aprenda a guardar una regla condicional en la biblioteca

NOTE
Las personas necesitarán el permiso Administrar elementos de biblioteca para guardar o eliminar reglas condicionales. Las condiciones guardadas están disponibles para su uso por parte de todos los usuarios de una organización.

Acceso al generador de reglas condicionales access

Las reglas condicionales se crean desde el menú Conditions dentro del editor de personalización, al que se puede acceder desde:

Creación de una regla condicional create-condition

Los pasos para crear una regla condicional son los siguientes:

  1. Acceda al menú Condiciones desde el editor de personalización o desde el Designer de correo electrónico y, a continuación, haga clic en Crear nuevo.

  2. Genere la regla condicional según sus necesidades. Para ello, arrastre y suelte y organice los atributos deseados del menú de la izquierda al lienzo.

    Los pasos para combinar atributos en el lienzo son similares a la experiencia de creación de segmentos. Para obtener más información sobre cómo trabajar con el lienzo del generador de reglas, consulte esta documentación.

    Los atributos se organizan en tres pestañas:

  3. Una vez que la regla condicional esté lista, puede agregarla al mensaje para crear contenido dinámico. Aprenda a agregar contenido dinámico

    También puede guardar la regla para permitir una mayor reutilización. Aprenda a guardar una condición

Guardar una regla condicional save

Si hay reglas de condición que reutilizará con frecuencia, puede guardarlas en la biblioteca de condiciones. Todas las reglas guardadas se comparten y las personas de su organización pueden acceder y utilizar.

NOTE
Las reglas condicionales que aprovechan los atributos contextuales de recorrido no se pueden guardar en la biblioteca.
  1. En la pantalla de edición de condición, haga clic en el botón Guardar condición.

  2. Asigne un nombre y una descripción (opcional) a la regla y luego haga clic en Agregar.

  3. La regla condicional se guardará en la biblioteca. Ahora puede utilizarlo para crear contenido dinámico en los mensajes. Aprenda a agregar contenido dinámico

CAUTION
Al nombrar variantes de contenido condicional, utilice solo caracteres alfanuméricos (A-Z, a-z, 0-9). El uso de caracteres especiales (como <, >, =, {, }, etc.) en los nombres de variante puede hacer que el editor de plantillas rompa u oculte componentes.

Editar y eliminar reglas condicionales guardadas edit-delete

Puede eliminar una regla condicional en cualquier momento mediante el botón de puntos suspensivos.

No se pueden modificar las reglas condicionales guardadas en la biblioteca. Sin embargo, aún puede utilizarlas para crear nuevas reglas. Para ello, abra la regla condicional, realice los cambios deseados y guárdela en la biblioteca. Obtenga información sobre cómo guardar una condición en la biblioteca

AI Knowledge Reference

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:

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
recommendation-more-help
journey-optimizer-help