Google Sheets: List Worksheets logo

Catalog action Integrations pipedream:google_sheets

List all worksheet tabs in a Google Sheets spreadsheet. Returns each sheet's numeric ID, title, and index. Provide the full Google Sheets URL (spreadsheet ID is extracted automatically). Use this to discover available sheets before other Google Sheets actions.

At a Glance

FieldValue
Action IDgoogle-sheets-list-worksheets
CategoryIntegrations
Connectorpipedream:google_sheets
Requires gasNo
Funds movementNone declared
Tagspipedream, integration, oauth, google-sheets, spreadsheet, read, data

Payload Schema

FieldTypeRequiredDescription
urlstringYesPaste the full Google Sheets URL for the spreadsheet.

Result Schema

FieldTypeRequiredDescription
successbooleanYesWhether the worksheets were listed successfully
dataobjectNoGoogle Sheets API response data
exportsobjectNoExported values from the action

Examples

json
{ "type": "google-sheets-list-worksheets", "payload": { "url": "https://docs.google.com/spreadsheets/d/your-spreadsheet-id/edit#gid=0" }, "children": [], "connector": { "type": "pipedream:google_sheets", "id": "conn_pipedream_google_sheets" }}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.

Ask a question... ⌘I