Templating language
Use {{ }} templates to read context values in the configuration of Process steps and in Trigger conditions. A field containing only one template preserves the value's type. Templates embedded in text produce a string.
Template syntax
Use {{ }} templates in the step fields that accept them. Each step reference marks these fields as templatable.
String interpolation
A template surrounded by text produces a string:
Template with text
Objects and arrays embedded in text are serialized as JSON. Missing values and null become empty text.
Typed values
When the entire field is a single template, its value keeps its original type:
Single template
The legacy << >> syntax is no longer evaluated. It remains literal text, so replace it with supported {{ }} templates.
Accessing context data
Use dot notation, array indexes, or quoted bracket keys:
Path syntax
Helpers
Chain helpers with |. Helpers with arguments use parentheses:
Helper chain
Common helpers include:
| Helper | Effect |
|---|---|
upper, lower | Convert text to upper or lower case |
capitalize | Uppercase the first letter and lowercase the rest |
trim | Remove leading and trailing whitespace |
get('path') | Read a nested path on the current value |
find('field', value) | Find the first matching array item |
where('field', value) | Keep array items whose field strictly equals the value |
pluck('path') | Read a field from every array item |
join(', ') | Join array values into text |
count | Count array items or string length |
default(value) | Replace only null or missing values; preserve false, 0, and empty strings |
lookup(table, fallback) | Look up the current value in an object |
number, integer, boolean | Convert values to the requested type |
date('yyyy-MM-dd') | Parse and format a supported date value |
json(2) | Serialize a value as JSON text |
Helpers such as trim and upper apply to each item when their input is an array. Collection helpers such as join, count, and where operate on the whole array.
Examples
String interpolation with helpers
Interpolation with helpers
Collection processing
Collection processing
Conditional text
Conditional text
Nested properties with a fallback
Fallback value
Templates do not evaluate JavaScript operators, ternaries, arrow functions, or method calls such as items.map(...). Use the supported helpers for transformations and a Rule step for comparisons and branching. Supply calculated values in context when a transformation has no supported helper.
Security
Expressions are parsed as paths and helper pipelines, with no arbitrary JavaScript evaluation. Path access to constructor, __proto__, and prototype returns undefined. Rendering a template does not change the context.
Error handling
| Case | Result |
|---|---|
| Missing property | A sole template returns undefined; an embedded template becomes empty text. Use default(...) for a fallback. |
Object field renders as undefined | The field is omitted from the processed object. |
| Invalid syntax or unknown helper | Rendering fails the step, and the Run fails with TEMPLATE_ERROR. A retry does not help: fix the template. |
| Invalid non-empty input to a conversion helper | Rendering fails the step with TEMPLATE_ERROR. default(...) handles missing values, not conversion failures. |
The Run's errorMessage says what went wrong without quoting the value. For a Process of your Organization or Project, it also names the field and the expression:
errorMessage of a template error
See Why a Run failed.