Expression and code editor fields are the inline formula and scripting surfaces in a node's properties panel — use them to combine values, compute expressions, and build structured payloads without leaving the step or adding a separate transformation node.
Overview
Expression and code editor fields are larger input areas that accept formulas, code expressions, JSON, or scripts — with support for data pill insertion. Use them when a plain typed value or a single data pill is not enough: to combine fields, compute a value, format a number or date, or build a structured JSON body. These fields let you transform and compute data inline, without leaving the node configuration panel or adding a separate transformation node.


Accessing the Expression Editor
Select a node in the automation builder to open its inputs in the properties panel. When a field provides an expression or code editor, click the field to open the larger editing surface. Use this editor when a plain value is not enough — for example, to combine fields, compute or format a value, or build a structured JSON payload. Expression and code editor fields support expressions, JSON, or scripts, and support inserting data pills where live values are needed.
Most input fields accept a data pill from an earlier step or the trigger. Plain-text and text-area fields generally let you type a value and insert a pill inline; some fields are fixed-value only and are identified by their help text.
Expression Syntax
In a step's input field you can type a fixed value, insert a data pill, or write a formula. A data pill appears in the field as a reference in double curly braces, and the step replaces it with the live value at run time.
You enter | What happens |
|---|---|
A data pill from the picker | The field takes the value of an earlier step's output or the trigger's data at run time. |
Text with data pills, such as | The pills are replaced with their values and the result is used as text. |
A formula that starts with | The field is evaluated as a spreadsheet-style formula. This example returns 3.1. |
An expression in double curly braces, such as | The expression is evaluated, so the field gets a real list instead of a piece of text. |
When you type = at the start of a field, the editor suggests matching formulas, with an Example and an About section for each. Press Tab or Enter to accept a suggestion and use the arrow keys to move through the list.
Using Data Pills in Expressions
Click into the field and insert the pill from the picker instead of typing its path by hand.
Inside a formula, insert pills where the formula needs live values, for example as the first argument of ROUND.
Check that each pill holds the type the formula expects. An empty value or text where a number is expected makes the run fail with "Failed to evaluate formula"; open the run details to see the values the pills resolved to.
Expressions in Unify Applications use a different, JavaScript-based binding syntax. See Expression Syntax in the Applications docs.
Notes
To make the most of expression and code editor fields:
Combine logic in a single expression rather than adding separate transformation nodes where practical, to keep the canvas simpler.
For complex multi-step transformations, prefer the Code by UnifyApps node — expressions are best suited to single-expression work.
Use the field's pill picker to insert data pills rather than typing paths by hand, to avoid mistakes that only surface at run time.