Parse
Parse turns text in a known format into structured data your workflow can read field by field.
Screenshot placeholder
When to use it
Use it when you have text such as a JSON body, an XML message or the content of a CSV file, and you want to use the values inside. In the palette it is described as "Parse JSON/XML/CSV/YAML".
Settings
| Field | What it does | Notes |
|---|---|---|
| Format | The format of the text | JSON, XML, CSV, YAML or TOML. Default JSON |
| Output key | Where the parsed data is saved | If empty, the form shows result |
A new Parse node also stores an input expression and an options value, but the settings panel does not show fields for them. The palette description names four formats, while the Format list also offers TOML.
Inputs and outputs
- Input: one connection at the top.
- Output: one connection at the bottom.
Example
Illustrative. An HTTP Request returns CSV text. A Parse node with Format set to CSV turns it into rows that later nodes can use.
Tips
- Choose the format that matches the text exactly. A mismatch is the most likely cause of a failure.
- For JSON from an API, the HTTP Request node's Extract path may already be enough.