Parse CSV
parse_csv · Nodes · Data
Parses CSV text or file bytes into row objects.
Parse CSV#
Parses CSV text or file bytes into row objects.
Input#
input: CSV text,NodeData::Binary, an object descriptor or{ object_id }, or an object withbase64and optionalcontent_type/filename.
Config#
delimiter:auto,comma,semicolon,tab, orpipe. Default:auto.has_headers: use the first row as object keys. Default:true.trim_cells: trim whitespace around values. Default:true.empty_as_null: emit empty cells asnull. Default:true.
Output#
output.headers: effective column names.output.rows: parsed row objects.output.row_count: number of parsed rows.output.errors: recoverable row parse errors.output.metadata.delimiter: delimiter used.output.metadata.has_headers: whether the first row was treated as headers.
When has_headers = false, columns are named column_1, column_2, etc.
Limits: 10 MiB input, 25,000 rows, 250 columns, 10 second parse timeout.
This node is generic. It does not know bank formats, statement schemas, or accounting rules. Normalize domain-specific rows in a JavaScript node before table upsert or cross-checking.
Inputs
inputRequired
Outputs
output
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
delimiter | enum(auto, comma, semicolon, tab, pipe) | No | CSV delimiter |
has_headers | boolean | No | Use the first row as object keys |
trim_cells | boolean | No | Trim whitespace around cell values |
empty_as_null | boolean | No | Return empty cells as null |
base_config | record | No | Shared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow). |