Write data table
Write a data table to a sheet from a start cell, optionally clearing the sheet first so no old rows remain.
Command in the Google Workspace toolkit · id ooa.google/sheets_write_data_table · 8 inputs (3 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Access token | Credential | Yes | Google OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Spreadsheet ID | String | Yes | The spreadsheet: its id, its full link (https://docs.google.com/spreadsheets/d/...), or its exact name in Drive (a name made only of letters, digits, - and _ is read as an id; use the link for such names). | |
| Sheet | String | No | Sheet (tab) name; the first sheet when empty. | |
| Start cell | String | No | A1 | Top-left cell of the data. |
| Table | Table | Yes | Data to write. | |
| Include header | Boolean | No | true | Write column names as the first row. |
| Clear sheet first | Boolean | No | false | Remove all values on the sheet before writing. |
| Endpoint address | String | No | Replaces https://*.googleapis.com for testing or a proxy; leave empty normally. |
Outputs
| Output | Type | What it is |
|---|---|---|
| updated_range | String | Range that received the data. |
| updated_cells | Number | Cells written. |