Context Variables

Find which values your dynamic expressions can use from automation triggers, earlier steps, and loops.

Dynamic expressions let you reuse values your Automation already has, such as submitted answers or earlier step results. This page shows you where to find those values and what to check when one is missing or empty.

Find values for the current field

In the Automation editor, select an available value in Dynamic Expressions for the step field you're configuring. You don't need to type the variable name.

The list is specific to the current step and field. It can include data from the trigger, outputs and Variables from earlier steps, items from enclosing Loops, and values from the current action.

The Idea Collection and the action's destination form can affect which record fields you see. The field's purpose or the kind of value it accepts can also narrow the list.

Check what the trigger supplies

In Dynamic Expressions, expand Trigger to see the values for the selected event.

Trigger family

Values it can supply

Idea

The Idea and the person who acted. Change events can include old and new Status, Phase, collection, or content values. Content changes can also include changed fields and, for some events, answers. Review events include the Phase and review result.

Form Entry

The Form Entry, its submitted answers, the Phase, and the person who acted. Content changes can include old and new content, answers, and changed fields.

Comment

The Comment and the person who created or deleted it. Creation also supplies the Phase.

Idea Collection

The collection and the person who acted. Depending on the event, it can also supply the end date, new Status, or old and new Section.

Idea Link

The link, both linked Ideas, and the person who created the link.

Like

The Like, the related Comment, Idea, and collection, and the person who liked or unliked it.

User

The User and the person who acted. Mention events also supply the Comment, Idea, and collection.

Invoked Webhook

The request body, query parameters, content type, origin, referrer, and IP address.

Received Email

The sender's name and address, subject, plain-text and HTML bodies, and attachments.

On Demand

No trigger-specific values. Earlier steps can still supply values.

Schedule

No trigger-specific values. Earlier steps can still supply values.

For values about the person who acted, see Current User Variables.

Reference an earlier step

A later step can reference an earlier step's output by its number, such as step_4.output. A named Variable declaration has its own reference under that step, such as step_4.variable_1.

Step numbers are specific to each Automation. Renaming a step or Variable in the editor doesn't change its reference, so existing expressions keep working.

Use the current item in a Loop

  1. In the Loop step's settings, select the list under Items to Loop Over.
  2. In Loop Variable Name, enter a name or keep the default, Current Item.
  3. In a step inside the Loop, open Dynamic Expressions for a field that supports dynamic values. The available values include the item under its loop variable name.
  4. Select Current Item, or the name you entered, to use that list item in the field.

Each time the Loop repeats, the reference points to the item it’s processing. Renaming the Loop variable keeps existing references working, including in nested Loops.

Check whether a value is present

A reference can appear in Dynamic Expressions even when the record it points to is empty. This can happen with linked Ideas, records related to a Like, and records supplied by a mention. A collection's new Section can also be empty when the collection moves to the workspace root.

In a condition, select Is defined to test whether a value is present. You don't need to enter a comparison value.

The condition editor offers Is defined only for references that can be empty. For a required triggering Idea, the editor offers the Idea's properties instead.

Make a missing Idea or form answer available

An Idea appears in Dynamic Expressions only when the current field has access to an Idea record. A form answer needs both its record and the specific form field to be available. For example, Invoked Webhook supplies request data, not an Idea or its form answers.

Add an earlier step that selects or obtains the record so later steps can use it. If the Automation should start from that record, use a trigger that supplies it.

Common questions

How can I see what value an expression used in a past run?

To check what value an expression passed to a step, select the run counter in the Automation editor and choose the run under Runs. For an AI step, you can see what it received and returned in Runs and Troubleshooting.