Repository navigation
Flow action Format JSON as CSV
Arie J. Godschalk edited this page Nov 15, 2026
·
1 revision
Converts JSON data into comma-separated text and returns a result tag.
| 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. |
| Token | Type | Meaning |
|---|---|---|
result |
string | CSV |
Supply valid JSON and choose CSV or CSV (base64). Array options control nested-array and object-column handling.
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.
In 4.2.3 development source, CSV Base64 reads a result property not populated by conversion. Test that option before relying on it.
Support development - If Better Logic Library is useful to you, you can support its
continued development through GitHub Sponsors,
Patreon,
PayPal, or
bunq.
Thank you!