transform node reshapes data by creating a new object with computed fields. Use it to restructure API responses, compute derived values, or prepare data for the response.
Configuration
Config Fields
| Field | Type | Required | Description |
|---|---|---|---|
output | object | Yes | Object defining the transformed structure |
Output
The node outputs the transformed object:{{transform_node_id.output.field}}.
Features
Template Resolution
All string values are resolved as templates:Nested Objects
Create nested structures:Arrays
Create arrays with transformed data:Arithmetic Expressions
Perform calculations:+, -, *, /
Pipe Transformations
Apply pipes to transform values:Examples
Reshape API Response
Compute Statistics
Build Dashboard Data
Prepare Request Body
Combine Multiple Sources
Array Transformation
Conditional Values
Use thedefault pipe for fallback values:
vs Set Node
| Transform | Set |
|---|---|
| Creates multiple output fields | Stores a single value |
| Complex data reshaping | Simple key-value storage |
output object config | key + value config |
| Ideal for building responses | Ideal for storing intermediate values |
Accessing Transform Output
Transform node with id “build_user”:Related
- Set Node - Store single values
- Pipes - Transform data inline
- Response Node - Send transformed data