Docs
Sign in

Parse

Parse turns text in a known format into structured data your workflow can read field by field.

Screenshot to add: The Parse settings panel with the Format selector and Output key.

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

FieldWhat it doesNotes
FormatThe format of the textJSON, XML, CSV, YAML or TOML. Default JSON
Output keyWhere the parsed data is savedIf 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.