Skip to main content

What are Variables?

Variables let you store named JSON objects that can be referenced as template strings inside automation steps. Instead of hardcoding values in each step, you define them once as a variable and reuse them across your workflows.

Accessing Variables

In the Automations section of your organization, click Variables in the left sidebar.

Creating a Variable

1

Open Variables

Click Variables in the automations sidebar.
2

Click Variable

Click the Variable button in the top-right corner of the Variables panel.
3

Enter a Name

Give your variable a descriptive name (e.g. royalty_rates or label_config).
4

Enter the JSON Content

Enter a valid JSON object in the content editor. This is the value that will be injected when the variable is referenced.
5

Save

Click Save to create the variable.
Variable content must be a valid JSON object. The editor will show an error if the JSON is invalid before you can save.

Editing a Variable

Click any variable in the list to open it in edit mode. You can update both the name and the JSON content, then save your changes.

Deleting a Variable

Click the trash icon on a variable row, then confirm the deletion in the dialog.
Deleting a variable is permanent. Any automation steps that reference the deleted variable will stop working.

Variable Content

Each variable stores a JSON object. The number of top-level keys is displayed as a badge on the variable row so you can quickly see how much data it contains.
{
  "base_rate": 0.12,
  "territory": "US",
  "currency": "USD"
}

Using Variables in Steps

Reference variables in any step configuration field using the template syntax:
{{variable.royalty_rates}}
This injects the full JSON object. To access a specific key:
{{variable.royalty_rates.base_rate}}
See Template Variables for the full syntax reference.

Libraries

Reusable prompt and script components for your automations.

Steps

Use variables as template strings in step configurations.

Automations Overview

An introduction to automations and how they work.