Read Rows
google_sheets.read
ActionFiles & storageconnection required
Calls Sheets values.get; optionally maps rows to objects by header.
Read a range of cells from 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, 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 | — | — | — |
range e.g. Sheet1!A1:D100. | string | Yes | — | — | — |
as_objects Treat the first row as headers. | boolean | No | true | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"as_objects": true
}Output
One shape.
rows
| Field | Type | Example |
|---|---|---|
range The range that was read. | string | — |
values Raw grid of cell values. | array | — |
row_count | number | — |
rows Objects keyed by header (when as_objects). | array | — |
{
"range": "",
"row_count": 0,
"rows": [],
"values": []
}Related Google Sheets nodes
Templates that use Google Sheets
Solutions with Google Sheets
See Read Rows 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.