What it is for
The CSV component is a built-in flooows utility for working with CSV data: convert to and from JSON or Excel, filter, sort, remove duplicates, select columns, merge or split files. It is ideal for cleaning exports before loading them into another app.
CSV has no triggers: use it as an action inside flows started by other events, such as an email attachment, a new SFTP file or a scheduled run.
Set up the connection
- 1No connection or external account is needed.
- 2Click "+" in your flow, search for "CSV" and choose the action you need.
- 3Map the CSV text or file from a previous step and test the step to see the result.
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Read CSV File or Convert CSV to JSON: pass the file or "CSV Text", set the "Delimiter" (comma or semicolon) and "Has Header Row" to get objects keyed by column.
- Filter CSV Rows and Sort CSV Rows work on a "Column" with "Condition" and "Value" or "Direction".
- Remove Duplicate Rows uses "Compare Columns" to decide which rows count as equal.
- Create CSV File builds a file from "Rows"; enable "Excel-Friendly Encoding" if it will be opened in Excel.
- Split CSV breaks data into chunks with "Rows per Chunk", handy for batch processing.
Tips
- •Files exported with European locale settings often use semicolons.
- •Enable "Protect Against Spreadsheet Formulas" when the CSV includes third-party input.
Actions (12)
Operations available as flow steps. Expand each one to see its fields.
Convert CSV to JSON3 fields
| Field | Type | Required |
|---|---|---|
| CSV Text | Long text | Yes |
| Has Header Row | Yes / No | No |
| Delimiter | Fixed list | Yes |
Convert JSON to CSV2 fields
| Field | Type | Required |
|---|---|---|
| JSON Array | JSON | Yes |
| Delimiter | Fixed list | Yes |
Convert Excel to CSV3 fields
| Field | Type | Required |
|---|---|---|
| Excel File | File | Yes |
| Sheet Name | Text | No |
| Delimiter | Fixed list | Yes |
Read CSV File4 fields
| Field | Type | Required |
|---|---|---|
| CSV File | File | Yes |
| Has Header Row | Yes / No | No |
| Delimiter | Fixed list | No |
| Trim Spaces | Yes / No | No |
Create CSV File7 fields
| Field | Type | Required |
|---|---|---|
| Rows | JSON | Yes |
| File Name | Text | No |
| Delimiter | Fixed list | No |
| Include Header Row | Yes / No | No |
| Columns | List of values | No |
| Excel-Friendly Encoding | Yes / No | No |
| Protect Against Spreadsheet Formulas | Yes / No | No |
Convert CSV to Excel6 fields
| Field | Type | Required |
|---|---|---|
| CSV Text | Long text | Yes |
| Delimiter | Fixed list | No |
| Has Header Row | Yes / No | No |
| Sheet Name | Text | No |
| File Name | Text | No |
| Store Numbers as Numbers | Yes / No | No |
Filter CSV Rows6 fields
| Field | Type | Required |
|---|---|---|
| CSV Text | Long text | Yes |
| Delimiter | Fixed list | No |
| Column | Text | Yes |
| Condition | Fixed list | Yes |
| Value | Text | No |
| Case Sensitive | Yes / No | No |
Sort CSV Rows5 fields
| Field | Type | Required |
|---|---|---|
| CSV Text | Long text | Yes |
| Delimiter | Fixed list | No |
| Column | Text | Yes |
| Direction | Fixed list | No |
| Compare As | Fixed list | No |
Remove Duplicate Rows6 fields
| Field | Type | Required |
|---|---|---|
| CSV Text | Long text | Yes |
| Delimiter | Fixed list | No |
| Compare Columns | List of values | No |
| Keep | Fixed list | No |
| Case Sensitive | Yes / No | No |
| Ignore Surrounding Spaces | Yes / No | No |
Select Columns4 fields
| Field | Type | Required |
|---|---|---|
| CSV Text | Long text | Yes |
| Delimiter | Fixed list | No |
| Columns | List of values | Yes |
| Mode | Fixed list | No |
Merge CSV Files2 fields
| Field | Type | Required |
|---|---|---|
| CSV Texts | List of values | Yes |
| Delimiter | Fixed list | No |
Split CSV4 fields
| Field | Type | Required |
|---|---|---|
| CSV Text | Long text | Yes |
| Delimiter | Fixed list | No |
| Rows per Chunk | Number | Yes |
| Repeat Header Row | Yes / No | No |
Common errors
All columns end up in one
The delimiter is wrong; change "Delimiter".
Garbled accented characters
The file is not UTF-8; use "Excel-Friendly Encoding" when creating, or convert it first.
Column not found
Make sure the name matches the header exactly, including spaces.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps