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.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
spreadsheet_id The id from the sheet URL. | string | Yes | — | — | — |
titles Tab names to ensure, e.g. ["Jan", "Feb"]. A single name is accepted too. | array | Yes | — | array of string | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
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.
Related Google Sheets nodes
Templates that use Google Sheets
Solutions with Google Sheets
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.