Skip to main content
Base Node Google Sheets Create node inspector modal

Parameters

Action
string
default:"create"
required
Choose whether this node creates a new spreadsheet or appends rows to an existing one. Set to create to make a new spreadsheet, or append to write into an existing sheet.
Document Name
string
default:"Untitled Spreadsheet"
required
Title for the new Google Sheets document. This is ignored when Action is set to append.
Sheet Name
string
default:"Sheet1"
required
Sheet tab name to create or append to.
Document ID
string
Existing Google Sheets document ID to use when Action is set to append. This is the long string following /d/ in the spreadsheet URL.
Rows
array[any]
default:"[]"
required
Rows written to the target sheet. Provide either a list of objects (record mode) or a list of row arrays.
Input Uses Records (Dicts)
boolean
default:true
required
Controls how Rows are interpreted. Set to true for a list of objects with matching keys. In create mode, a header row is added automatically. In append mode, only the record values are appended so existing headers are not duplicated. Set to false for a list of row arrays.

Credentials

Google OAuth Credential
Google OAuth Credential
required
Select a Google OAuth Credential with the Google Sheets scopes needed by this node.

Inputs

Input
array[any]
Inputs are ignored; the input port is only for graph connectivity.

Outputs

Output
json
A JSON object describing the target spreadsheet and write result.
FieldDescription
spreadsheet_idGoogle Sheets spreadsheet ID for the created or appended spreadsheet.
spreadsheet_urlURL of the target spreadsheet.
sheet_nameWorksheet name used for the write.
row_count_writtenNumber of rows written. In record mode, this includes the header row only when Action is create.
updated_rangeRange reported by the write operation.