Definir variables globales en campañas organizadas define-global-variables

En esta página: Aprenda a agregar y administrar variables globales en una campaña orquestada para que pueda reutilizar pares de nombre-valor compartidos en el generador de reglas, las condiciones de prueba y otra lógica de lienzo.

Las variables globales son pares de nombre-valor que se establecen en una sola campaña orquestada y se reutilizan en cada ejecución, de modo que puede dirigir las condiciones de prueba, el generador de reglas y otra lógica de lienzo con valores compartidos (por ejemplo, un canal predeterminado o un correo electrónico de prueba) sin pegar el mismo valor en cada actividad.

Esta página explica cómo definir variables globales. Una vez que estén disponibles, para obtener detalles sobre cómo usarlas en reglas y condiciones de Test, consulte Usar variables en campañas orquestadas.

Para añadir o editar una variable global en una campaña orquestada, siga estos pasos:

  1. Abra la campaña orquestada.

  2. Haga clic en el icono … junto a Guardar y, a continuación, seleccione Editar variables.

    Opción Editar variables en el menú de campaña {modal="regular"}

  3. Haga clic en Agregar variable y establezca el nombre y el valor de la variable. Para editar una variable existente, haga clic en el botón … y seleccione Editar.

    Panel de variables para agregar o editar variables {modal="regular"}

Para obtener información sobre cómo usar variables globales en reglas y condiciones Test una vez definidas, consulte Usar variables en campañas orquestadas.

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 add and manage global variables on an Orchestrated campaign so shared name-value pairs can be reused across the rule builder, Test conditions, and other canvas logic.

Intents:

  • Open the variables panel for an Orchestrated campaign.
  • Add a new global variable with a name and value.
  • Edit an existing global variable.
  • Understand that global variables are defined per campaign for reuse across canvas logic.

Glossary:

  • Global variable: a name-value pair set on a single Orchestrated campaign and reused on each run to steer Test conditions, the rule builder, and other canvas logic (product-specific)
  • Edit variables: the menu option, accessed from the … icon next to Save, used to open the variables panel (product-specific)
  • Add variable: the control used to create a new global variable by setting its name and value (product-specific)

Guardrails:

  • none

Terminology:

  • Canonical name: global variable — variants: variable

FAQ:

  • Q: What is a global variable in an Orchestrated campaign? — A name-value pair set on a single Orchestrated campaign and reused on each run to steer Test conditions, the rule builder, and other canvas logic.
  • Q: How do I add a global variable? — Open the Orchestrated campaign, click the … icon next to Save, select Edit variables, then click Add variable and set its name and value.
  • Q: How do I edit an existing global variable? — In the variables panel, click the … button next to the variable and select Edit.
  • Q: Where are global variables used once defined? — In rules and Test conditions on the campaign canvas.

Related pages:

  • To use defined global variables in rules and Test conditions: Use variables in Orchestrated campaigns (orchestrated/variables-orchestrated-campaigns.md)

Personas:

  • marketer: Can open the Orchestrated campaign and select Edit variables from the … icon next to Save. Can select Add variable and set the variable’s name and value, or select Edit to update an existing variable. Can reuse these name-value pairs in Test conditions and the rule builder on the campaign canvas. Where: “Define global variables in Orchestrated campaigns”.

Onboarding:

  • Level: Intermediate
  • First minimal step: Open the Orchestrated campaign.
  • Success check: The variable becomes available to use in rules and Test conditions.
  • Next: Use the defined global variables in rules and Test conditions: Use variables in Orchestrated campaigns (orchestrated/variables-orchestrated-campaigns.md)
recommendation-more-help
journey-optimizer-help