Skip to main content
Template expressions allow you to reference dynamic values in your flow configuration using the {{path.to.value}} syntax.

Basic Syntax

Accessing Context Data

Request Data

Secrets and Environment Variables

Access secrets stored in your project using the env namespace. These are sensitive values like API keys, tokens, and credentials that you’ve added via the Secrets API.
Secrets are:
  • Encrypted at rest
  • Never logged in execution history
  • Isolated per project
See Secrets for how to create and manage secrets.

Node Outputs

Access output from previously executed nodes:
Examples:

HTTP Node Output

Loop Context

Inside loop nodes:

Error Context

Inside try/catch blocks:

Using Pipes

Transform values inline using pipes:
Examples:
See Pipes Reference for all available pipes.

Expressions in Configuration

In Strings

In Objects

In Arrays

Whole Value Replacement

When a template is the entire value, it preserves the original type:
If fetch_data.output.body is an object, data will be that object.

Arithmetic Expressions

In transform nodes, simple arithmetic is evaluated:
Supported operators: +, -, *, /

Condition Expressions

In condition and switch nodes:

Operators

Special Variables

Nested Path Access

Access deeply nested values:

Default Values

Use the default pipe for fallback values:

Type Coercion

Templates automatically handle type coercion when needed:
  • String templates return strings
  • Whole-value templates preserve original types
  • Comparison expressions return booleans
  • Arithmetic expressions return numbers

Examples

Building a URL

Dynamic Headers

Computed Response

Conditional Logic Data