In questa pagina: Scopri come aggiungere e gestire variabili globali in una campagna orchestrata in modo da poter riutilizzare le coppie nome-valore condivise nel generatore di regole, nelle condizioni di test e in altra logica dell’area di lavoro.
Le variabili globali sono coppie nome-valore impostate in una singola campagna orchestrata e riutilizzate a ogni esecuzione. In questo modo è possibile impostare Condizioni test, il generatore di regole e altre logiche dell’area di lavoro con valori condivisi, ad esempio un canale predefinito o un messaggio e-mail di prova, senza incollare lo stesso valore in ogni attività.
Questa pagina spiega come definire le variabili globali. Quando saranno disponibili, per informazioni dettagliate su come utilizzarle nelle regole e nelle condizioni di Test, vedi Utilizzare le variabili nelle campagne orchestrate.
Per aggiungere o modificare una variabile globale in una campagna orchestrata, effettua le seguenti operazioni:
-
Apri la campagna orchestrata.
-
Fai clic sull’icona … accanto a Salva, quindi seleziona Modifica variabili.
{modal="regular"}
-
Fare clic su Aggiungi variabile e impostare il nome e il valore della variabile. Per modificare una variabile esistente, fare clic sul pulsante … e selezionare Modifica.
{modal="regular"}
Per informazioni su come utilizzare le variabili globali nelle regole e nelle condizioni Test una volta definite, vedere Utilizzare le variabili nelle campagne orchestrate.
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)