CSV Batch Streamer icon

CSV Batch Streamer

Process CSV files by batches of rows

CSV Batch Streamer

AI-generated

Summary

Stream rows from a local CSV file in batches, emitting each batch separately on the Loop output, until all rows are processed.

Inputs

  • File Path (required) — Path to the local CSV file to read.
  • Batch Size — Number of rows to include in each emitted batch.
  • Processing Delay — Optional delay in milliseconds before processing the next batch.
  • CSV Options — Options for parsing the CSV including delimiter character, header presence, and whether to skip empty lines.

Output shape

Two outputs: 'Done' emits one item with JSON { done: true } when all rows have been processed; 'Loop' outputs each batch of rows as an array of JSON objects (one per row).

The node maintains a stream across executions, emitting batches of rows on the Loop output until the file is fully read, then emits a single Done signal. The Processing Delay applies before each batch after the first.

Links

Discussion