Menu
Transform
Execute JSONata expression against JSON data to transform, query, and manipulate data
Use it in a workflow
- Add a step and choose the JSONata connector.
- Pick the Transform action.
- Fill in the fields below, then reference the result from later steps as
{{transform.response.data}}.
Fields
Examples
Filter and reshape an array
Keep only orders over $100 and project them to a smaller shape
{
"expression": "orders[price > 100].{item: product.name, total: price * quantity}",
"data": "{\"orders\": [{\"product\": {\"name\": \"Widget\"}, \"price\": 150, \"quantity\": 2}, {\"product\": {\"name\": \"Gadget\"}, \"price\": 50, \"quantity\": 1}]}"
}
Need more? See the JSONata guide for connection setup and behaviour shared by every action.
Was this page helpful?