CSV Reader
Reads a CSV file from a given file path or raw string content and emits rows for processing.
Pure Function
No
Execute Inputs
Execution
INPUTExecution Input.
Execute Outputs
Process Row
OUTPUTFires for each row with parsed data.
Loops
Complete
OUTPUTFires when the entire CSV is successfully processed.
Data Inputs
File Path
INPUTPath to a CSV file on disk.
Delimiter
INPUTThe character separating values.
Has Header
INPUTWhether the first row is treated as column headers.
Skip Lines
INPUTNumber of lines to skip before reading.
Encoding
INPUTSpecifies the character encoding used to read the file. Set to 'auto' to attempt to automatically detect the encoding, or provide a specific encoding such as UTF-8, UTF-16BE, UTF-16LE, UTF-16, Windows-1252, or ISO-8859-1 for example.
Data Outputs
Row Data
OUTPUTstring map
A dictionary mapping column names to row values.
Multiple
Row Number
OUTPUTinteger
The current row number in the CSV.
Multiple
Total Rows
OUTPUTinteger
Total number of rows processed.
Multiple
Column Names
OUTPUTstring array
List of column names.
Multiple
Settings
Normalize Headers
BOOLEANIf true, headers will be normalized to lower snake case and remove non ASCII characters.
Default: false
Skip Empty Lines
BOOLEANWhether to skip empty lines.
Default: true
Trim Whitespace
BOOLEANWhether to trim whitespace from values.
Default: true
Debug
STRINGBreak on node when executing.
Default: No
Options:
NoBeforeInputsBeforeProcessingAfterProcessing