Global variables are shared prompt instructions that AI Agents use to produce consistent outputs.
Why use them:
Enforce consistent behaviour (e.g., language, style, safety rules).
Reduce repeated prompt work and human error.
Set it once and all agents use it.
Setup
Open Settings
In the bottom-left of the Chat Interface, click Settings.Open Global Prompt Variables
In Settings, find Global Prompt Variables and select Add Variable.Define the variable
Name: give a short, descriptive key (e.g.
LANGUAGE_GUARDRAIL).Value: enter the instruction(s) you want enforced (e.g.
Use British English; no idioms; professional tone).Save the variable.
Example entry (display only):
LANGUAGE_GUARDRAIL Value:
Use British English; avoid slang; maintain professional tone.
4. Validate in the Workroom
Return to the workroom and run a sample prompt. Confirm the agents’ responses reflect the new global variable(s).
Quick tips
Keep each global variable focused e.g. having one purpose per variable.
Use clear, testable instructions (short bullet lists work well).
Maintain a record of important rules to allow restoration to a previous version if required.
If multiple agents update global variables, manage updates from a central point to prevent conflicts.
For a visual walkthrough of how Global Variables can help you achieve your desired outputs, watch the video below.



