Expressions
Expressions use ${ ... } syntax with jq-style paths to access and transform data.
Basics
Section titled “Basics”config: name: "${ .input.name }" # access input field count: "${ .items | length }" # pipe to jq function upper: "${ .name | ascii_upcase }"Context paths
Section titled “Context paths”| Path | Description |
|---|---|
. | Current workflow context (root) |
.field | Access a field |
.nested.field | Nested access |
.array[0] | Array index |
| `.items | length` |
In filters
Section titled “In filters”config: filter: "org_id = '${ .org_id }' AND status = 'active'"In step fields
Section titled “In step fields”- name: dynamic type: call:http config: method: POST endpoint: uri: "https://api.example.com/${ .entity }/${ .id }" body: updated_at: "${ now() }"export.as
Section titled “export.as”Controls how step output merges into the workflow context:
export.as: "." # merge all output fields into rootexport.as: ".result" # store output under .resultexport.as: "{count: .total}" # transform and rename