在協調的行銷活動中定義全域變數 define-global-variables

在此頁面上:​瞭解如何在協調的行銷活動上新增和管理全域變數,以便重複使用在規則產生器、測試條件和其他畫布邏輯間共用的名稱 — 值組。

全域變數​是您在單一「協調流程」行銷活動中設定的名稱 — 值組,並在每次執行時重複使用,因此您可以使用共用值(例如預設頻道或測試電子郵件)來控制​ 測試 ​條件、規則產生器和其他畫布邏輯,而不需將相同的值貼到每個活動中。

此頁面說明如何定義全域變數。 一旦變數可用,如需如何在規則和​ 測試 ​條件中使用變數的詳細資訊,請參閱在協調的行銷活動中使用變數。

若要在「已協調的行銷活動」中新增或編輯全域變數,請執行下列步驟:

  1. 開啟「協調流程」行銷活動。

  2. 按一下​ 儲存 ​旁的​ … ​圖示,然後選取​編輯變數。

    在行銷活動功能表中編輯變數選項 {modal="regular"}

  3. 按一下​ 新增變數 ​並設定變數的名稱和值。 若要編輯現有變數,請按一下​ … ​按鈕,然後選取​編輯。

    新增或編輯變數的變數面板 {modal="regular"}

若要瞭解如何在規則和​ 測試 ​條件中定義全域變數,請參閱在協調的行銷活動中使用變數。

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