Data Processing Nodes
Data processing nodes help you manipulate, transform, and work with various data types and structures.
Data processing nodes help you manipulate, transform, and work with various data types and structures.
JSON Parse Node
Purpose
Convert JSON-formatted string into a JavaScript object for further processing.
Configuration
- Input: JSON string
- Output: Parsed JavaScript object
Example
{
"input": "{\"name\":\"Alice\",\"age\":30}",
"output": { "name": "Alice", "age": 30 }
}
Use Cases
- Parse API responses
- Transform string data
- Prepare complex data structures
JSON Stringify Node
Purpose
Convert a JavaScript object into a JSON-formatted string.
Configuration
- Input: JavaScript object
- Output: JSON string
Example
{
"input": { "name": "Bob", "scores": [85, 90, 92] },
"output": "{\"name\":\"Bob\",\"scores\":[85,90,92]}"
}
Use Cases
- Prepare data for API requests
- Store complex data as string
- Standardize data format
Transform Data Node
Purpose
Perform complex data transformations using JavaScript-like expressions.
Configuration
- Mapping: Define transformation rules
- Input: Source data object
- Output: Transformed data
Example
// Transform user object
Input: {
"user": {
"firstName": "John",
"lastName": "Doe",
"age": 35
}
}
Transformation: {
"fullName": "{{ user.firstName }} {{ user.lastName }}",
"isAdult": "{{ user.age >= 18 }}"
}
Output: {
"fullName": "John Doe",
"isAdult": true
}
Use Cases
- Rename object keys
- Combine fields
- Apply conditional logic
- Flatten/nest data structures
Set Variable Node
Purpose
Store a value in a workflow-level variable for later use.
Configuration
- Variable Name: Unique identifier
- Value: Any data type to store
Example
{
"variableName": "userEmail",
"value": "[email protected]"
}
Use Cases
- Persist data across workflow steps
- Share data between disconnected nodes
- Create reusable workflow variables
Get Variable Node
Purpose
Retrieve a previously set workflow variable.
Configuration
- Variable Name: Name of stored variable
- Output: Stored value
Example
{
"variableName": "userEmail",
"output": "[email protected]"
}
Use Cases
- Access workflow-level variables
- Retrieve data set in earlier steps
- Create dynamic workflows
Best Practices
- Use type-appropriate parsing
- Handle potential parsing errors
- Keep transformations simple and readable
- Use variables for complex, reusable data
Last updated: 12/2/2025