App Logo
docs.google.com

Sheets: add tab

Add a tab to a Google Spreadsheet, optionally naming it in the same pass. Returns the new tab's gid and final name. Waits for the editor's save before resolving; needs edit rights.

Input

spreadsheetId required

Spreadsheet id or any full docs.google.com spreadsheet URL

name optional

Optional name for the new tab, up to 100 characters and not already used in this spreadsheet. Omit to keep the default ("Sheet N"/"Feuille N").

Output

gid required

gid of the new tab (use with sheets_read_tab / sheets_write_cells)

name required

Final tab name

Start building not clicking