Help Centre › Building Processes
Import a CSV file into a database table.
Add it to a process
In the process designer, open the Add step tab. Find Import CSV to table under Database › Bulk & Import/Export, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| File path | Yes | Enter the file path, or use a variable such as {folders::desktop::path}\file.txt. |
| Variable | Yes | Name of the variable where the result will be stored Default: imported_rows. |
| Connection name | Yes | Connection name |
| Table name | Yes | The database table name |
| Delimiter | No | The CSV delimiter character Choices: Comma (,), Pipe (|), Semicolon (;), Tabs (\t). Default: ,. |
| Batch size | No | The number of rows to insert per batch Default: 1000. |
| First row contains headers | No | The first row of the CSV contains column headers Default: on. |
What it gives back
{imported_rows}– Number of rows imported
See all Database steps.
Errors
| Error | Description |
|---|---|
| File not found | The specified CSV file does not exist at the given path |
| Table not found | The specified table does not exist in the database |
| Column mismatch | The CSV columns do not match the table columns |
Tips
- Ensure CSV column names match the database table column names exactly
- Use has_header=false for headerless CSV files – columns will be mapped by position
- Use a semicolon delimiter for European-format CSV files