Convert
Parses a JSON string into a structured object, making its fields accessible to downstream nodes via expressions.
Properties
| Property | Required | Description |
|---|---|---|
| Input | Yes | The string to parse as JSON. Supports expressions |
Behaviour
- If the input is a valid JSON string, it is parsed into a JavaScript object and passed downstream.
- If the input is already a structured object (e.g. from a previous node that returned JSON directly), it is passed through unchanged.
- If the input cannot be parsed as JSON, the node fails.
When to use it
The HTTP Request node's ResponseBody output is a raw string. If the API response is JSON, you typically want to parse it before accessing individual fields. Place a Convert node after HTTP Request and pipe ResponseBody into it.
HTTP Request → Convert → If/Else
After Convert, access response fields with:
{{ $nodes['Convert'].field.nestedField }}
Replace Convert with the actual node name.