Skip to content

Flow action Format JSON as CSV

Arie J. Godschalk edited this page Nov 15, 2026 · 1 revision

Format JSON as CSV

Home · Flows · Actions

Purpose

Converts JSON data into comma-separated text and returns a result tag.

Arguments

Argument What to enter
json (JSON) Valid JSON; an array of records is a useful shape for tables.
returnType (CSV) Output format; Base64 is encoding, not encryption. Choices: CSV, CSV (base64).
unwindArrays (Unwind Arrays) Controls whether nested arrays are unfolded in CSV.
expandArrayObjects (Expand Array Objects) Expands objects in arrays into separate CSV columns.

Outputs

Token Type Meaning
result string CSV

How it works

Supply valid JSON and choose CSV or CSV (base64). Array options control nested-array and object-column handling.

Example

Prerequisite: Install Better Logic Library and create the Flow described below. Enter [{"room":"Kitchen","temperature":21.4}], choose CSV, and connect the result to a text or file-handling action.

Limitations and tips

In 4.2.3 development source, CSV Base64 reads a result property not populated by conversion. Test that option before relying on it.

Related guides

Clone this wiki locally