IronFlowDocs

csv_stringify

Serialize structured JSON data from context into CSV text.

Parameters

source_keystringrequired
Context key holding the data to serialize
output_keystringrequired
Context key where CSV text is stored
delimiterstringdefault ,
CSV delimiter character (one char, or \\t for tab)
quote_charstringdefault "
Quote character for CSV values
quote_allbooldefault false
Always quote values
include_headersbooldefault true
Include header row for arrays of objects

Input Shapes

  • object: serialized as one-row CSV with object keys as columns
  • array of objects: serialized as a table (header row optional)
  • array of arrays: serialized as rows (header row optional)
  • array of scalars: serialized as single-column rows (header optional)

Context Output

  • {output_key} — a CSV string

Example

flow:step("to_csv", nodes.csv_stringify({
    source_key = "users",
    output_key = "users_csv",
    include_headers = true,
    delimiter = ","
}))

IronFlow documentation

Find the next step

Type a keyword to search the documentation.

to move · Enter to open · Esc to close