Update Cells
google_sheets.update
ActionFiles & storageconnection required
Calls Sheets values.update with the connection's OAuth2 credential.
Overwrite a range of cells in a Google Sheet.
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
3 fields, 3 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 | — | — | — |
range Exact range to overwrite, e.g. Sheet1!Q5. | string | Yes | — | — | — |
values Grid of rows to write, e.g. [["sent"]]; a flat list is one row; an object's values become one row in key order. | array | Yes | — | — | — |
Output
One shape.
updated
| Field | Type | Example |
|---|---|---|
updated_range A1 range that was written. | string | — |
updated_rows | number | 1 |
updated_cells | number | — |
{
"updated_cells": 0,
"updated_range": "",
"updated_rows": 1
}Notes
- The refresh token must have the spreadsheets scope.
Related Google Sheets nodes
Templates that use Google Sheets
Solutions with Google Sheets
See Update Cells 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.