Triggers & Inputs

Spreadsheet Input Nodes Reference

Technical reference for `excel` and `googleSheets`, including read/write behavior, preview data, and structured output fields.

Updated 3 min read

Overview

excel and googleSheets are the main structured-data entry points in workflows. They typically output arrays of row objects, which makes them the best source nodes for field mapping and variable expressions.

Configuration / Settings

NodeSettingTypeRequiredDetails
exceloperationread, write, transform, merge, splitNoThe sidebar currently exposes read and write; the executor supports more operations.
excelsheetNamestringNoOptional worksheet selector.
googleSheetsconnectionIdstringYesRequired for API access.
googleSheetsoperationread, write, append, clearNoThe panel exposes read, write, and append.
googleSheetsspreadsheetIdstringYesUsually selected from the Drive picker.
googleSheetsrange / sheetNamestringNoSupports values like Sheet1!A1:Z100.

Inputs Expected

  • excel read operations consume an uploaded spreadsheet file or cached fileIds.
  • excel write operations expect an array of objects or rows.
  • googleSheets reads do not need upstream input.
  • googleSheets writes/appends expect an array. Arrays of objects are converted into a header row plus values.

Variables Exported / Outputs

NodeOutput shapeExample expressions
excel readArray<Record<string, any>>{{excel_node.customer_name}}, {{excel_node.invoice_total}}
googleSheets readArray<Record<string, string>>{{sheets_node.email}}, {{sheets_node.status}}
excel writeBlobUsually consumed by download or cloud upload nodes.
googleSheets write/appendoriginal array inputThe node passes the written records forward.

Important implementation detail:

  • resolveVariables defaults array field access to the first row unless the workflow is inside a loop and context.inputData contains the current item.

Common Use Cases

  • Read a spreadsheet, loop over its rows, and fill a PDF or DOCX template.
  • Append processed metadata into a Google Sheet after a conversion step.
  • Split an Excel workbook by a column value and archive the resulting files.

Edge Cases

  • googleSheets is server-only. Client-side execution returns a failed status.
  • Native Google Sheets and Drive-hosted Excel files both work through the picker, but preview loading can fail if the selected item is not actually a spreadsheet.
  • excel write/merge/split output types differ from read output, so downstream nodes must match the chosen operation.