Variable Steps

Store a value or look up a record once in an Automation, then reuse it in later steps.

Use a Variable step to store a value or look up a record once. Later steps can reuse the result without looking it up again. This page shows you how to create, update, and reuse variables.

Choose how to assign a value

In the Automation editor, a new Variable step starts in Create Variable(s) mode with no declarations.

Mode

What it does

Create Variable(s)

Declares new variables. Give each one a name, a type, and a value.

Update Variable(s)

Assigns a new value to a variable you select from an earlier Create Variable(s) step.

If you see Missing Referenced Variable, the Automation couldn't find the original declaration when the update ran. This can happen if you delete the declaration. Recreating it won't reconnect its old references.

Choose a variable type

What you want to store

Types

A value

Text (default), Category, Number, Boolean, Date, JSON

A reference to an existing record

Idea Collection, Goal, Phase, Status, User, Idea, Comment

Every type except Date has a List choice for storing multiple values.

Look up a record

For a single-record lookup, the Variable step looks only in the Automation's workspace.

  1. In the Variable step, select the type of record you want to store.
  2. Select Select from List (the default) or Match One via a Filter.
  3. Choose the record from the list or set the filter criteria, depending on the method you selected.

The Automation resolves dynamic filter values when the step runs. If the lookup finds no record, it assigns no new value. That's different from Missing Referenced Variable, which means the declaration itself couldn't be found.

Name or rename a variable

Use a name that tells you what the variable holds. The displayed name can be up to 50 characters long. Renaming a variable keeps its existing references, including any Update Variable(s) steps that target it.

Reuse a value in later steps

A variable's value belongs to the current Automation run, not the workspace. You can use a value starting with the next step, not in the step that creates it. To use it there, insert the stored value in an expression.

Assigning or updating a variable doesn't change the idea or other record it references. To change the record itself, use an Action step.

Common questions

How do I skip a step when my lookup finds nothing?

Add a Condition before the step to check that the lookup returned a value. If the check fails, the remaining steps in that sequence don’t run; see Conditions.

Where can I see what value a variable held during a run?

In Runs, select the run and check the Variable step’s recorded state. Runs that only evaluate variables or conditions may not appear in Runs and Troubleshooting.

How do I use a field from the idea I looked up?

Use a dynamic expression in a later step to reference a field from the idea you looked up. The fields you can reference depend on the earlier steps and where you insert the expression.

How do I run an action for each record in a list?

Pass the record list to a Loop and put the action inside it. The action runs once per record and uses the current record each time; see Loops.

How do I change the status of an idea I looked up?

Add a Change Status action, target the idea you looked up, and set its new status. The idea stays in its current phase unless you move it separately; see Updating an Idea.