Skip to content

CSV

CSV CSV is a delimited text file format that uses a comma to separate values. The CSV component gives you the ability to parse and generate CSV files from JavaScript Arrays. You can also specify a custom delimiter character when building and parsing CSV files.

Actions

Generate CSV From Array {#generatefromobject}

Generates CSV data from an array of objects

Input Comments Default
Input Array This should be an array of un-nested objects [
{
"Column 1": "foo",
"Column 2": "bar"
},
{
"Column 1": "abc",
"Column 2": "def"
}
]
Delimiter Provide a string value containing the character the file is delimited on. ,
Include Header? true

Generate (Deprecated) {#generate}

Generates a CSV file from an array of objects

Input Comments Default
Data For each list item, provide a list of strings that represent a row in the file.
Delimiter Provide a string value containing the character the file is delimited on. ,

Parse {#parse}

Parse CSV data into an array of rows

Input Comments Default
CSV Data Provide a string containing one or more rows of comma-seperated data
Delimiter Provide a string value containing the character the file is delimited on. ,
Ignore Headers When true, the first row of the CSV file will be skipped in the output data. false