PROCESIO
OverviewPlatform ActionsIntegrations & DemosMarketplaceCustom ActionsDeveloper’s Guide

Export To CSV

Exports a list of values or objects to a .csv file, with your delimiter, header and column order.

Export To CSV turns a list into a .csv file: one row per item, one column per field. Use it to hand data to Excel, to another system or to a user as a download.

Add the action

In the Process Designer toolbox, open Excel and pick Export To CSV (or type Export To CSV in the search box).

The Export To CSV action properties: Object to export, Column delimiter, Export header, File name, Column order and Output file

Inputs and outputs

FieldDirectionTypeRequiredWhat to put / what you get
Object to exportInputList of Object (JSON), list of a data model, or list of simple valuesYesThe rows to export.
Column delimiterInputTextYesThe character between columns. Default ,. Use ;, |, or type \t for a TAB.
Export headerInputBoolean (true/false)NoTicked by default: the first row holds the column names.
File nameInputTextYesThe file name. .csv is added if you leave it out.
Column orderInputText (one column name per line)NoThe columns to put first, in this order. The other columns follow in their original order.
Output fileOutputFileYesThe .csv file.

Example

Object to export:

[
  { "id": 1, "name": "Ana", "address": { "city": "Cluj" }, "joined": "2024-01-05" },
  { "id": 2, "name": "Bob, Jr.", "address": { "city": "Iasi" }, "joined": "2024-02-10" }
]
SettingsContent of Output file
Delimiter ,, header on, File name peoplepeople.csv: id,name,address.city,joined / 1,Ana,Cluj,2024-01-05 / 2,"Bob, Jr.",Iasi,2024-02-10
Delimiter ;, header onid;name;address.city;joined / 1;Ana;Cluj;2024-01-05 / 2;Bob, Jr.;Iasi;2024-02-10
Delimiter \t, header off, Column order name then idAna⇥1⇥Cluj⇥2024-01-05 / Bob, Jr.⇥2⇥Iasi⇥2024-02-10 (⇥ is a TAB)
Object to export ["red","green"]Column / red / green
Object to export []The step fails: "Input list is empty. Please add items to it."

Good to know

  • Nested objects are flattened: the field city inside address becomes the column address.city.
  • The header comes from the first item. Give every item the same fields; fields that only later items have do not get a header.
  • A list of simple values (texts, numbers) gives a single column named Column.
  • A value that contains the delimiter, a quote or a line break is wrapped in double quotes.
  • The file is UTF-8 with a byte order mark (BOM), so Excel shows diacritics correctly, and rows end with Windows line breaks (CRLF).
  • Column order names must match the column names exactly, including address.city for a nested field. Names that do not exist are ignored.
  • A generated file may be up to 1 GB. Above that the step fails with "File size exceeds the allowed limit for file …".

Exporting a large query result? This action needs the whole list in the process first, which is what limits how big a report it can build. When the rows come from a database and all you do is export them, Execute Query to File writes them straight into the file instead, and can also compress the CSV into a .zip for very large reports.

On this page