Global Variables
Workspace-level variables available to workflows via {{global.key}}.
Global variables are a key-value store scoped to each workspace. Use them for configuration values that workflows reference at runtime - API base URLs, identifiers, tokens - without hardcoding them into node fields.
Managing Variables
- Open the workspace's settings (
/workspaces/<workspace>/settings). - Go to the Globals tab.
- Click Add, enter a key and a value.
- Optionally tick Secret (masked in UI & logs).
- Save.
Values keep their type: text, numbers, true/false, and JSON objects and arrays are preserved as structured data.
Accessing Values in Workflows
Use the template syntax to reference a global variable in any node field:
{{global.key}}
For example, with a variable api_base_url = https://api.example.com, an HTTP Action node URL field can use:
{{global.api_base_url}}/v1/data
Deleting a variable breaks any workflow that still references it - the confirmation says: "Workflows using '{{global.key}}' will stop working."
Secrets
Variables marked as Secret are masked in the UI and in execution logs - after saving, only a placeholder is shown. Use this for API tokens and credentials that should not be casually visible.
Secret variables are referenced exactly like regular ones - {{global.key}} - and resolve to their real value during execution.
Workspace Scoping
Global variables belong to the workspace they are created in. Each workspace has its own independent set of key-value pairs; workflows only see the variables of their own workspace.
Global variables and apps
Apps can never read global variables - not through What the page may read, and not from their files. Keep values a page needs in the workflow's output instead.
The AI assistant can propose a new global variable as a setup card in the chat; you enter the value and save it there.
Common Use Cases
- API endpoints: store base URLs so workflows can reference them without hardcoding.
- Credentials: tokens or keys used by HTTP Action nodes (mark them as Secret).
- Configuration values: feature flags, thresholds, or environment-specific settings shared by all workflows in a workspace.