ActionGoogle SheetsUpdated September 2026

How do I fetch metadata for a Google Sheets spreadsheet?

Short answer: You can get spreadsheet in Google Sheets by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the Google Sheets Get Spreadsheet action to a workflow, map its 2 inputs from any upstream app, and it runs automatically every time the trigger fires. No code, and a free tier to start.

Get Spreadsheet in Google Sheets — start free
Inputs

The fields this action accepts.

Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.

FieldTypeRequiredDescription
Spreadsheet ID
spreadsheet_id
stringRequiredThe ID from the spreadsheet URL (between /d/ and /edit)
Fields
fields
stringOptionalSpecific fields to return (leave empty for all metadata)
Sample request
{
"spreadsheet_id": "e.g. 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms",
"fields": "e.g. spreadsheetId,properties.title,sheets.properties"
}
Returns
{
"sheets": [
{
"properties": {
"index": 0,
"title": "Sheet1",
"sheetId": 0,
"sheetType": "GRID",
"gridProperties": {
"rowCount": 1000,
"columnCount": 26
}
}
},
{
"properties": {
"index": 1,
"title": "Sheet2",
"sheetId": 123,
"sheetType": "GRID",
"gridProperties": {
"rowCount": 1000,
"columnCount": 26
}
}
}
],
"properties": {
"title": "Sales Tracker",
"locale": "en_US",
"defaultFormat": {}
},
"spreadsheetId": "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms",
"spreadsheetUrl": "https://docs.google.com/spreadsheets/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms/edit"
}

Use these fields in downstream nodes for routing, logging, or error handling.

Triggered by

Apps that pair well as the trigger for Get Spreadsheet.

Any of these apps can fire this action as part of a workflow.

FAQ

Questions about Get Spreadsheet.

What does the Get Spreadsheet action do in Google Sheets?
Returns metadata about a Google Sheets spreadsheet including its sheets, properties, and named ranges. Used to validate a spreadsheet exists or to enumerate tabs.
What inputs does Get Spreadsheet require?
Required: Spreadsheet ID. Every input accepts a static value or a variable from any upstream node in your workflow.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if Google Sheets returns an error?
The run history shows the failed step with its input and the error message Google Sheets returned, so you can fix the input and run the workflow again. Automatic retries are built into HTTP steps only, where you can also set your own retry count and delay.
Does Get Spreadsheet support batch operations?
Run Get Spreadsheet inside a loop to process each item in an array. TinyCommand does not throttle calls for you, so for large arrays add a Delay step if you need to stay within Google Sheets's rate limits.
More actions

Other Google Sheets actions.

Get Spreadsheet in Google Sheets — start free