Add Tabs

google_sheets.add_sheets
ActionFiles & storageconnection required

Reads the existing tab titles, then calls batchUpdate addSheet for the rest.

Create the named tabs in a spreadsheet if they are missing.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Sheets
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
token_uri
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
spreadsheet_id
The id from the sheet URL.
stringYes———
titles
Tab names to ensure, e.g. ["Jan", "Feb"]. A single name is accepted too.
arrayYes—array of string—

Output

One shape.

result

FieldTypeExample
created
Titles that did not exist and were added.
array—
existing
Titles that were already present.
array—
ok
boolean—
{
  "created": [],
  "existing": [],
  "ok": false
}

Notes

  • Idempotent — re-running adds nothing and does not fail.
  • Only creates tabs; it never deletes or renames one.
  • The refresh token must have the spreadsheets scope.

See Add Tabs run in a workflow.

In a technical demo we add the Google Sheets connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.