Skip to main content

Spreadsheet File

Reads the rows of an Excel workbook (.xlsx) so later steps can use them — one item per row — or turns items into a new .xlsx file with one or more sheets, ready to attach to an e-mail or store with the File step.

For CSV files use Parse CSV (to read) or Convert to File (to write).

Parameters​

NameShown forDefaultDescription
Operation (operation)allRead rows from a sheetread, listSheets or write.
Spreadsheet file (file)read, list—The .xlsx file from an earlier step: File, an e-mail attachment ({{ $trigger.attachments[0].file }}), an HTTP Request download, Zip / Unzip…
Sheet (sheet)readfirst sheetThe sheet's name as shown on its tab (Orders), or its position (2).
Cells to read (range)readall cellsPart of the sheet, written as in Excel: A1:D20, B3 (from B3 on), A:D (whole columns), 5:100 (whole rows). Orders!A1:D20 also picks the sheet.
First row has column names (headerRow)readOnOn: the first filled row of the range names the columns, so a row reads as {{ $item.Email }}. Off: columns are named by letter, {{ $item.A }}.
Skip empty rows (skipEmptyRows)readOnOff: blank rows come back as items with every column empty, so items line up with row numbers.
Most rows (maxRows)read10,000Stop with an error if the sheet (or range) has more rows than this, 1–100,000.
Largest file (MB) (maxSizeMb)read, list20Files larger than this are refused, 1–100 MB.
Rows (data)write—The items to write, one row each, e.g. {{ $nodes['Parse CSV'].rows }} or {{ $nodes['Find Rows'].items }}. Each field becomes a column.
Sheet name (sheetName)writeSheet1The first sheet's tab name.
More sheets (moreSheets)write—Optional extra sheets in the same file: each has a Sheet name and its own Rows. Up to 50 sheets.
File name (fileName)writespreadsheet.xlsxThe new file's name; .xlsx is added when missing. Expressions work, e.g. orders-{{ $today }}.xlsx.
Column names in the first row (includeHeaders)writeOnWrite the field names as the first row.
Bold, frozen header row (styleHeader)writeOnBold column names on a light background that stay in view while scrolling.
Write dates as dates (parseDates)writeOnText such as 2026-11-22 or 2026-11-22T14:30:00 becomes a real Excel date, so it sorts and filters as a date. Off: it stays text.

Ports​

PortDescription
main (input)The step(s) it runs after.
outputThe rows (read), the sheets (list) or the new file (write).

Output​

Read rows from a sheet

{
"rows": [
{ "Name": "Ada Lovelace", "Joined": "2026-11-22", "Orders": 3, "Total": 129.5, "Active": true, "Notes": null }
],
"count": 1,
"sheet": "Customers",
"columns": ["Name", "Joined", "Orders", "Total", "Active", "Notes"],
"sheetNames": ["Customers", "Orders"],
"warnings": []
}
  • Every row has the same keys, in column order; empty cells are null.
  • Cells keep their type: numbers are numbers (whole numbers stay whole), yes/no cells are true/false, dates are ISO text (2026-11-22, or 2026-11-22T14:30:00 with a time), times are 14:30:00 and durations such as [h]:mm are 36:15:00. Error cells come back as their text, e.g. #DIV/0!.
  • Formulas give their result as Excel last saved it — the step doesn't recalculate. A formula that was never calculated (some tools write files without results) is empty, and warnings says so.
  • Blank column names get the column letter (C); repeated names get a number (id, id_2).
  • Many rows: when the rows add up to more than about 4 MB, rows is a dataset (the rows kept as a file, with their count, column names and first rows) instead of a list. Loop pages through it without loading it all, and Write a spreadsheet accepts it as Rows — the same as Parse CSV for large files.

List the sheets

{
"sheets": [
{ "name": "Customers", "position": 1, "hidden": false, "range": "A1:F120" },
{ "name": "Lookup", "position": 2, "hidden": true, "range": "A1:B9" }
],
"sheetNames": ["Customers", "Lookup"],
"count": 2
}

range is the used area as saved in the file (empty when the file doesn't say).

Write a spreadsheet

{ "file": { "fileName": "orders.xlsx", "contentType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "…": "…" }, "fileName": "orders.xlsx", "size": 18213, "sheetNames": ["Orders", "Customers"], "count": 240 }

Use {{ $nodes['Spreadsheet File'].file }} as an e-mail attachment or in the File step. count is the number of rows written across all sheets.

  • Columns come from the items' keys, in the order they first appear; an item without a key leaves that cell empty.
  • Numbers, yes/no and dates are written as real Excel values; lists and objects are written as JSON text.
  • Values are always written as values, never as formulas: text starting with = stays text, so data from outside can't run anything in Excel.
  • Items that are plain values (not objects) go in a column named value.
  • Sheet names are made safe for Excel: at most 31 characters, [ ] : * ? / \ replaced with _, repeated names numbered (Orders (2)).

Examples​

Process every row of a spreadsheet sent by e-mail

  1. Email Trigger
  2. Spreadsheet File — Operation Read rows from a sheet, Spreadsheet file {{ $trigger.attachments[0].file }}, Sheet Orders
  3. Loop over {{ $nodes['Spreadsheet File'].rows }} → HTTP Request with {{ $item.Email }}

A weekly report with two sheets

  1. Schedule Trigger
  2. Find Rows on the orders table, and a second Find Rows named Find Customers on the customers table
  3. Spreadsheet File — Operation Write a spreadsheet, Rows {{ $nodes['Find Rows'].items }}, Sheet name Orders, More sheets → Customers with {{ $nodes['Find Customers'].items }}, File name report-{{ $today }}.xlsx
  4. Send Email with the attachment {{ $nodes['Spreadsheet File'].file }}

Limits and safety​

  • Only .xlsx workbooks (and .xltx templates) are read. Macro-enabled workbooks (.xlsm) are refused for safety, as are password-protected files, old .xls files and binary .xlsb workbooks — save the file in Excel as Excel Workbook (.xlsx) without a password and try again.
  • Before opening a file the step checks what it unpacks to: more than 1 GB in total, or a part that expands more than 200 times its packed size, is refused (this is how "zip bombs" work).
  • Reading: up to 100 MB per file (20 MB unless you raise Largest file), 100,000 rows and 1,000,000 filled cells per step. For bigger sheets, read them in parts with Cells to read, e.g. A1:F50000 then A50001:F100000.
  • Writing: up to 50 sheets and 2,000,000 cells per file, plus Excel's own limits (1,048,576 rows and 16,384 columns per sheet, 32,767 characters per cell — a longer value stops the step and names the cell).
  • Files are read and written as streams: only the rows being returned (and the workbook's shared text) are held in memory. A written file up to 1 MB is returned directly; larger ones are kept in temporary storage and returned as a file reference, which every step that takes a file accepts.
  • Charts, pictures, comments, colours and merged cells aren't read; merged cells give their value in the top-left cell.
  • Times written from text with a time zone (2026-11-22T14:30:00Z, …+02:00) are converted to UTC, since Excel dates have no time zone.