Viltrum

Documentation

Documentation

Back to website

Build

Search

Search

⌘K

⌘K

Build

Variables and Expressions

Reuse values across workflows and reference data from earlier nodes with the expression syntax.

5 min read

Expressions let any field read data from earlier nodes, workspace variables or simple helper functions. Anything wrapped in double curly braces is evaluated when the workflow runs.

Referencing node data

Use {{ $node.Node_Name.field }} to read a value from a previous node. Spaces in node names become underscores. For example, {{ $node.HTTP_Request.body.items[0].id }} reads the first item ID from an API response.

Workspace variables

Create variables under Variables in the sidebar, then reference them with {{ $vars.NAME }}. Use them for values that change between environments, such as API_BASE_URL or REPORT_CHANNEL.

Helpers

  • {{ $now }} returns the current timestamp in your workspace time zone.

  • {{ $json.field }} reads a field from the current node’s input.

  • {{ $execution.id }} returns the ID of the running execution, which is useful for logging.

Variables are visible to everyone in the workspace. Store secrets in Credentials instead.

Was this page helpful?

Yes

No

Build

Search

⌘K

Build

Variables and Expressions

Reuse values across workflows and reference data from earlier nodes with the expression syntax.

5 min read

Expressions let any field read data from earlier nodes, workspace variables or simple helper functions. Anything wrapped in double curly braces is evaluated when the workflow runs.

Referencing node data

Use {{ $node.Node_Name.field }} to read a value from a previous node. Spaces in node names become underscores. For example, {{ $node.HTTP_Request.body.items[0].id }} reads the first item ID from an API response.

Workspace variables

Create variables under Variables in the sidebar, then reference them with {{ $vars.NAME }}. Use them for values that change between environments, such as API_BASE_URL or REPORT_CHANNEL.

Helpers

  • {{ $now }} returns the current timestamp in your workspace time zone.

  • {{ $json.field }} reads a field from the current node’s input.

  • {{ $execution.id }} returns the ID of the running execution, which is useful for logging.

Variables are visible to everyone in the workspace. Store secrets in Credentials instead.

Was this page helpful?

Yes

No

Create a free website with Framer, the website builder loved by startups, designers and agencies.