Global Variables (@globals): Define Shared Values Across Workspace

Global variables (“globals”) are shared values you can reuse across your workspace—inside flows, broadcasts, and campaigns—by referencing them as @globals.value_name. Globals are ideal for constants you repeat often (URLs, IDs, organization names, authorization strings), because you can update them once and apply changes everywhere they’re used.

Create once, reuse everywhere with @globals

If you just need the essentials, follow this quick path:

  1. Choose what should be a global (shared constants, not contact data)
  2. Create the global in the @ Globals section
  3. Check “Uses” to audit where it’s referenced
  4. Reference it in flows as @globals.value_name
  5. Update centrally and retest affected flows

Globals reduce copy-paste errors and make updates safer—especially for URLs, IDs, and authorization strings used in webhooks.

Step-by-Step Process

1
Decide what should be a global

Use globals for values that are:

  • Repeated often (API authorization strings, constant URLs, organization name, shared IDs)
  • Used across multiple flows (especially integrations and shared message content)
  • Likely to change later (so you want one safe update point)

Avoid globals for:

  • Contact-specific data (use @contact / @fields)
  • Run-specific answers collected during a flow (use @results)

2
Create the global variable

  1. Go to your Flows page.
  2. Scroll to the @ Globals section.
  3. Open the Globals page.
  4. Click New global (or Create Global).
  5. Enter a Name (example: api_key).
  6. Enter a Value (example: an Authorization string your webhook will reuse).
  7. Click Create.

[CAPTURE: Globals page with “New global” / “Create Global” button.]

💡
Tip: Use clear, stable names (snake_case). Avoid renaming globals later if they’re referenced across many flows.

3
Verify where a global is used (Uses)

  1. On the Globals page, find the global you want to review.
  2. Click Uses next to it.
  3. Review every place it’s referenced (flows, broadcasts, campaigns).

This helps you:

  • Audit dependencies
  • Confirm updates won’t break something unexpectedly

[CAPTURE: “Uses” link next to a global variable.]

4
Use the global in a flow

Once created, reference it in your flow as:

  • @globals.api_key (example)
  • Or generally: @globals.value_name

Example use case (Airtable/webhooks):

  • You create multiple Call Webhook actions.
  • Instead of pasting the same authorization string each time, you reference @globals.api_key.
  • When the value changes, you update the global once—every webhook is updated automatically.

[CAPTURE: Call Webhook node showing @globals.api_key used in a header (Authorization).]

⚠️
Warning: Don’t paste sensitive secrets into screenshots, flow messages, or shared documents. Treat global values like credentials if they contain authorization strings.

5
Update globals safely

  1. Go back to the Globals page (globals aren’t edited directly inside a flow).
  2. Update the global value.
  3. Check Uses to understand what will be affected.
  4. Test affected flows in the Simulator (especially for webhooks and integrations).
⚙️
Technical Detail: A global update applies immediately everywhere it’s referenced. This is powerful for maintenance, but it also means you should test after changes—especially for URLs, headers, and authentication strings.

Common Issues & Quick Fixes

My global doesn’t appear in the variable list

Problem: You created a global, but you can’t find it while editing.

Fix:

  • Confirm the global exists on the Globals page.
  • Type @globals. and use the auto-complete list.
  • Make sure you’re editing a field that supports variables (message text, headers, etc.).
The webhook still fails after switching to a global

Problem: The call fails even though you replaced a pasted value with @globals.*.

Fix:

  • Confirm the global value is correct (no extra spaces, correct prefix like Bearer if required).
  • If the global is used in a header, verify the header format matches your provider’s expected value.
  • Test the flow in the Simulator and check webhook event logs for the exact error.
I tried to edit a global inside the flow, but can’t

Problem: You expected to update the global value from within a node.

Fix:

  • Globals can only be edited from the Globals page (not within flows).
  • Update the global centrally, then retest your flow.
Renaming a global breaks references

Problem: Flows that referenced the old name stop working or show blank values.

Fix:

  • Avoid renaming globals once widely used.
  • If you must rename, use the Uses list to update every reference.
  • Retest each affected flow (Simulator + webhook events if applicable).