Skip to main content
Expression nodes transform data using the ZEN expression language. Use them to calculate values, reshape data, and prepare outputs.

Creating an expression node

  1. Drag an Expression node onto the canvas
  2. Connect it to your data flow
  3. Click Edit Expression to open the editor
  4. Define output fields and their expressions

Expression structure

Each expression node produces an output object. You define fields and the expressions that calculate them:

Accessing data

Reference input data using dot notation:

Referencing previous nodes

Use $nodes to access output from any upstream node by its name:
See Useful patterns for more examples.

Operators

Arithmetic

Comparison

Logical

Ternary (conditional)

Null handling

Range checks

Built-in functions

Math

String

Array

The # symbol represents each element when iterating over arrays.

Date

Common patterns

Calculate totals

Categorize values

Work with dates