Skip to main content

Transformation

Transforms data using a JMESPath expression, JSONata, JavaScript, or field mapping. The output is the raw result value — there is no wrapper object. {{transformedData}} directly contains the result.

Parameters

ParameterTypeRequiredVariableDescription
codetextYesNoJavaScript or JSONata expression to transform input data. (min 1 chars)
outputVariabletextNoNoOutput variable name containing the transformation result.

Output

Output variable : transformedData

// direct value (no wrapper object)

Example

Extract fields with JMESPath.

Input :

{"name": "Acme Corp", "employees": 150, "revenue": 2500000}

Output :

{"company": "Acme Corp", "size": 150}
Tip

The transformedData variable directly contains the result, not a {data: ...} object. If your expression returns an array, transformedData will be that array.