Data: Flatten JSON

Flatten a nested JSON object into dot-notation keys.

Help Centre › Functions & Formulas

Flatten a nested JSON object into dot-notation keys.

Add it to a process

In the process designer, open the Add step tab. Find Flatten JSON under Data › JSON, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
JSON dataYesThe data variable or JSON string to process
VariableYesVariable name to store the result Default: data.
SeparatorNoThe delimiter to split or join on Default: ..

What it gives back

  • {data} – Flattened JSON

See all Data steps.

Errors

ErrorDescription
Invalid JSONThe data is not valid JSON

Tips

  • Useful for transforming nested API responses into flat rows for spreadsheets or databases
  • Change the separator to use underscores or other characters if dots conflict with your data

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.