Type identifier:
file:xlsx:readCategory: File Operations
The File - XLSX Read node reads spreadsheet files (XLSX, CSV, TSV) with configurable parsing options and extracts data as an array of records. Each row becomes an object matching the configured Schema, with columns mapped to properties.
Handle | Type | Description |
|---|---|---|
|
| The spreadsheet file to read. |
|
| (Dynamic) Whether to skip empty lines. |
|
| (Dynamic, XLSX only) Name of the sheet to read. |
|
| (Dynamic, XLSX only) Cell range to read (for example, "A1:D10"). |
|
| (Dynamic, XLSX only) Whether to skip hidden rows. |
|
| (Dynamic, CSV/TSV only) Whether first row is header. |
|
| (Dynamic, CSV only) Field delimiter character. |
Note: Dynamic input handles only appear when the corresponding option is set to dynamic mode.
Handle | Type | Description |
|---|---|---|
|
| Array of records matching the configured Schema. |
|
| (XLSX only) Name of the sheet that was read. |
Option | Type | Default | Description |
|---|---|---|---|
File Format |
|
| Format of the input file. |
Skip Empty Lines |
|
| Skip rows where all cells are empty. |
Date Format |
| - | Format string for parsing date values. |
Schema | Schema config | - | Schema defining the structure of each row. |
Option | Type | Default | Description |
|---|---|---|---|
Sheet Name |
| - | Name of the sheet to read (first sheet if omitted). |
Range |
| - | Cell range to read (for example, "A1:D10", entire sheet if omitted). |
Skip Hidden |
|
| Skip rows hidden in the spreadsheet. |
Option | Type | Default | Description |
|---|---|---|---|
Header |
|
| Treat first row as column headers. |
Delimiter |
|
| (CSV only) Field delimiter character. |
Detects format (XLSX, CSV, or TSV) and applies format-specific parsing:
Options can be configured as:
Date values in spreadsheets are parsed according to the configured date format or Excel's internal date system for XLSX files.
Configuration:
Schema:
{
type: "object",
properties: {
name: { type: "string" },
email: { type: "string" },
created: { type: "date" }
}
}Output (data):
[
{ "name": "Alice", "email": "alice@example.com", "created": "2024-01-15" },
{ "name": "Bob", "email": "bob@example.com", "created": "2024-01-16" }
]Configuration:
Use case: Import European-style CSV files that use semicolons as delimiters.
Configuration:
Use case: Extract a specific table within a larger spreadsheet, ignoring hidden rows.