Contents

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 with base64 and optional content_type / filename.

Config#

  • delimiter: auto, comma, semicolon, tab, or pipe. 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 as null. 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

FieldTypeRequiredDescription
delimiterenum(auto, comma, semicolon, tab, pipe)NoCSV delimiter
has_headersbooleanNoUse the first row as object keys
trim_cellsbooleanNoTrim whitespace around cell values
empty_as_nullbooleanNoReturn empty cells as null
base_configrecordNoShared 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).