Data Transformation
Wire Flow data transformation tasks — JSONata Transform, JS Executor, and XSLT Transform — for reshaping and converting data within a workflow.
Last updated
Wire Flow data transformation tasks — JSONata Transform, JS Executor, and XSLT Transform — for reshaping and converting data within a workflow.
Data transformation tasks reshape, query, and convert data as it flows through a workflow.
Transforms JSON data using JSONata, a powerful expression language for querying and reshaping JSON.

Expression
The transformation to apply to the incoming data
Edit
Opens a full editor with live preview
AI
Generate an expression from a plain-English description and example input/output
The incoming data is available as $states.input. Example — combine two fields and sum an array:
Runs custom JavaScript logic in a sandboxed environment. Use this when JSONata is insufficient — for example, complex string manipulation, date calculations, or multi-step logic.

The sandbox is fully isolated: no network access, no filesystem writes, no environment variables. It can only transform the data you pass in.
Accepts XML input, applies an XSLT stylesheet, and produces XML output. Use this for XML-to-XML transformations where the structure needs to change between systems.

Last updated
{
"fullName": $states.input.firstName & " " & $states.input.lastName,
"total": $sum($states.input.items.price)
}