> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Sheets

> Google Sheets is a cloud-based spreadsheet tool enabling real-time collaboration, data analysis, and integration with other Google Workspace apps

![Google Sheets logo](https://mintcdn.com/composio-preview/o1IUBrrsmtgkhmyf/images/toolkits/googlesheets.svg?fit=max\&auto=format\&n=o1IUBrrsmtgkhmyf\&q=85\&s=07cae19114ad215fcf3c4c28b798133e)

* **Category:** spreadsheets
* **Auth:** OAUTH2
* **Composio-managed OAuth available?** Yes
* **Tools:** 58
* **Triggers:** 16
* **Slug:** `GOOGLESHEETS`
* **Version:** 20261101\_00

## Frequently Asked Questions

> [accordion] How do I set up custom Google OAuth credentials for Google Sheets?
>
> For a step-by-step guide on creating and configuring your own Google OAuth credentials with Composio, see [How to create OAuth2 credentials for Google Apps](https://composio.dev/auth/googleapps).

> [accordion] Why am I seeing "App is blocked" when connecting Google Sheets?
>
> The OAuth client is requesting scopes that Google hasn't verified for that client. This usually happens when you add extra scopes beyond the defaults.
>
> Remove the additional scopes from your auth config, or create your own OAuth app and submit the scopes for verification. See [How to create OAuth2 credentials for Google Apps](https://composio.dev/auth/googleapps).

> [accordion] Why am I getting "Google Sheets API has not been used in project" error?
>
> When using custom OAuth credentials, the Google Sheets API must be enabled in the Google Cloud project that owns those credentials. Enable it in Google Cloud Console under APIs & Services, wait a few minutes, and retry.

> [accordion] Why am I getting "Error 400: invalid\_scope"?
>
> The requested scopes are invalid or incorrectly formatted in the authorization URL. Verify your scope values against the [Google OAuth scopes docs](https://developers.google.com/identity/protocols/oauth2). If you're creating auth configs programmatically, see the [programmatic auth config guide](https://composio-preview.mintlify.site/docs/authentication/programmatic-auth-configs.md).

> [accordion] Why does the OAuth consent screen show "Composio" instead of my app?
>
> By default, the consent screen uses Composio's OAuth app. To show your own app name and logo, create your own OAuth app and set a custom redirect URL. See [White-labeling authentication](https://composio-preview.mintlify.site/docs/authentication/white-labeling-authentication.md#using-your-own-oauth-apps).

> [accordion] Why am I getting 401 errors on tool calls?
>
> The user's access token is no longer valid. Common causes: the user revoked access, changed their password or 2FA, a Workspace admin policy changed, or Google's refresh token limit was exceeded. Re-authenticating the user typically resolves this.

> [accordion] Why am I getting "Quota Exhausted" or "rate limit exhausted"?
>
> Google enforces per-minute and daily request quotas. These errors may also appear as a 429. If you're using Composio's default OAuth app, you share that quota with other users, which can cause limits to be hit faster. Use your own OAuth app credentials to get a dedicated quota, and add exponential backoff and retries to handle transient rate limits.

## Tools

> [accordion] Add Sheet to Existing Spreadsheet
>
> **Slug:** `GOOGLESHEETS_ADD_SHEET`
>
> Add a GRID sheet with rows and columns to an existing spreadsheet. This action does not create chart-only or DATA\_SOURCE sheets. Use properties to configure the GRID sheet's dimensions, tab color, position, visibility, and text direction. Notes: - Sheet names must be unique; use forceUnique=true to auto-append suffix (\_2, \_3) if name exists - For tab colors, use EITHER rgbColor OR themeColor, not both - Avoid 'index' when creating sheets in parallel (causes errors)
>
> #### Input Parameters
>
> **title** `string`
>
> The name for the new sheet tab. Must be unique within the spreadsheet. Example: "Q3 Report", "Sales Data 2025". This is a convenience parameter - alternatively, you can set this via properties.title. Note: sheet\_name is also accepted as an alias for title.
>
> **properties** `object`
>
> Advanced GRID sheet properties such as dimensions, tab color, position, visibility, and text direction. For simple cases, use the title parameter directly.
>
> **force\_unique** `boolean`
>
> When True (default), automatically ensures the sheet name is unique by appending a numeric suffix (e.g., '\_2', '\_3') if the requested name already exists. This makes the action resilient to retries and parallel workflows. When False, the action fails with an error if a sheet with the same name already exists.
>
> **spreadsheet\_id** `string` *required*
>
> REQUIRED. Cannot be empty. The ID of the target spreadsheet where the new sheet will be added. This is the long alphanumeric string in the Google Sheet URL (e.g., '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms'). Use 'Search Spreadsheets' action to find the spreadsheet ID by name if you don't have it.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Aggregate Column Data
>
> **Slug:** `GOOGLESHEETS_AGGREGATE_COLUMN_DATA`
>
> Aggregates data from a column in a Google Sheet, either across all rows or rows matching column-value filters. Supports sum, average, count, minimum, maximum, and percentage.
>
> #### Input Parameters
>
> **operation** `string ("sum" | "average" | "count" | "min" | "max" | "percentage")` *required*
>
> The mathematical operation to perform on the target column values.
>
> **sheet\_name** `string` *required*
>
> The name of the specific sheet within the spreadsheet. Matching is case-insensitive. If no exact match is found, partial matches will be attempted (e.g., 'overview' will match 'Overview 2025').
>
> **search\_value** `string`
>
> The exact value to search for in the search column. Case-sensitive by default. If not provided (or if search\_column is not provided), all rows in the target column will be aggregated without filtering.
>
> **search\_column** `string`
>
> The column to search in for filtering rows. Can be a letter (e.g., 'A', 'B') or column name from header row (e.g., 'Region', 'Department'). If not provided, all rows in the target column will be aggregated without filtering.
>
> **target\_column** `string` *required*
>
> The column to aggregate data from. Can be a letter (e.g., 'C', 'D') or column name from header row (e.g., 'Sales', 'Revenue').
>
> **case\_sensitive** `boolean`
>
> Whether the search should be case-sensitive.
>
> **has\_header\_row** `boolean`
>
> Whether the first row contains column headers. If True, column names can be used for search\_column and target\_column.
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Sheets spreadsheet.
>
> **percentage\_total** `number`
>
> For percentage operation, the total value to calculate percentage against. If not provided, uses sum of all values in target column.
>
> **additional\_filters** `array`
>
> Extra column=value conditions applied with AND logic on top of search\_column/search\_value. Use this to filter on multiple columns simultaneously. Example: \[\{"column": "Region", "value": "APAC"}] combined with search\_column=Product/search\_value=Beacon returns only rows where Product=Beacon AND Region=APAC.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Append Dimension
>
> **Slug:** `GOOGLESHEETS_APPEND_DIMENSION`
>
> Tool to append new rows or columns to a sheet, increasing its size. Use when you need to add empty rows or columns to an existing sheet.
>
> #### Input Parameters
>
> **length** `integer` *required*
>
> The number of rows or columns to append.
>
> **sheet\_id** `integer` *required*
>
> The numeric ID of the sheet (not the sheet name). This is a non-negative integer found in the sheet's URL as the 'gid' parameter (e.g., gid=0) or in the sheet properties. The first sheet in a spreadsheet typically has sheet\_id=0.
>
> **dimension** `string ("ROWS" | "COLUMNS")` *required*
>
> Specifies whether to append rows or columns.
>
> **spreadsheet\_id** `string` *required*
>
> The ID of the spreadsheet.
>
> **response\_ranges** `array`
>
> Limits the ranges of the spreadsheet to include in the response.
>
> **response\_include\_grid\_data** `boolean`
>
> True if grid data should be included in the response (if includeSpreadsheetInResponse is true).
>
> **include\_spreadsheet\_in\_response** `boolean`
>
> True if the updated spreadsheet should be included in the response.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Auto-Resize Rows or Columns
>
> **Slug:** `GOOGLESHEETS_AUTO_RESIZE_DIMENSIONS`
>
> Auto-fit column widths or row heights for a dimension range using batchUpdate.autoResizeDimensions. Use when you need to automatically adjust row heights or column widths to fit content after writing data.
>
> #### Input Parameters
>
> **sheet\_id** `integer`
>
> The numeric ID of the sheet to resize. Either sheet\_id or sheet\_name must be provided. If both are provided, sheet\_name takes precedence and will be resolved to sheet\_id.
>
> **dimension** `string ("ROWS" | "COLUMNS")` *required*
>
> The dimension to auto-resize. Use 'ROWS' to auto-fit row heights or 'COLUMNS' to auto-fit column widths.
>
> **end\_index** `integer` *required*
>
> The zero-based end index of the dimension range to resize (exclusive). Must be greater than start\_index. For example, to resize columns A-C, use start\_index=0 and end\_index=3.
>
> **sheet\_name** `string`
>
> The name of the sheet to resize. Either sheet\_id or sheet\_name must be provided. Using sheet\_name is recommended as it's more intuitive. If both sheet\_id and sheet\_name are provided, sheet\_name takes precedence.
>
> **start\_index** `integer` *required*
>
> The zero-based start index of the dimension range to resize (inclusive). For columns, 0 = column A. For rows, 0 = row 1.
>
> **spreadsheet\_id** `string` *required*
>
> The ID of the spreadsheet containing the sheet to resize.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Batch Clear Values By Data Filter
>
> **Slug:** `GOOGLESHEETS_BATCH_CLEAR_VALUES_BY_DATA_FILTER`
>
> Clears one or more ranges of values from a spreadsheet using data filters. The caller must specify the spreadsheet ID and one or more DataFilters. Ranges matching any of the specified data filters will be cleared. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc..) are kept.
>
> #### Input Parameters
>
> **dataFilters** `array` *required*
>
> The DataFilters used to determine which ranges to clear.
>
> **spreadsheetId** `string` *required*
>
> The ID of the spreadsheet to update.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Batch get spreadsheet
>
> **Slug:** `GOOGLESHEETS_BATCH_GET`
>
> Retrieves values from specified cell ranges in a Google Spreadsheet. If ranges are omitted or empty after filtering blank entries, it retrieves data from the first sheet.
>
> #### Input Parameters
>
> **ranges** `array`
>
> A list of cell ranges in A1 notation from which to retrieve data. If this list is omitted, empty, or contains only empty strings, all data from the first sheet of the spreadsheet will be fetched. Empty strings in the list are automatically filtered out. Supported formats: (1) Bare sheet name like 'Sheet1' to get all data from that sheet, (2) Sheet with range like 'Sheet1!A1:B2', (3) Just cell reference like 'A1:B2' (uses first sheet). For sheet names with spaces or special characters, enclose in single quotes (e.g., "'My Sheet'" or "'My Sheet'!A1:B2"). IMPORTANT: For large sheets, always use bounded ranges with explicit row limits (e.g., 'Sheet1!A1:Z10000' instead of 'Sheet1!A:Z'). Unbounded column ranges like 'A:Z' on sheets with >10,000 rows may cause timeouts or errors. If you need all data from a large sheet, fetch in chunks of 10,000 rows at a time.
>
> **majorDimension** `string ("DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS")`
>
> The major dimension for organizing data in results.
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet from which data will be retrieved. This is the ID found in the spreadsheet URL after /d/. You can provide either the spreadsheet ID directly or a full Google Sheets URL (the ID will be extracted automatically).
>
> **valueRenderOption** `string ("FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA")`
>
> How values should be rendered in the output. FORMATTED\_VALUE: Values are calculated and formatted (default). UNFORMATTED\_VALUE: Values are calculated but not formatted. FORMULA: Values are not calculated; the formula is returned instead.
>
> **dateTimeRenderOption** `string ("SERIAL_NUMBER" | "FORMATTED_STRING")`
>
> How dates and times should be rendered in the output. SERIAL\_NUMBER: Dates are returned as serial numbers (default). FORMATTED\_STRING: Dates returned as formatted strings.
>
> **empty\_strings\_filtered** `boolean`
>
> Indicates whether empty strings were filtered from the response.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Batch update spreadsheet (Deprecated)
>
> **Slug:** `GOOGLESHEETS_BATCH_UPDATE`
>
> Deprecated: Writes values to one range in a Google Sheet, or appends rows when no start cell is given. It may expand the sheet grid; if a recognized default sheet name is not found, it uses the first sheet instead.
>
> #### Input Parameters
>
> **values** `array` *required*
>
> A 2D array of cell values where each inner array represents a row. Values can be strings, numbers, booleans, or None/null for empty cells. Ensure columns are properly aligned across rows.
>
> **sheet\_name** `string` *required*
>
> The name of the specific sheet (tab) within the spreadsheet to update (required, separate from cell reference). Case-insensitive matching is supported (e.g., 'sheet1' will match 'Sheet1'). Note: Default sheet names are locale-dependent (e.g., 'Sheet1' in English, 'Foglio1' in Italian, 'Hoja 1' in Spanish, '시트1' in Korean, 'Feuille 1' in French). If you specify a common default name like 'Sheet1' and it doesn't exist, the action will automatically use the first sheet in the spreadsheet.
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Sheets spreadsheet to be updated. Must be an alphanumeric string (with hyphens and underscores allowed) typically 44 characters long. Can be found in the spreadsheet URL between '/d/' and '/edit'. Example: '[https://docs.google.com/spreadsheets/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/edit](https://docs.google.com/spreadsheets/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/edit)' has ID '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms'.
>
> **value\_input\_option** `string ("RAW" | "USER_ENTERED")`
>
> How input data should be interpreted. 'USER\_ENTERED': Values are parsed as if typed by a user (e.g., strings may become numbers/dates, formulas are calculated). 'RAW': Values are stored exactly as provided without parsing (e.g., '123' stays as string, '=SUM(A1:B1)' is not calculated).
>
> **first\_cell\_location** `string`
>
> The starting cell for the update range, specified as a single cell in A1 notation WITHOUT sheet prefix (e.g., 'A1', 'B2', 'AA931'). The update will extend from this cell to the right and down based on the provided values. Sheet name must be provided separately in the 'sheet\_name' field. If omitted or set to null, values are appended as new rows to the sheet. Note: Use only a single cell reference (e.g., 'AA931'), NOT a range (e.g., 'AA931:AF931') or sheet-prefixed notation (e.g., 'Sheet1!A1').
>
> **include\_values\_in\_response** `boolean`
>
> If set to True, the response will include the updated values in the 'spreadsheet.responses\[].updatedData' field. The updatedData object contains 'range' (A1 notation), 'majorDimension' (ROWS), and 'values' (2D array of the actual cell values after the update).
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Batch Update Values by Data Filter
>
> **Slug:** `GOOGLESHEETS_BATCH_UPDATE_VALUES_BY_DATA_FILTER`
>
> Tool to update values in ranges matching data filters. Use when you need to update specific data in a Google Sheet based on criteria rather than fixed cell ranges.
>
> #### Input Parameters
>
> **data** `array` *required*
>
> The new values to apply to the spreadsheet. If more than one range is matched by the specified DataFilter the specified values are applied to all of those ranges. Can be provided as a JSON string or as a list of DataFilterValueRange objects.
>
> **spreadsheetId** `string` *required*
>
> The ID of the spreadsheet to update.
>
> **valueInputOption** `string ("INPUT_VALUE_OPTION_UNSPECIFIED" | "RAW" | "USER_ENTERED")` *required*
>
> How the input data should be interpreted. RAW: Values are stored exactly as entered, without parsing. USER\_ENTERED: Values are parsed as if typed by a user (numbers stay numbers, strings prefixed with '=' become formulas, etc.). INPUT\_VALUE\_OPTION\_UNSPECIFIED: Default input value option is not specified.
>
> **includeValuesInResponse** `boolean`
>
> Determines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values.
>
> **responseValueRenderOption** `string ("FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA")`
>
> Determines how values in the response should be rendered. The default render option is FORMATTED\_VALUE.
>
> **responseDateTimeRenderOption** `string ("SERIAL_NUMBER" | "FORMATTED_STRING")`
>
> Determines how dates, times, and durations in the response should be rendered. This is ignored if responseValueRenderOption is FORMATTED\_VALUE. The default dateTime render option is SERIAL\_NUMBER.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Clear Basic Filter
>
> **Slug:** `GOOGLESHEETS_CLEAR_BASIC_FILTER`
>
> Tool to clear the basic filter from a sheet. Use when you need to remove an existing basic filter from a specific sheet within a Google Spreadsheet.
>
> #### Input Parameters
>
> **sheet\_id** `integer` *required*
>
> The ID of the sheet on which the basic filter should be cleared.
>
> **spreadsheet\_id** `string` *required*
>
> The ID of the spreadsheet.
>
> **response\_ranges** `array`
>
> Limits the ranges included in the response spreadsheet. Only applicable when include\_spreadsheet\_in\_response is true.
>
> **response\_include\_grid\_data** `boolean`
>
> True if grid data should be returned in the response. Only applicable when include\_spreadsheet\_in\_response is true.
>
> **include\_spreadsheet\_in\_response** `boolean`
>
> Determines if the update response should include the spreadsheet resource.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Clear spreadsheet values
>
> **Slug:** `GOOGLESHEETS_CLEAR_VALUES`
>
> Clears cell content (preserving formatting and notes) from a specified A1 notation range in a Google Spreadsheet; the range must correspond to an existing sheet and cells.
>
> #### Input Parameters
>
> **range** `string` *required*
>
> The A1 notation of the range to clear values from (e.g., 'Sheet1!A1:B2', 'MySheet!C:C', or 'A1:D5'). If the sheet name is omitted (e.g., 'A1:B2'), the operation applies to the first visible sheet.
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet from which to clear values. This ID can be found in the URL of the spreadsheet.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Chart in Google Sheets
>
> **Slug:** `GOOGLESHEETS_CREATE_CHART`
>
> Create a chart in a Google Sheets spreadsheet using a specified data range and chart type, or an optional full chart specification. The chart type and data range are required even when supplying a chart specification.
>
> #### Input Parameters
>
> **title** `string`
>
> Optional title for the chart.
>
> **sheet\_id** `integer` *required*
>
> The numeric sheetId (not the sheet name/title) of the worksheet where the chart will be created. This is a unique integer identifier for the sheet within the spreadsheet. The first/default sheet typically has sheetId=0. IMPORTANT: Use 'Get Spreadsheet Info' action to retrieve valid sheetIds - look for sheets\[].properties.sheetId in the response. The sheetId must exist in the target spreadsheet; using an ID from a different spreadsheet will fail.
>
> **subtitle** `string`
>
> Optional subtitle for the chart.
>
> **chart\_spec** `object`
>
> Optional full ChartSpec object to send to the Google Sheets API. Use this to support ALL chart types and advanced options. Must set exactly one of: basicChart, pieChart, bubbleChart, candlestickChart, histogramChart, treemapChart, waterfallChart, orgChart, scorecardChart. See [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/charts#ChartSpec](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/charts#ChartSpec).
>
> **chart\_type** `string` *required*
>
> Type of chart to create. Supported types: BAR, LINE, AREA, COLUMN, SCATTER, COMBO, STEPPED\_AREA, PIE, HISTOGRAM, BUBBLE, CANDLESTICK, TREEMAP, WATERFALL, ORG, SCORECARD. Case-insensitive and whitespace-tolerant.
>
> **data\_range** `string` *required*
>
> A single contiguous range of data for the chart in A1 notation (e.g., 'A1:C10' or 'Sheet1!B2:D20'). Must be a single continuous range - comma-separated multi-ranges (e.g., 'A1:A10,C1:C10') are not supported. When chart\_spec is not provided, the first column is used as the domain/labels and the remaining columns as series. IMPORTANT: PIE charts require at least 2 columns - the first column for category labels (domain) and the second column for numeric values (series). Single-column ranges are not supported for PIE charts.
>
> **x\_axis\_title** `string`
>
> Optional title for the X-axis.
>
> **y\_axis\_title** `string`
>
> Optional title for the Y-axis.
>
> **background\_red** `number`
>
> Red component of chart background color (0.0-1.0). If not specified, uses default.
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Sheets spreadsheet where the chart will be created. Must be the actual spreadsheet ID from the URL (e.g., '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms'), NOT the spreadsheet name or title. Find it in the URL: [https://docs.google.com/spreadsheets/d/SPREADSHEET\_ID/edit](https://docs.google.com/spreadsheets/d/SPREADSHEET_ID/edit)
>
> **background\_blue** `number`
>
> Blue component of chart background color (0.0-1.0). If not specified, uses default.
>
> **legend\_position** `string`
>
> Position of the chart legend. Options: BOTTOM\_LEGEND, TOP\_LEGEND, LEFT\_LEGEND, RIGHT\_LEGEND, NO\_LEGEND.
>
> **background\_green** `number`
>
> Green component of chart background color (0.0-1.0). If not specified, uses default.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create a Google Sheet
>
> **Slug:** `GOOGLESHEETS_CREATE_GOOGLE_SHEET1`
>
> Creates a new Google Spreadsheet in Drive with an optional title and folder ID or exact folder name. Multiple matching folders return choices before creation; if moving a created spreadsheet to the requested folder fails, the response reports partial success.
>
> #### Input Parameters
>
> **title** `string`
>
> The title for the new Google Sheet. If omitted, Google will create a spreadsheet with a default name like 'Untitled spreadsheet'.
>
> **folder\_id** `string`
>
> Google Drive folder ID where the spreadsheet should be created. If provided, the spreadsheet will be moved to this folder after creation. Takes precedence over folder\_name.
>
> **folder\_name** `string`
>
> Google Drive folder name where the spreadsheet should be created. If provided and folder\_id is not provided, the action will search for a folder with this exact name. If multiple folders match, you'll receive a list to choose from. If no folder matches, an error is returned.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create spreadsheet column
>
> **Slug:** `GOOGLESHEETS_CREATE_SPREADSHEET_COLUMN`
>
> Inserts a new column in a Google Spreadsheet at a specified index. Select the target sheet by numeric ID or name; if neither is provided, sheet ID 0 is used.
>
> #### Input Parameters
>
> **sheet\_id** `integer`
>
> The numeric identifier of the specific sheet (tab) within the spreadsheet. Defaults to 0 (the first sheet) if neither sheet\_id nor sheet\_name is provided. Use GOOGLESHEETS\_GET\_SHEET\_NAMES or GOOGLESHEETS\_FIND\_WORKSHEET\_BY\_TITLE to obtain the sheet\_id from a sheet name.
>
> **sheet\_name** `string`
>
> The name (title) of the sheet/tab where the column will be added. If provided, the action will look up the sheet\_id automatically. If both sheet\_id and sheet\_name are provided, sheet\_id takes precedence.
>
> **insert\_index** `integer`
>
> The 0-based index at which the new column will be inserted. For example, an index of 0 inserts the column before the current first column (A), and an index of 1 inserts it between the current columns A and B.
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet where the column will be created.
>
> **response\_ranges** `array`
>
> Limits the ranges of the spreadsheet to include in the response. Only used if includeSpreadsheetInResponse is true.
>
> **inherit\_from\_before** `boolean`
>
> If true, the new column inherits properties (e.g., formatting, width) from the column immediately to its left (the preceding column). If false (default), it inherits from the column immediately to its right (the succeeding column). This is ignored if there is no respective preceding or succeeding column.
>
> **response\_include\_grid\_data** `boolean`
>
> If true, grid data will be included in the response (only used if includeSpreadsheetInResponse is true).
>
> **include\_spreadsheet\_in\_response** `boolean`
>
> If true, the updated spreadsheet will be included in the response. Defaults to true if not specified.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create spreadsheet row
>
> **Slug:** `GOOGLESHEETS_CREATE_SPREADSHEET_ROW`
>
> Inserts a new, empty row into a specified sheet of a Google Spreadsheet at a given index, optionally inheriting formatting from the row above.
>
> #### Input Parameters
>
> **sheet\_id** `integer`
>
> The numeric identifier of the sheet (tab) within the spreadsheet where the row will be inserted. This ID (gid) is found in the URL of the spreadsheet (e.g., '0' for the first sheet). Either sheet\_id or sheet\_name must be provided.
>
> **sheet\_name** `string`
>
> The human-readable name of the sheet (tab) within the spreadsheet where the row will be inserted (e.g., 'Sheet1'). Either sheet\_id or sheet\_name must be provided. If both are provided, sheet\_id takes precedence.
>
> **insert\_index** `integer`
>
> The 0-based index at which the new row should be inserted. For example, an index of 0 inserts the row at the beginning of the sheet. If the index is greater than the current number of rows, the row is appended.
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet. Can be provided as the ID (e.g., '1qpyC0XzHc\_-\_d824s2VfopkHh7D0jW4aXCS1D\_AlGA') or as a full URL (the ID will be extracted automatically).
>
> **response\_ranges** `array`
>
> Limits the ranges included in the response spreadsheet. Only meaningful when include\_spreadsheet\_in\_response is True. Use A1 notation (e.g., \['Sheet1!A1:D10']).
>
> **inherit\_from\_before** `boolean`
>
> If True, the newly inserted row will inherit formatting and properties from the row immediately preceding its insertion point. If False, it will have default formatting.
>
> **response\_include\_grid\_data** `boolean`
>
> If True, grid data will be included in the response spreadsheet. Only meaningful when include\_spreadsheet\_in\_response is True. Default is False.
>
> **include\_spreadsheet\_in\_response** `boolean`
>
> If True, the response will include the full updated Spreadsheet resource. Default behavior includes the spreadsheet when this parameter is not specified.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Chart from Google Sheets
>
> **Slug:** `GOOGLESHEETS_DELETE_CHART`
>
> Delete an existing chart from a Google Sheets spreadsheet. Use this action when you need to remove a chart that is no longer needed or needs to be replaced. This action is irreversible — once a chart is deleted, it cannot be recovered. The chart data source (the cells containing the data) remains unchanged; only the chart visualization is removed.
>
> #### Input Parameters
>
> **chart\_id** `integer` *required*
>
> The unique numeric identifier of the chart to delete (also known as objectId or chartId). This is the chart's ID within the spreadsheet, not the sheet ID. You can retrieve chart IDs using the 'Get Spreadsheet Info' action - look for sheets\[].charts\[].chartId in the response. Each chart has a unique ID that persists until the chart is deleted.
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Sheets spreadsheet containing the chart to delete. Must be the actual spreadsheet ID from the URL (e.g., '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms'), NOT the spreadsheet name or title. Find it in the URL: [https://docs.google.com/spreadsheets/d/SPREADSHEET\_ID/edit](https://docs.google.com/spreadsheets/d/SPREADSHEET_ID/edit)
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Dimension (Rows/Columns)
>
> **Slug:** `GOOGLESHEETS_DELETE_DIMENSION`
>
> Tool to delete specified rows or columns from a sheet in a Google Spreadsheet. Use when you need to remove a range of rows or columns.
>
> #### Input Parameters
>
> **sheet\_id** `integer`
>
> The unique numeric ID of the sheet (not the index/position). This ID is assigned by Google Sheets and does not change when sheets are reordered. Use GOOGLESHEETS\_GET\_SPREADSHEET\_INFO to find the sheet ID, or use sheet\_name instead. Either sheet\_id or sheet\_name must be provided.
>
> **dimension** `string ("ROWS" | "COLUMNS")`
>
> The dimension to delete (ROWS or COLUMNS).
>
> **end\_index** `integer`
>
> The zero-based end index of the range to delete, exclusive. Must be greater than start\_index and at most equal to the sheet's current row/column count. Note: Cannot delete all rows or columns from a sheet - at least one row and one column must remain.
>
> **sheet\_name** `string`
>
> The name/title of the sheet from which to delete the dimension. Using sheet\_name is recommended as it's more intuitive than sheet\_id. Either sheet\_id or sheet\_name must be provided.
>
> **start\_index** `integer`
>
> The zero-based start index of the range to delete, inclusive. Must be less than end\_index and within the sheet's current row/column count. Note: Cannot delete all rows or columns from a sheet - at least one row and one column must remain.
>
> **spreadsheet\_id** `string` *required*
>
> The ID of the spreadsheet.
>
> **response\_ranges** `array`
>
> Limits the ranges of cells included in the response spreadsheet.
>
> **delete\_dimension\_request** `object`
>
> The details for the delete dimension request object.
>
> **response\_include\_grid\_data** `boolean`
>
> True if grid data should be returned. This parameter is ignored if a field mask was set in the request.
>
> **include\_spreadsheet\_in\_response** `boolean`
>
> Determines if the update response should include the spreadsheet resource.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Sheet
>
> **Slug:** `GOOGLESHEETS_DELETE_SHEET`
>
> Tool to delete a sheet (worksheet) from a spreadsheet. Use when you need to remove a specific sheet from a Google Sheet document.
>
> #### Input Parameters
>
> **sheetId** `integer` *required*
>
> The ID of the sheet to delete. Note: A spreadsheet must contain at least one sheet, so you cannot delete the last remaining sheet. If the sheet is of DATA\_SOURCE type, the associated DataSource is also deleted.
>
> **spreadsheetId** `string` *required*
>
> The ID of the spreadsheet from which to delete the sheet.
>
> **responseRanges** `array`
>
> Limits which ranges are returned when includeSpreadsheetInResponse is true. Only meaningful if includeSpreadsheetInResponse is set to true. Ranges should be in A1 notation (e.g., 'Sheet1!A1:B10').
>
> **responseIncludeGridData** `boolean`
>
> True if grid data should be returned in the response spreadsheet. Only meaningful when includeSpreadsheetInResponse is true and no field mask is set on the request.
>
> **includeSpreadsheetInResponse** `boolean`
>
> Determines if the spreadsheet resource should be returned in the response. If true, the response includes the updated spreadsheet resource with all its sheets, properties, and metadata.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Execute SQL on Spreadsheet
>
> **Slug:** `GOOGLESHEETS_EXECUTE_SQL`
>
> Deprecated SQL facade for selecting, inserting, updating, and deleting data in automatically detected spreadsheet tables, including limited WITH queries; discovery reads at most 10,000 rows per sheet. For detected header-based tables, the first data row is skipped and update/delete row targeting can be offset.
>
> #### Input Parameters
>
> **sql** `string` *required*
>
> Complete SQL query to execute. Must begin with SELECT, INSERT, UPDATE, DELETE, or WITH. Supports Common Table Expressions (CTEs) using WITH clause for complex queries. Note: WITH clauses require the sqlglot library for full support; simple SELECT/INSERT/UPDATE/DELETE operations work without it. Use table names (sheet names) in FROM/INTO clauses, not A1 range notation. The query must include proper SQL clauses (e.g., SELECT columns FROM table, not just a column name or condition). Example: SELECT \* FROM "Sheet1" WHERE A = 'value' (correct) instead of just A = 'value' (incorrect).
>
> **dry\_run** `boolean`
>
> Preview changes without applying them (for write operations)
>
> **delete\_method** `string ("clear" | "remove_rows")`
>
> For DELETE operations: 'clear' preserves row structure, 'remove\_rows' shifts data up
>
> **spreadsheet\_id** `string` *required*
>
> The unique alphanumeric ID of the Google Spreadsheet extracted from the URL. Format: A long string of letters, numbers, hyphens, and underscores (typically 44 characters). Find it in the URL: [https://docs.google.com/spreadsheets/d/\&#123;SPREADSHEET\_ID\&#125;/edit](https://docs.google.com/spreadsheets/d/\&#123;SPREADSHEET_ID\&#125;/edit). Must be a valid ID - values like 'auto' are NOT valid and will fail.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Export Drive Spreadsheet
>
> **Slug:** `GOOGLESHEETS_EXPORT_DRIVE_FILE`
>
> Export an entire native spreadsheet as XLSX, ODS, PDF, ZIP, CSV, or TSV; use Export Sheet as PDF for print layout and range controls.
>
> #### Input Parameters
>
> **file\_id** `string` *required*
>
> Opaque Drive file ID of a native Google Sheets spreadsheet, not its title or URL.
>
> **mime\_type** `string ("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oasis.opendocument.spreadsheet" | "application/pdf" | "application/zip" | "text/csv" | "text/tab-separated-values")` *required*
>
> Official Drive export MIME type for spreadsheets: XLSX, ODS, PDF, zipped HTML, CSV, or TSV. CSV and TSV export only the first sheet.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Export Sheet as PDF
>
> **Slug:** `GOOGLESHEETS_EXPORT_SHEET_AS_PDF`
>
> Render one sheet tab or rectangular range as PDF with orientation, gridline, margin, and fit-to-width controls.
>
> #### Input Parameters
>
> **portrait** `boolean`
>
> Whether to use portrait orientation, mapped to portrait.
>
> **sheet\_id** `integer` *required*
>
> Numeric ID of the sheet tab to export (the gid in a Sheets URL), not the tab title or spreadsheet ID.
>
> **top\_margin** `number`
>
> Top margin passed to the sample-backed top\_margin control. Google does not formally document its unit or accepted range.
>
> **left\_margin** `number`
>
> Left margin passed to the sample-backed left\_margin control. Google does not formally document its unit or accepted range.
>
> **fit\_to\_width** `boolean`
>
> Value for the sample-backed fitw PDF print control.
>
> **print\_titles** `boolean`
>
> Value for the sample-backed printtitle PDF print control.
>
> **right\_margin** `number`
>
> Right margin passed to the sample-backed right\_margin control. Google does not formally document its unit or accepted range.
>
> **bottom\_margin** `number`
>
> Bottom margin passed to the sample-backed bottom\_margin control. Google does not formally document its unit or accepted range.
>
> **end\_row\_index** `integer`
>
> Sample-backed r2 range control. It must exceed start\_row\_index; Google does not formally document this browser-route key.
>
> **show\_gridlines** `boolean`
>
> Whether to show sheet gridlines in the PDF.
>
> **spreadsheet\_id** `string` *required*
>
> Google Sheets spreadsheet ID or original docs.google.com Sheets URL, not the spreadsheet title. Published /d/e/ URLs are not supported.
>
> **show\_sheet\_name** `boolean`
>
> Whether to print the sheet name, mapped to sheetnames.
>
> **start\_row\_index** `integer`
>
> Sample-backed r1 range control. Supply it with all other range indices; Google does not formally document this browser-route key.
>
> **end\_column\_index** `integer`
>
> Sample-backed c2 range control. It must exceed start\_column\_index; Google does not formally document this browser-route key.
>
> **repeat\_frozen\_rows** `boolean`
>
> Value for the sample-backed fzr PDF print control.
>
> **start\_column\_index** `integer`
>
> Sample-backed c1 range control. Supply it with all other range indices; Google does not formally document this browser-route key.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Find and Replace in Spreadsheet
>
> **Slug:** `GOOGLESHEETS_FIND_REPLACE`
>
> Finds and replaces text across cells in a Google Spreadsheet, scoped to a sheet, range, or all sheets; if no scope is specified, it searches all sheets. Formula cells can be included explicitly when fixing formula references or patterns.
>
> #### Input Parameters
>
> **find** `string` *required*
>
> The text to find. Can be a literal string or a regular expression pattern.
>
> **range** `string`
>
> A1 notation range string to search within (e.g., 'A1:B10', 'Sheet1!A1:B10'). When using A1 notation with a sheet name, you must also provide range\_sheet\_id to specify the numeric sheet ID (the API requires numeric IDs). Alternatively, use the GridRange parameters (range\_sheet\_id with optional row/column indices) for explicit numeric control. Mutually exclusive with sheet\_id and all\_sheets.
>
> **replace** `string` *required*
>
> The text to replace the found instances with.
>
> **sheetId** `integer`
>
> The numeric ID of the sheet to search the entire sheet (e.g., 0 for the first sheet). Mutually exclusive with sheet\_name, range/range\_sheet\_id parameters, and all\_sheets. You must specify exactly one scope: either sheet\_id (entire sheet), sheet\_name, range/range\_sheet\_id (specific range), or all\_sheets.
>
> **allSheets** `boolean`
>
> Whether to search across all sheets in the spreadsheet. Mutually exclusive with sheet\_id and range parameters.
>
> **matchCase** `boolean`
>
> Whether the search should be case-sensitive.
>
> **sheetName** `string`
>
> The name/title of the sheet (tab) to search within (e.g., 'Sheet1', 'Sales Data'). The sheet name will be resolved to its numeric sheet ID. Mutually exclusive with sheet\_id, range/range\_sheet\_id parameters, and all\_sheets.
>
> **endRowIndex** `integer`
>
> The end row (0-indexed, exclusive) of the range. Only used when range\_sheet\_id is provided without a 'range' parameter.
>
> **rangeSheetId** `integer`
>
> The numeric sheet ID for a GridRange-based search. Required when using the 'range' parameter with A1 notation. Can also be used alone or with row/column index parameters to define a specific range. Mutually exclusive with sheet\_id and all\_sheets.
>
> **searchByRegex** `boolean`
>
> Whether to treat the find text as a regular expression.
>
> **spreadsheetId** `string` *required*
>
> The ID of the spreadsheet to update.
>
> **startRowIndex** `integer`
>
> The start row (0-indexed, inclusive) of the range. Only used when range\_sheet\_id is provided without a 'range' parameter.
>
> **endColumnIndex** `integer`
>
> The end column (0-indexed, exclusive) of the range. Column A = 0, B = 1, etc. Only used when range\_sheet\_id is provided without a 'range' parameter.
>
> **includeFormulas** `boolean`
>
> Whether to include cells with formulas in the search. If true, formulas are searched and can be replaced. If false, only cell values (not formulas) are searched. If not specified, the default API behavior applies (both formulas and values are searched).
>
> **matchEntireCell** `boolean`
>
> Whether to match only cells that contain the entire search term.
>
> **startColumnIndex** `integer`
>
> The start column (0-indexed, inclusive) of the range. Column A = 0, B = 1, etc. Only used when range\_sheet\_id is provided without a 'range' parameter.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Find worksheet by title (Deprecated)
>
> **Slug:** `GOOGLESHEETS_FIND_WORKSHEET_BY_TITLE`
>
> DEPRECATED: Finds a worksheet by its case-sensitive title within a Google Spreadsheet, after trimming input whitespace and decoding Unicode escapes. Returns a found boolean and matched worksheet metadata, or indicates no match.
>
> #### Input Parameters
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet from the URL (e.g., [https://docs.google.com/spreadsheets/d/\&#123;spreadsheet\_id\&#125;/edit](https://docs.google.com/spreadsheets/d/\&#123;spreadsheet_id\&#125;/edit)). Important: This is NOT the spreadsheet's display name/title. It is the long alphanumeric string (typically 40-45 characters) from the URL containing only letters, numbers, hyphens, and underscores.
>
> **worksheet\_title** `string` *required*
>
> The exact, case-sensitive title of the worksheet (tab name) to find.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Format cell
>
> **Slug:** `GOOGLESHEETS_FORMAT_CELL`
>
> Formats a specified cell range in a Google Sheets worksheet. It always applies text style, font size and background color defaults unless supplied; a sheet prefix in an A1 range is ignored, so select the worksheet separately.
>
> #### Input Parameters
>
> **red** `number`
>
> Red component of the background color (0.0-1.0).
>
> **blue** `number`
>
> Blue component of the background color (0.0-1.0).
>
> **bold** `boolean`
>
> Apply bold formatting.
>
> **green** `number`
>
> Green component of the background color (0.0-1.0).
>
> **range** `string`
>
> OPTION 1: Cell range in A1 notation (RECOMMENDED). Supports: single cells ('A1', 'F9'), cell ranges ('A1:B5'), entire columns ('A', 'I:J'), entire rows ('1', '1:5'). Also accepts sheet-prefixed ranges ('Sheet1!A1', 'Instagram Calendar!A1:E1') for convenience - if provided, the sheet prefix is stripped and ignored. The actual sheet used is determined by the sheet\_name or worksheet\_id parameter. Provide EITHER this field OR all four index fields below, not both.
>
> **italic** `boolean`
>
> Apply italic formatting.
>
> **fontSize** `integer`
>
> Font size in points.
>
> **text\_link** `string`
>
> Cell-level text link URI. Must include a URI scheme, such as 'https\://' or 'mailto:'.
>
> **underline** `boolean`
>
> Apply underline formatting.
>
> **sheet\_name** `string`
>
> The worksheet name/title (e.g., 'Sheet1', 'Q3 Report'). Provide either this field OR worksheet\_id, not both. If both are provided, sheet\_name takes precedence and will be resolved to worksheet\_id.
>
> **text\_color** `string`
>
> Text color as 6-digit hex.
>
> **font\_family** `string`
>
> Font family.
>
> **padding\_top** `integer`
>
> Top padding in pixels.
>
> **border\_color** `string`
>
> Border color as 6-digit hex.
>
> **border\_style** `string ("DOTTED" | "DASHED" | "SOLID" | "SOLID_MEDIUM" | "SOLID_THICK" | "NONE" | "DOUBLE")`
>
> Border styles supported by Google Sheets.
>
> **padding\_left** `integer`
>
> Left padding in pixels.
>
> **worksheet\_id** `integer`
>
> The worksheet identifier. Accepts EITHER: (1) The sheetId from the Google Sheets API (a large number like 1534097477, obtainable via GOOGLESHEETS\_GET\_SPREADSHEET\_INFO), OR (2) The 0-based positional index of the worksheet (0 for first sheet, 1 for second, etc.). The action will first try to match by sheetId, then fall back to matching by index. Defaults to 0 (first sheet). Provide either this field OR sheet\_name, not both.
>
> **end\_row\_index** `integer`
>
> OPTION 2: 0-based index of the row AFTER the last row (exclusive). Required if 'range' is not provided. Must provide ALL four index fields together.
>
> **padding\_right** `integer`
>
> Right padding in pixels.
>
> **strikethrough** `boolean`
>
> Apply strikethrough formatting.
>
> **wrap\_strategy** `string ("OVERFLOW_CELL" | "LEGACY_WRAP" | "CLIP" | "WRAP")`
>
> How text wraps within cells.
>
> **padding\_bottom** `integer`
>
> Bottom padding in pixels.
>
> **spreadsheet\_id** `string` *required*
>
> Identifier of the Google Sheets spreadsheet.
>
> **text\_direction** `string ("LEFT_TO_RIGHT" | "RIGHT_TO_LEFT")`
>
> Text direction in a cell.
>
> **start\_row\_index** `integer`
>
> OPTION 2: 0-based row index (row 1 = index 0, row 9 = index 8). Required if 'range' is not provided. Must provide ALL four index fields together.
>
> **background\_alpha** `number`
>
> Background alpha from 0.0 to 1.0.
>
> **background\_color** `string`
>
> Background color as 6-digit hex.
>
> **end\_column\_index** `integer`
>
> OPTION 2: 0-based index of the column AFTER the last column (exclusive). Required if 'range' is not provided. Must provide ALL four index fields together.
>
> **number\_format\_type** `string ("TEXT" | "NUMBER" | "PERCENT" | "CURRENCY" | "DATE" | "TIME" | "DATE_TIME" | "SCIENTIFIC")`
>
> How number values should be represented to the user.
>
> **start\_column\_index** `integer`
>
> OPTION 2: 0-based column index (A = 0, B = 1, F = 5). Required if 'range' is not provided. Must provide ALL four index fields together.
>
> **vertical\_alignment** `string ("TOP" | "MIDDLE" | "BOTTOM")`
>
> Vertical alignment of text in a cell.
>
> **text\_rotation\_angle** `integer`
>
> Text rotation angle from -90 to 90.
>
> **horizontal\_alignment** `string ("LEFT" | "CENTER" | "RIGHT")`
>
> Horizontal alignment of text in a cell.
>
> **number\_format\_pattern** `string`
>
> Optional number/date pattern.
>
> **hyperlink\_display\_type** `string ("LINKED" | "PLAIN_TEXT")`
>
> How a hyperlink should be displayed in a cell.
>
> **text\_rotation\_vertical** `boolean`
>
> Make text read top to bottom.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Batch Get Spreadsheet Values (Deprecated)
>
> **Slug:** `GOOGLESHEETS_GET_BATCH_VALUES`
>
> DEPRECATED: Use GOOGLESHEETS\_BATCH\_GET instead. Tool to return one or more ranges of values from a spreadsheet. Use when you need to retrieve data from multiple ranges in a single request.
>
> #### Input Parameters
>
> **ranges** `array` *required*
>
> The A1 notation or R1C1 notation of the ranges to retrieve values from. Specify one or more ranges (e.g., \['Sheet1!A1:B10', 'Sheet2!C1:D5']). For sheet names with spaces or special characters, wrap in single quotes (e.g., "'My Sheet'!A1:B10").
>
> **spreadsheet\_id** `string` *required*
>
> The ID of the spreadsheet to retrieve data from. This is the unique identifier found in the spreadsheet URL between '/d/' and '/edit' (e.g., '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms').
>
> **major\_dimension** `string ("DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS")`
>
> The major dimension for results.
>
> **value\_render\_option** `string ("FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA")`
>
> How values should be rendered in the output.
>
> **date\_time\_render\_option** `string ("SERIAL_NUMBER" | "FORMATTED_STRING")`
>
> How dates, times, and durations should be represented in the output.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get conditional format rules
>
> **Slug:** `GOOGLESHEETS_GET_CONDITIONAL_FORMAT_RULES`
>
> List conditional formatting rules for each sheet (or a selected sheet) in a normalized, easy-to-edit form. Use when you need to view, audit, or prepare to modify conditional format rules.
>
> #### Input Parameters
>
> **sheet\_id** `integer`
>
> Optional filter: return rules only for the sheet with this exact numeric sheetId. If not provided, returns rules for all sheets. If both sheet\_title and sheet\_id are provided, sheet\_id takes precedence.
>
> **sheet\_title** `string`
>
> Optional filter: return rules only for the sheet with this exact title. If not provided, returns rules for all sheets.
>
> **spreadsheet\_id** `string` *required*
>
> Unique identifier of the Google Spreadsheet, typically found in its URL.
>
> **exclude\_tables\_in\_banded\_ranges** `boolean`
>
> True if tables should be excluded in the banded ranges. False if not set.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Data Validation Rules
>
> **Slug:** `GOOGLESHEETS_GET_DATA_VALIDATION_RULES`
>
> Tool to extract data validation rules from a Google Sheets spreadsheet. Use when you need to understand dropdown lists, allowed values, custom formulas, or other validation constraints for cells.
>
> #### Input Parameters
>
> **ranges** `array`
>
> Optional list of A1 ranges to scan. If omitted, the entire sheet(s) will be scanned. WARNING: Scanning entire large sheets may be slow.
>
> **sheetId** `integer`
>
> Optional sheet ID to filter by. If omitted, all sheets will be scanned.
>
> **sheetTitle** `string`
>
> Optional sheet title to filter by. If omitted, all sheets will be scanned.
>
> **includeEmpty** `boolean`
>
> If true, include cells without validation rules in the output. Default is false.
>
> **spreadsheetId** `string` *required*
>
> The ID of the spreadsheet to request.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Drive File Metadata
>
> **Slug:** `GOOGLESHEETS_GET_DRIVE_FILE_METADATA`
>
> Get JSON metadata for one Drive file without downloading its content.
>
> #### Input Parameters
>
> **fields** `string`
>
> Google partial-response field mask for any valid Drive File fields, for example id,name,mimeType,modifiedTime or permissions(id,emailAddress,role). Omit for Drive's default metadata projection; use \* only when the larger response is needed.
>
> **fileId** `string` *required*
>
> Opaque Drive file ID to inspect, not a file name. A Google Sheets spreadsheet ID is also its Drive file ID.
>
> **includeLabels** `string`
>
> Comma-separated Drive label IDs to include in labelInfo. Include labelInfo in fields when using a custom projection.
>
> **supportsAllDrives** `boolean`
>
> Whether the caller supports both My Drive and shared-drive files. Defaults to true so a valid shared-drive file ID works.
>
> **includePermissionsForView** `string`
>
> Set to published to include permissions for the published view. Include permissions in fields when using a custom projection.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get sheet names
>
> **Slug:** `GOOGLESHEETS_GET_SHEET_NAMES`
>
> Lists all worksheet names from a specified Google Spreadsheet (which must exist), useful for discovering sheets before further operations.
>
> #### Input Parameters
>
> **exclude\_hidden** `boolean`
>
> When True, hidden sheets will be excluded from the results. When False (default), all sheets including hidden ones are returned. Hidden sheets are sheets that have been hidden via the 'Hide sheet' option in Google Sheets UI.
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet (alphanumeric string, typically 44 characters). Extract only the ID portion from URLs - do not include leading/trailing slashes, '/edit' suffixes, query parameters, or URL fragments. From '[https://docs.google.com/spreadsheets/d/1qpyC0XzvTcKT6EISywY/edit#gid=0](https://docs.google.com/spreadsheets/d/1qpyC0XzvTcKT6EISywY/edit#gid=0)', use only '1qpyC0XzvTcKT6EISywY'.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Spreadsheet by Data Filter
>
> **Slug:** `GOOGLESHEETS_GET_SPREADSHEET_BY_DATA_FILTER`
>
> Returns the spreadsheet at the given ID, filtered by the specified data filters. Use this tool when you need to retrieve specific subsets of data from a Google Sheet based on criteria like A1 notation, developer metadata, or grid ranges. Important: This action is designed for filtered data retrieval. While it accepts empty filters and returns full metadata in that case, GOOGLESHEETS\_GET\_SPREADSHEET\_INFO is the recommended action for unfiltered spreadsheet retrieval.
>
> #### Input Parameters
>
> **dataFilters** `array`
>
> The DataFilters used to select which ranges to retrieve. Supports A1 notation (e.g., 'Sheet1!A1:B2'), developer metadata lookup, or grid range filters. If empty or omitted, returns full spreadsheet metadata. Recommended: Use GOOGLESHEETS\_GET\_SPREADSHEET\_INFO for unfiltered retrieval as it is the dedicated action for that purpose.
>
> **spreadsheetId** `string` *required*
>
> The ID of the spreadsheet to request.
>
> **includeGridData** `boolean`
>
> True if grid data should be returned. Ignored if a field mask is set.
>
> **excludeTablesInBandedRanges** `boolean`
>
> True if tables should be excluded in the banded ranges. False if not set.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get spreadsheet info
>
> **Slug:** `GOOGLESHEETS_GET_SPREADSHEET_INFO`
>
> Retrieves metadata for a Google Spreadsheet using its ID. By default, returns essential information (ID, title, sheet properties) to avoid payload size issues. Use the fields parameter for comprehensive metadata or specific fields.
>
> #### Input Parameters
>
> **fields** `string`
>
> Optional. Field mask specifying which fields to return. Uses Google's field mask syntax (comma-separated, dot-notation for nested fields). If not specified, a default mask returning common fields (spreadsheet ID, title, sheet properties) is applied to avoid payload size issues. For full metadata, use '\*' (not recommended for large spreadsheets). When set, includeGridData is ignored. Examples: 'sheets.properties(sheetId,title)', 'properties.title,sheets.properties.sheetId'.
>
> **ranges** `array`
>
> Optional. The ranges to retrieve from the spreadsheet, specified using A1 notation (e.g., 'Sheet1!A1:D5', 'Sheet2!A1:C4'). Multiple ranges can be requested simultaneously. If not specified, metadata for the entire spreadsheet is returned without grid data.
>
> **spreadsheet\_id** `string`
>
> Required. The Google Sheets spreadsheet ID or full URL. Accepts either the ID alone (e.g., '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms') or a full Google Sheets URL (e.g., '[https://docs.google.com/spreadsheets/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/edit](https://docs.google.com/spreadsheets/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/edit)'). The ID will be automatically extracted from URLs. Note: Published/embedded URLs (containing '/d/e/2PACX-...') are not supported.
>
> **include\_grid\_data** `boolean`
>
> Optional. If true, grid data will be returned. This parameter is ignored if a field mask was set in the request. When false or not specified, only metadata is returned without cell values.
>
> **exclude\_tables\_in\_banded\_ranges** `boolean`
>
> Optional. If true, tables within banded ranges will be omitted from the response. Default is false when not specified.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Table Schema
>
> **Slug:** `GOOGLESHEETS_GET_TABLE_SCHEMA`
>
> Deprecated: Retrieves an inferred schema for a detected table in a Google Spreadsheet, including column names and types estimated from sampled data.
>
> #### Input Parameters
>
> **sheet\_name** `string`
>
> Sheet/tab name if table\_name is ambiguous across multiple sheets
>
> **table\_name** `string` *required*
>
> Table name from LIST\_TABLES response OR the visible Google Sheets tab name (e.g., 'Sales Data', 'Projections'). Use 'auto' to analyze the largest/most prominent table.
>
> **sample\_size** `integer`
>
> Number of rows to sample for type inference
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet. Must be a valid Google Sheets ID (typically a 44-character alphanumeric string). Do NOT use 'auto' - only 'table\_name' supports auto-detection. You can get this ID from the spreadsheet URL or from SEARCH\_SPREADSHEETS action.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Insert Dimension in Google Sheet
>
> **Slug:** `GOOGLESHEETS_INSERT_DIMENSION`
>
> Tool to insert new rows or columns into a sheet at a specified location. Use when you need to add empty rows or columns within an existing Google Sheet.
>
> #### Input Parameters
>
> **spreadsheet\_id** `string` *required*
>
> The ID of the spreadsheet to update.
>
> **response\_ranges** `array`
>
> Limits the ranges of the spreadsheet to include in the response.
>
> **insert\_dimension** `object` *required*
>
> The details for the insert dimension request.
>
> **response\_include\_grid\_data** `boolean`
>
> True if grid data should be included in the response (if includeSpreadsheetInResponse is true).
>
> **include\_spreadsheet\_in\_response** `boolean`
>
> True if the updated spreadsheet should be included in the response.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Charts in Google Sheets
>
> **Slug:** `GOOGLESHEETS_LIST_CHARTS`
>
> Lists all charts in a Google Sheets spreadsheet across all sheets, returning chart\_id, sheet metadata, chart type, title, and position. Use this action when you need to discover what charts exist in a spreadsheet, retrieve chart IDs for update or delete operations, or inspect chart configurations. The default field mask in GOOGLESHEETS\_GET\_SPREADSHEET\_INFO omits chart data, making this dedicated action necessary for chart discovery.
>
> #### Input Parameters
>
> **chart\_id** `integer`
>
> Optional. Filter to a specific chart by its numeric chart ID. When provided, returns only the matching chart if it exists in the spreadsheet.
>
> **sheet\_id** `integer`
>
> Optional. Filter results to a single sheet's charts by providing the numeric sheet ID (not the sheet name). When omitted, returns charts from all sheets in the spreadsheet.
>
> **include\_spec** `boolean`
>
> When true, include the full ChartSpec dictionary for each chart (contains all chart configuration details including series, axes, colors, etc.). When false (default), return only a compact summary with chart\_id, type, title, and position. Set to false to keep responses small.
>
> **spreadsheet\_id** `string` *required*
>
> Required. The Google Sheets spreadsheet ID or full URL. Accepts either the ID alone (e.g., '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms') or a full Google Sheets URL (e.g., '[https://docs.google.com/spreadsheets/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/edit](https://docs.google.com/spreadsheets/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/edit)'). The ID will be automatically extracted from URLs. Note: Published/embedded URLs (containing '/d/e/2PACX-...') are not supported.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Drive Changes
>
> **Slug:** `GOOGLESHEETS_LIST_DRIVE_CHANGES`
>
> Start a Drive change monitor or list one page after an existing token.
>
> #### Input Parameters
>
> **spaces** `string`
>
> Comma-separated Drive spaces to query. Each value must be drive or appDataFolder.
>
> **drive\_id** `string`
>
> Shared-drive ID whose change feed to read. When supplied, supports\_all\_drives and include\_items\_from\_all\_drives are forced true.
>
> **page\_size** `integer`
>
> Maximum changes to return in this page (1-1000). Drive can return fewer changes than requested.
>
> **page\_token** `string`
>
> Opaque token from Drive changes.getStartPageToken or the previous response's next\_page\_token. Omit it to start monitoring now; the action returns a fresh checkpoint without listing historical changes.
>
> **include\_labels** `string`
>
> Comma-separated Drive label IDs whose data should be included in each changed file's labelInfo.
>
> **include\_removed** `boolean`
>
> Include changes representing deletion or loss of access. Keep true for a complete incremental sync.
>
> **supports\_all\_drives** `boolean`
>
> Declare support for My Drive and shared drives. Automatically true when drive\_id is supplied.
>
> **restrict\_to\_my\_drive** `boolean`
>
> Restrict results to the My Drive hierarchy, excluding app data and shared files not added to My Drive.
>
> **include\_corpus\_removals** `boolean`
>
> Include the current file resource when it remains accessible even though it was removed from this change corpus. When true, include\_removed is forced true.
>
> **include\_permissions\_for\_view** `string`
>
> Set to published to include permissions for the published view; no other value is supported.
>
> **include\_items\_from\_all\_drives** `boolean`
>
> Include items from My Drive and shared drives. Automatically true when drive\_id is supplied.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Tables in Spreadsheet
>
> **Slug:** `GOOGLESHEETS_LIST_TABLES`
>
> Deprecated: Lists heuristically detected tables in a Google Spreadsheet. It scans up to the first 1,000 rows and skips sheets with more than 2,000 rows or 100 columns.
>
> #### Input Parameters
>
> **min\_rows** `integer`
>
> Minimum number of data rows to consider a valid table
>
> **min\_columns** `integer`
>
> Minimum number of columns to consider a valid table
>
> **min\_confidence** `number`
>
> Minimum confidence score (0.0-1.0) to consider a valid table
>
> **spreadsheet\_id** `string` *required*
>
> The actual Google Spreadsheet ID (not a placeholder or spreadsheet name). Find it in the spreadsheet URL: [https://docs.google.com/spreadsheets/d/\&#123;SPREADSHEET\_ID\&#125;/edit](https://docs.google.com/spreadsheets/d/\&#123;SPREADSHEET_ID\&#125;/edit). It is the alphanumeric string between '/d/' and '/edit' (e.g., '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms'). IMPORTANT: Do NOT pass the spreadsheet name - only pass the alphanumeric ID from the URL. Do NOT pass template placeholders like '\{\{spreadsheet\_id}}', '\<spreadsheet\_id>', or 'your-spreadsheet-id-here'.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Look up spreadsheet row
>
> **Slug:** `GOOGLESHEETS_LOOKUP_SPREADSHEET_ROW`
>
> Finds the first row in a specified A1 range or the first sheet where a cell matches the query after Unicode and invisible-character normalization. Matching is case-insensitive and trims surrounding whitespace by default; both behaviors are configurable.
>
> #### Input Parameters
>
> **query** `string` *required*
>
> Exact text value to find; matches the entire content of a cell in a row.
>
> **range** `string`
>
> A1 notation range to search within. Supports cell ranges (e.g., 'Sheet1!A1:D5'), column-only ranges (e.g., 'Sheet1!A:Z'), and row-only ranges (e.g., 'Sheet1!1:1'). Defaults to the first sheet if omitted. IMPORTANT: Sheet names with spaces must be single-quoted (e.g., "'My Sheet'!A1:Z"). Bare sheet names without ranges (e.g., 'Sheet1') are not supported - always specify a range.
>
> **case\_sensitive** `boolean`
>
> If `True`, the query string search is case-sensitive.
>
> **spreadsheet\_id** `string` *required*
>
> Identifier of the Google Spreadsheet to search.
>
> **value\_render\_option** `string ("FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA")`
>
> How cell values are rendered in the returned row data. unformatted: raw values without display formatting — dates appear as serial numbers, e.g. 46009.47 (default, keeps consistency with UPSERT). formatted: display-formatted values — dates appear as strings, e.g. '2025-12-18'. formula: raw formulas instead of computed values.
>
> **normalize\_whitespace** `boolean`
>
> If `True`, strips leading and trailing whitespace from cell values before matching. This helps match cells like ' TOTAL ' or 'TOTAL ' when searching for 'TOTAL'.
>
> **date\_time\_render\_option** `string`
>
> How dates and times are represented. FORMATTED\_STRING: human-readable strings (e.g. '2025-12-18 11:17'). SERIAL\_NUMBER: Excel-style serial numbers. Works with all value\_render\_option settings.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Move or Resize Chart in Google Sheets
>
> **Slug:** `GOOGLESHEETS_MOVE_CHART`
>
> Move or resize an existing chart on a Google Sheets spreadsheet. Use this action when you need to reposition a chart to a different location on the same or different sheet, move it to a brand-new sheet, or change its size. This action wraps the updateEmbeddedObjectPosition batchUpdate request type and supports three positioning modes: moving to a new sheet, moving to an existing sheet, or repositioning via pixel-perfect overlay coordinates.
>
> #### Input Parameters
>
> **chart\_id** `integer` *required*
>
> The unique numeric identifier of the chart to move within the spreadsheet. This is the chartId value (also known as objectId) returned when the chart was created or can be retrieved using GOOGLESHEETS\_LIST\_CHARTS or 'Get Spreadsheet Info' action (look for sheets\[].charts\[].chartId in the response). The chart must already exist in the specified spreadsheet.
>
> **new\_sheet** `boolean`
>
> Set to true to move the chart to a brand-new sheet. Google Sheets will automatically create and name the new sheet. This is mutually exclusive with target\_sheet\_id and anchor\_sheet\_id.
>
> **width\_pixels** `integer`
>
> Width of the chart in pixels. Only valid when anchor\_sheet\_id is provided. If omitted, Google Sheets preserves the existing width.
>
> **height\_pixels** `integer`
>
> Height of the chart in pixels. Only valid when anchor\_sheet\_id is provided. If omitted, Google Sheets preserves the existing height.
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Sheets spreadsheet containing the chart to move. Must be the actual spreadsheet ID from the URL (e.g., '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms'), NOT the spreadsheet name or title. Find it in the URL: [https://docs.google.com/spreadsheets/d/SPREADSHEET\_ID/edit](https://docs.google.com/spreadsheets/d/SPREADSHEET_ID/edit)
>
> **anchor\_sheet\_id** `integer`
>
> The numeric sheetId of the sheet to anchor the chart onto when repositioning via overlay coordinates. Required if any of anchor\_row\_index, anchor\_column\_index, offset\_x\_pixels, offset\_y\_pixels, width\_pixels, or height\_pixels is provided. This is mutually exclusive with new\_sheet and target\_sheet\_id.
>
> **offset\_x\_pixels** `integer`
>
> Horizontal pixel offset from the anchor cell. Only valid when anchor\_sheet\_id is provided. If omitted, Google Sheets preserves the existing horizontal offset.
>
> **offset\_y\_pixels** `integer`
>
> Vertical pixel offset from the anchor cell. Only valid when anchor\_sheet\_id is provided. If omitted, Google Sheets preserves the existing vertical offset.
>
> **target\_sheet\_id** `integer`
>
> The numeric sheetId of an existing sheet to move the chart to. The chart's anchor position on that sheet will remain unchanged. This is mutually exclusive with new\_sheet and anchor\_sheet\_id. Use 'Get Spreadsheet Info' to retrieve valid sheetIds.
>
> **anchor\_row\_index** `integer`
>
> The 0-based row index of the anchor cell for overlay positioning. Required if anchor\_sheet\_id is set. Must be used together with anchor\_column\_index.
>
> **anchor\_column\_index** `integer`
>
> The 0-based column index of the anchor cell for overlay positioning. Required if anchor\_sheet\_id is set. Must be used together with anchor\_row\_index.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Move Spreadsheet to Folder
>
> **Slug:** `GOOGLESHEETS_MOVE_SPREADSHEET_TO_FOLDER`
>
> Move an existing Google Spreadsheet to a different Google Drive folder.
>
> #### Input Parameters
>
> **spreadsheet\_id** `string` *required*
>
> ID of the existing Google Spreadsheet to move.
>
> **destination\_folder\_id** `string` *required*
>
> ID of the Google Drive folder that should become the spreadsheet's parent.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Mutate conditional format rules
>
> **Slug:** `GOOGLESHEETS_MUTATE_CONDITIONAL_FORMAT_RULES`
>
> Add, update, delete, or reorder conditional format rules on a Google Sheet. Use when you need to create, modify, or remove conditional formatting without manually building batchUpdate requests. Supports four operations: ADD (create new rule), UPDATE (replace existing rule), DELETE (remove rule), MOVE (reorder rules by changing index).
>
> #### Input Parameters
>
> **rule** `object`
>
> Conditional format rule specification.
>
> **index** `integer`
>
> Zero-based index for the operation. Required for UPDATE, DELETE, MOVE. Optional for ADD (defaults to end of list).
>
> **sheet\_id** `integer` *required*
>
> The unique numeric identifier of the sheet/tab to modify (NOT a zero-based index). This is a specific ID assigned by Google Sheets when the sheet is created, not the position of the sheet. You MUST first call GOOGLESHEETS\_GET\_SPREADSHEET\_INFO to retrieve the actual sheetId values from the 'sheets' array in the response. Common mistake: Do not assume sheet\_id=0 exists - while some spreadsheets may have a sheet with ID 0, many do not.
>
> **new\_index** `integer`
>
> Destination index for MOVE operation. Required when operation is MOVE.
>
> **operation** `string ("ADD" | "UPDATE" | "DELETE" | "MOVE")` *required*
>
> Operation type: ADD (add new rule), UPDATE (replace rule), DELETE (remove rule), MOVE (change rule order/index).
>
> **spreadsheet\_id** `string` *required*
>
> The ID of the spreadsheet containing the sheet to modify. Found in the Google Sheets URL between '/d/' and '/edit'.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Query Spreadsheet Table
>
> **Slug:** `GOOGLESHEETS_QUERY_TABLE`
>
> Executes SQL-like SELECT queries against detected tables in a native Google spreadsheet, with filtering, sorting, and limits. Sheet names can refer to the first detected table; detection and query processing are heuristic, and results may omit rows. DEPRECATED: Use GOOGLESHEETS\_VALUES\_GET or GOOGLESHEETS\_BATCH\_GET for table reads, and GOOGLESHEETS\_LOOKUP\_SPREADSHEET\_ROW for row lookup or filtering.
>
> #### Input Parameters
>
> **sql** `string` *required*
>
> SQL SELECT query. The table name is the Google Sheets tab/sheet name (visible at the bottom of the spreadsheet). Use GOOGLESHEETS\_LIST\_TABLES to discover available table names if unknown. Supported: SELECT cols FROM table WHERE conditions ORDER BY col LIMIT n. Table names must be quoted with double quotes if they contain spaces or are numeric-only (e.g., SELECT \* FROM "My Sheet" or SELECT \* FROM "415").
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of a native Google Sheets file. Found in the spreadsheet URL after /d/ (e.g., '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms'). Only native Google Sheets files (MIME type: application/vnd.google-apps.spreadsheet) are supported. Files uploaded to Google Drive that are not native Google Sheets (such as Excel .xlsx files, PDFs, or Google Docs) will not work even if they can be viewed in Google Sheets.
>
> **include\_formulas** `boolean`
>
> Whether to return formula text instead of calculated values for formula columns
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Search Developer Metadata
>
> **Slug:** `GOOGLESHEETS_SEARCH_DEVELOPER_METADATA`
>
> Tool to search for developer metadata in a spreadsheet. Use when you need to find specific metadata entries based on filters.
>
> #### Input Parameters
>
> **dataFilters** `array` *required*
>
> The data filters describing the criteria used to determine which DeveloperMetadata entries to return.
>
> **spreadsheetId** `string` *required*
>
> The ID of the spreadsheet to retrieve metadata from.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Search Spreadsheets
>
> **Slug:** `GOOGLESHEETS_SEARCH_SPREADSHEETS`
>
> Search for Google spreadsheets accessible in Drive by name, content, dates, and other filters, including starred and shared-with-me status. Results are paginated, with up to 1,000 items per page; shared drives are included by default and searches across them may be incomplete.
>
> #### Input Parameters
>
> **query** `string`
>
> Search query to filter spreadsheets. Behavior depends on the 'search\_type' parameter. For advanced searches, use Google Drive query syntax with fields like 'name contains', 'fullText contains', or boolean filters like 'sharedWithMe = true'. DO NOT use spreadsheet IDs as search terms. Leave empty to get all spreadsheets.
>
> **order\_by** `string`
>
> Sort order (comma-separated list for multi-field sorting). Valid fields: createdTime, folder, modifiedByMeTime, modifiedTime, name, name\_natural, quotaBytesUsed, recency, sharedWithMeTime, starred, viewedByMeTime. Append ' desc' for descending order (default is ascending). Examples: 'modifiedTime desc', 'folder,name', 'starred,modifiedTime desc'.
>
> **page\_token** `string`
>
> Token for retrieving the next page of results. Use the 'next\_page\_token' value from a previous response to get subsequent pages. Leave empty to get the first page.
>
> **max\_results** `integer`
>
> Maximum number of spreadsheets to return (1-1000). Defaults to 10.
>
> **search\_type** `string ("name" | "content" | "both")`
>
> How to search: 'name' searches filenames only (prefix matching from the START of filenames), 'content' uses fullText search which searches file content, name, description, and metadata (Google Drive API limitation: cannot search content exclusively without also matching filenames), 'both' explicitly searches both name OR content with an OR condition. Note: 'name' search only matches from the START of filenames (e.g., 'Budget' finds 'Budget 2024' but NOT 'Q1 Budget').
>
> **starred\_only** `boolean`
>
> Whether to return only starred spreadsheets. Defaults to False.
>
> **created\_after** `string`
>
> Return spreadsheets created after this date. Use RFC 3339 format like '2024-01-01T00:00:00Z'.
>
> **modified\_after** `string`
>
> Return spreadsheets modified after this date. Use RFC 3339 format like '2024-01-01T00:00:00Z'.
>
> **shared\_with\_me** `boolean`
>
> Whether to return only spreadsheets shared with the current user. Defaults to False.
>
> **include\_trashed** `boolean`
>
> Whether to include spreadsheets in trash. Defaults to False.
>
> **include\_shared\_drives** `boolean`
>
> Whether to include spreadsheets from shared drives you have access to. Defaults to True.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Set Basic Filter
>
> **Slug:** `GOOGLESHEETS_SET_BASIC_FILTER`
>
> Tool to set a basic filter on a sheet in a Google Spreadsheet. Use when you need to filter or sort data within a specific range on a sheet.
>
> #### Input Parameters
>
> **filter** `object` *required*
>
> The filter to set.
>
> **spreadsheetId** `string` *required*
>
> The ID of the spreadsheet.
>
> **responseRanges** `array`
>
> Limits the ranges included in the response spreadsheet. Meaningful only if includeSpreadsheetInResponse is true.
>
> **responseIncludeGridData** `boolean`
>
> True if grid data should be returned. Meaningful only if includeSpreadsheetInResponse is true. Ignored if a field mask was set in the request.
>
> **includeSpreadsheetInResponse** `boolean`
>
> Determines if the updated spreadsheet resource appears in the response. Default is false.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Set Data Validation Rule
>
> **Slug:** `GOOGLESHEETS_SET_DATA_VALIDATION_RULE`
>
> Tool to set or clear data validation rules (including dropdowns) on a range in Google Sheets. Use when you need to apply dropdown lists, range-based dropdowns, or custom formula validation to cells.
>
> #### Input Parameters
>
> **mode** `string ("SET" | "CLEAR")` *required*
>
> Operation mode: 'SET' applies a validation rule to the range, 'CLEAR' removes any existing validation from the range.
>
> **strict** `boolean`
>
> Whether to reject invalid data (true) or show a warning (false). Default is true.
>
> **values** `array`
>
> List of allowed values for dropdown. Required when validation\_type='ONE\_OF\_LIST'. Each item becomes a dropdown option.
>
> **formula** `string`
>
> Custom formula for validation. Required when validation\_type='CUSTOM\_FORMULA'. Formula should evaluate to TRUE/FALSE. Example: '=A1>10'.
>
> **sheet\_id** `integer` *required*
>
> The unique sheet ID (numeric identifier) where the validation rule will be applied. The first sheet created in a spreadsheet typically has ID 0, while additional sheets get unique IDs (e.g., 1534097477). If a sheet is deleted, its ID is never reused - so if the original first sheet (ID 0) was deleted, attempting to use 0 will fail. Always verify the actual sheet ID exists using GOOGLESHEETS\_GET\_SPREADSHEET\_INFO action (check 'sheets\[].properties.sheetId' field).
>
> **end\_row\_index** `integer` *required*
>
> Ending row index (0-based, exclusive) for the validation range. To apply to row 1 only, use start\_row\_index=0 and end\_row\_index=1.
>
> **input\_message** `string`
>
> Optional message shown to the user when they select the cell. Helpful hint about what values are expected.
>
> **show\_custom\_ui** `boolean`
>
> Whether to show a dropdown UI for list-based validation. Default is true. Set to true for dropdown lists.
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Sheets spreadsheet. Can be found in the spreadsheet URL between '/d/' and '/edit'.
>
> **source\_range\_a1** `string`
>
> Source range in A1 notation for dropdown values. Required when validation\_type='ONE\_OF\_RANGE'. Example: 'Sheet1!A1:A10' or 'A1:A10'.
>
> **start\_row\_index** `integer` *required*
>
> Starting row index (0-based, inclusive) for the validation range. Row 1 is index 0.
>
> **validation\_type** `string ("ONE_OF_LIST" | "ONE_OF_RANGE" | "CUSTOM_FORMULA" | "NUMBER_GREATER" | "NUMBER_GREATER_THAN_EQ" | "NUMBER_LESS" | "NUMBER_LESS_THAN_EQ" | "NUMBER_EQ" | "NUMBER_NOT_EQ" | "NUMBER_BETWEEN" | "NUMBER_NOT_BETWEEN" | "TEXT_CONTAINS" | "TEXT_NOT_CONTAINS" | "TEXT_EQ" | "TEXT_NOT_EQ" | "TEXT_IS_EMAIL" | "TEXT_IS_URL" | "DATE_EQ" | "DATE_BEFORE" | "DATE_AFTER" | "DATE_ON_OR_BEFORE" | "DATE_ON_OR_AFTER" | "DATE_BETWEEN" | "DATE_NOT_BETWEEN" | "DATE_NOT_EQ" | "DATE_IS_VALID" | "BLANK" | "NOT_BLANK" | "BOOLEAN")`
>
> Type of validation rule to apply. Required when mode='SET'. Dropdown types: 'ONE\_OF\_LIST' (dropdown from list), 'ONE\_OF\_RANGE' (dropdown from range). Number validations: 'NUMBER\_GREATER', 'NUMBER\_GREATER\_THAN\_EQ', 'NUMBER\_LESS', 'NUMBER\_LESS\_THAN\_EQ', 'NUMBER\_EQ', 'NUMBER\_NOT\_EQ', 'NUMBER\_BETWEEN', 'NUMBER\_NOT\_BETWEEN'. Text validations: 'TEXT\_CONTAINS', 'TEXT\_NOT\_CONTAINS', 'TEXT\_EQ', 'TEXT\_NOT\_EQ', 'TEXT\_IS\_EMAIL', 'TEXT\_IS\_URL' (Note: TEXT\_STARTS\_WITH and TEXT\_ENDS\_WITH are only for conditional formatting, not data validation). Date validations: 'DATE\_EQ', 'DATE\_BEFORE', 'DATE\_AFTER', 'DATE\_ON\_OR\_BEFORE', 'DATE\_ON\_OR\_AFTER', 'DATE\_BETWEEN', 'DATE\_NOT\_BETWEEN', 'DATE\_NOT\_EQ', 'DATE\_IS\_VALID'. Other: 'BLANK', 'NOT\_BLANK', 'BOOLEAN', 'CUSTOM\_FORMULA'.
>
> **condition\_values** `array`
>
> Generic list of condition values for validation types that require specific values (e.g., NUMBER\_GREATER requires one value, NUMBER\_BETWEEN requires two values, TEXT\_CONTAINS requires one value). For simple validations like TEXT\_IS\_EMAIL, BLANK, NOT\_BLANK, BOOLEAN, DATE\_IS\_VALID, this can be omitted. Each value should be a string that will be parsed by Google Sheets.
>
> **end\_column\_index** `integer` *required*
>
> Ending column index (0-based, exclusive) for the validation range. To apply to column A only, use start\_column\_index=0 and end\_column\_index=1.
>
> **start\_column\_index** `integer` *required*
>
> Starting column index (0-based, inclusive) for the validation range. Column A is index 0.
>
> **filtered\_rows\_included** `boolean`
>
> Whether to apply validation to rows hidden by filters. Default is false. Set to true to ensure validation applies to both visible and filtered rows.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create sheet from JSON
>
> **Slug:** `GOOGLESHEETS_SHEET_FROM_JSON`
>
> DEPRECATED: Creates a new Google Spreadsheet and populates its first worksheet from JSON rows; an empty list creates an empty worksheet. Headers use keys from the first row followed by additional keys found in later rows.
>
> #### Input Parameters
>
> **title** `string` *required*
>
> The desired title for the new Google Spreadsheet.
>
> **sheet\_json** `array` *required*
>
> A list of dictionaries representing the rows of the sheet. Each dictionary must have the same set of keys, which will form the header row. Values can be strings, numbers, booleans, or null (represented as empty cells). An empty list \[] is allowed and will create a spreadsheet with an empty worksheet.
>
> **sheet\_name** `string` *required*
>
> The name for the first worksheet within the newly created spreadsheet. This name will appear as a tab at the bottom of the sheet.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Sort Range
>
> **Slug:** `GOOGLESHEETS_SORT_RANGE`
>
> Sorts data within a specified range in a Google Sheet based on one or more sort criteria. Use this action when you need to reorder rows in a range by column values, with support for multi-level (cascading) sorts.
>
> #### Input Parameters
>
> **range** `object` *required*
>
> The range to sort. All cells in this range will be reordered based on the sort specifications.
>
> **sortSpecs** `array` *required*
>
> The sort order per column. Later specifications are used when values are equal in the earlier specifications (cascading sort). At least one sort specification is required.
>
> **responseRanges** `array`
>
> Limits the ranges included in the response spreadsheet. Meaningful only if includeSpreadsheetInResponse is true.
>
> **spreadsheet\_id** `string` *required*
>
> The ID of the spreadsheet.
>
> **responseIncludeGridData** `boolean`
>
> True if grid data should be returned. Meaningful only if includeSpreadsheetInResponse is true.
>
> **includeSpreadsheetInResponse** `boolean`
>
> Determines if the updated spreadsheet resource appears in the response. Default is false.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Copy Sheet to Another Spreadsheet
>
> **Slug:** `GOOGLESHEETS_SPREADSHEETS_SHEETS_COPY_TO`
>
> Tool to copy a single sheet from a spreadsheet to another spreadsheet. Use when you need to duplicate a sheet into a different spreadsheet.
>
> #### Input Parameters
>
> **sheet\_id** `integer` *required*
>
> The ID of the sheet to copy.
>
> **spreadsheet\_id** `string` *required*
>
> The ID of the spreadsheet containing the sheet to copy.
>
> **destination\_spreadsheet\_id** `string` *required*
>
> The ID of the spreadsheet to copy the sheet to.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Append Values to Spreadsheet
>
> **Slug:** `GOOGLESHEETS_SPREADSHEETS_VALUES_APPEND`
>
> Tool to append values to a spreadsheet. Use when you need to add new data to the end of an existing table in a Google Sheet.
>
> #### Input Parameters
>
> **range** `string` *required*
>
> A1 notation range used to locate a logical table. New rows are appended after the last row of that table within this range. First call GOOGLESHEETS\_GET\_SHEET\_NAMES with this exact spreadsheet\_id and use one of the returned sheet names; sheet names are case-sensitive and default names like 'Sheet1' are unsafe guesses. Valid formats: exact sheet name only (e.g., 'Sales Data'), sheet-qualified column range (e.g., 'Sales Data!A:D'), or sheet-qualified cell range (e.g., 'Sales Data!A1:D100'). Do not pass bare ranges like 'A:F' or 'A1:D100' because they omit the sheet name. If the needed sheet is not returned, create it or ask the user instead of inventing a name. Sheet names with spaces need single quotes (auto-added). IMPORTANT: The append may land in different columns than specified due to API table detection. For strict column placement, use GOOGLESHEETS\_SPREADSHEETS\_VALUES\_UPDATE instead. Always check updates.updatedRange in the response to verify where data was actually written.
>
> **values** `array` *required*
>
> 2D array of values to append. Typically, each inner list is a ROW (majorDimension=ROWS). Use null/None for empty cells.
>
> **spreadsheetId** `string` *required*
>
> The spreadsheet ID (typically 44 characters containing letters, numbers, hyphens, and underscores). Found in the URL between /d/ and /edit. NOT the sheet name (tab name) - that belongs in the 'range' parameter.
>
> **majorDimension** `string ("ROWS" | "COLUMNS")`
>
> How to interpret the 2D values array. Use ROWS for row-wise data (most common for appends). Use COLUMNS for column-wise data. Example: if A1=1,B1=2,A2=3,B2=4 then majorDimension=ROWS yields \[\[1,2],\[3,4]] and majorDimension=COLUMNS yields \[\[1,3],\[2,4]].
>
> **insertDataOption** `string ("OVERWRITE" | "INSERT_ROWS")`
>
> How the input data should be inserted.
>
> **valueInputOption** `string ("RAW" | "USER_ENTERED")` *required*
>
> How the input data should be interpreted.
>
> **includeValuesInResponse** `boolean`
>
> Determines if the update response should include the values of the cells that were appended. By default, responses do not include the updated values.
>
> **responseValueRenderOption** `string ("FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA")`
>
> Determines how values in the response should be rendered. The default render option is FORMATTED\_VALUE.
>
> **responseDateTimeRenderOption** `string ("SERIAL_NUMBER" | "FORMATTED_STRING")`
>
> Determines how dates, times, and durations in the response should be rendered. This is ignored if responseValueRenderOption is FORMATTED\_VALUE. The default dateTime render option is SERIAL\_NUMBER.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Batch Clear Spreadsheet Values
>
> **Slug:** `GOOGLESHEETS_SPREADSHEETS_VALUES_BATCH_CLEAR`
>
> Tool to clear one or more ranges of values from a spreadsheet. Use when you need to remove data from specific cells or ranges while keeping formatting and other properties intact.
>
> #### Input Parameters
>
> **ranges** `array` *required*
>
> The ranges to clear, in A1 notation (e.g., 'Sheet1!A1:B2') or R1C1 notation. Each range should be a clean string without surrounding brackets or extra quotes. Valid examples: 'Sheet1!A1:B2', 'A1:Z100', 'Sheet1'. Invalid examples: "\['Sheet1!A1:B2']", '\[Sheet1!A1]'.
>
> **spreadsheet\_id** `string` *required*
>
> The ID of the spreadsheet to update. Can be either a spreadsheet ID or a full Google Sheets URL (the ID will be extracted automatically).
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Batch Get Spreadsheet Values by Data Filter
>
> **Slug:** `GOOGLESHEETS_SPREADSHEETS_VALUES_BATCH_GET_BY_DATA_FILTER`
>
> Retrieves one or more ranges of values from a Google Spreadsheet using data filters. Each filter specifies an A1 range or a grid range.
>
> #### Input Parameters
>
> **dataFilters** `array` *required*
>
> Required. An array of data filter objects used to match ranges of values to retrieve. Each filter can specify either 'a1Range' (e.g., 'Sheet1!A1:B5') or 'gridRange'. Must be provided as a list, e.g., \[\{'a1Range': 'Sheet1!A1:B5'}]. A single filter object will be automatically wrapped in a list.
>
> **spreadsheetId** `string` *required*
>
> The ID of the spreadsheet to retrieve data from. This is the unique identifier found in the spreadsheet URL (e.g., in '[https://docs.google.com/spreadsheets/d/SPREADSHEET\_ID/edit](https://docs.google.com/spreadsheets/d/SPREADSHEET_ID/edit)', the ID is the SPREADSHEET\_ID part). Typical Google Sheets IDs are approximately 44 characters long and contain alphanumeric characters, hyphens, and underscores.
>
> **majorDimension** `string ("ROWS" | "COLUMNS")`
>
> The major dimension that results should use. For example, if the spreadsheet data is: A1=1,B1=2,A2=3,B2=4, then a request that selects that range and sets majorDimension=ROWS returns \[\[1,2],\[3,4]], whereas a request that sets majorDimension=COLUMNS returns \[\[1,3],\[2,4]].
>
> **valueRenderOption** `string ("FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA")`
>
> How values should be represented in the output. The default render option is FORMATTED\_VALUE.
>
> **dateTimeRenderOption** `string ("SERIAL_NUMBER" | "FORMATTED_STRING")`
>
> How dates, times, and durations should be represented in the output. This is ignored if valueRenderOption is FORMATTED\_VALUE. The default dateTime render option is SERIAL\_NUMBER.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Chart in Google Sheets
>
> **Slug:** `GOOGLESHEETS_UPDATE_CHART`
>
> Updates an existing chart in a Google Sheets spreadsheet by replacing its chart specification. The specification can change its title, chart type, data ranges, colors, axes, and other visual settings without moving or resizing the chart.
>
> #### Input Parameters
>
> **chart\_id** `integer` *required*
>
> The unique numeric identifier of the chart to update within the spreadsheet. This is the chartId value returned when the chart was created or can be retrieved using the 'Get Spreadsheet Info' action (look for sheets\[].charts\[].chartId in the response). The chart must already exist in the specified spreadsheet.
>
> **chart\_spec** `object` *required*
>
> The complete ChartSpec object defining the updated chart specification. This replaces the chart's existing specification but does not move or resize the chart. Must set exactly one chart type field: basicChart, pieChart, bubbleChart, candlestickChart, histogramChart, treemapChart, waterfallChart, orgChart, or scorecardChart. To change chart position or size, use a separate UpdateEmbeddedObjectPosition request. See [https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/charts#ChartSpec](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/charts#ChartSpec)
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Sheets spreadsheet containing the chart to update. Must be the actual spreadsheet ID from the URL (e.g., '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms'), NOT the spreadsheet name or title. Find it in the URL: [https://docs.google.com/spreadsheets/d/SPREADSHEET\_ID/edit](https://docs.google.com/spreadsheets/d/SPREADSHEET_ID/edit)
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Dimension Properties (Hide/Unhide & Resize)
>
> **Slug:** `GOOGLESHEETS_UPDATE_DIMENSION_PROPERTIES`
>
> Tool to hide/unhide rows or columns and set row heights or column widths. Use when you need to change visibility or pixel sizing of dimensions in a Google Sheet.
>
> #### Input Parameters
>
> **sheet\_id** `integer`
>
> The numeric ID of the sheet (tab). Either sheet\_id or sheet\_name must be provided. If both are provided, sheet\_name will be resolved to sheet\_id and override this value.
>
> **dimension** `string ("ROWS" | "COLUMNS")` *required*
>
> Whether to update rows or columns.
>
> **end\_index** `integer` *required*
>
> The zero-based end index (exclusive) of the dimension range to update. For example, to update rows 5-9, use start\_index=5 and end\_index=10.
>
> **pixel\_size** `integer`
>
> The height (for rows) or width (for columns) in pixels. Must be a positive integer. At least one of hidden\_by\_user or pixel\_size must be provided.
>
> **sheet\_name** `string`
>
> The name of the sheet (tab). If provided, this will be resolved to the numeric sheet\_id using GOOGLESHEETS\_GET\_SPREADSHEET\_INFO. Either sheet\_id or sheet\_name must be provided.
>
> **start\_index** `integer` *required*
>
> The zero-based start index (inclusive) of the dimension range to update. For rows, 0 is the first row; for columns, 0 is column A.
>
> **hidden\_by\_user** `boolean`
>
> Whether to hide (true) or unhide (false) the specified rows/columns. At least one of hidden\_by\_user or pixel\_size must be provided.
>
> **spreadsheet\_id** `string` *required*
>
> The ID of the spreadsheet to update.
>
> **response\_ranges** `array`
>
> Limits the ranges included in the response spreadsheet (only if includeSpreadsheetInResponse is true).
>
> **response\_include\_grid\_data** `boolean`
>
> Whether to include grid data in the response (only if includeSpreadsheetInResponse is true).
>
> **include\_spreadsheet\_in\_response** `boolean`
>
> Whether to include the updated spreadsheet in the response.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Sheet Properties
>
> **Slug:** `GOOGLESHEETS_UPDATE_SHEET_PROPERTIES`
>
> Tool to update properties of a sheet (worksheet) within a Google Spreadsheet, such as its title, index, visibility, tab color, or grid properties. Use this when you need to modify the metadata or appearance of a specific sheet.
>
> #### Input Parameters
>
> **spreadsheetId** `string` *required*
>
> The ID of the spreadsheet containing the sheet to update.
>
> **responseRanges** `array`
>
> Limits the ranges included in the response spreadsheet. Meaningful only if includeSpreadsheetInResponse is true. Ranges should be in A1 notation (e.g., 'Sheet1!A1:B2').
>
> **updateSheetProperties** `object` *required*
>
> The details of the sheet properties to update.
>
> **responseIncludeGridData** `boolean`
>
> True if grid data should be returned. Meaningful only if includeSpreadsheetInResponse is true. When true, the response will include cell data for the specified ranges.
>
> **includeSpreadsheetInResponse** `boolean`
>
> Determines if the update response should include the spreadsheet resource. When true, the response will include the full updated spreadsheet.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Spreadsheet Properties
>
> **Slug:** `GOOGLESHEETS_UPDATE_SPREADSHEET_PROPERTIES`
>
> Tool to update SPREADSHEET-LEVEL properties such as the spreadsheet's title, locale, time zone, or auto-recalculation settings. Use when you need to modify the overall configuration of a Google Spreadsheet. NOTE: To update individual SHEET properties (like renaming a specific sheet/tab), use GOOGLESHEETS\_UPDATE\_SHEET\_PROPERTIES instead.
>
> #### Input Parameters
>
> **fields** `string` *required*
>
> Field mask specifying which properties to update (comma-separated for multiple fields). Supports nested paths using dot notation (e.g., 'iterativeCalculationSettings.maxIterations') per Protocol Buffers FieldMask specification. The root 'properties' is implied and must not be included. Special case: When updating 'spreadsheetTheme', use the field mask 'spreadsheetTheme' (not nested paths like 'spreadsheetTheme.primaryFontFamily') and provide the complete theme object with all required fields. Wildcard '\*' updates all properties.
>
> **properties** `object` *required*
>
> The spreadsheet-level properties to update (e.g., title, locale, timeZone, autoRecalc). At least one field within properties must be set. NOTE: To update individual sheet/tab properties (like renaming a specific sheet), use GOOGLESHEETS\_UPDATE\_SHEET\_PROPERTIES instead.
>
> **spreadsheetId** `string` *required*
>
> The ID of the spreadsheet to update.
>
> **responseRanges** `array`
>
> Limits the ranges included in the response spreadsheet. Only meaningful if includeSpreadsheetInResponse is true. Ranges should be in A1 notation (e.g., 'Sheet1!A1:B2').
>
> **responseIncludeGridData** `boolean`
>
> Determines if grid data (cell values) should be included in the response. Only meaningful if includeSpreadsheetInResponse is true. When true, the response will include cell data for the specified ranges or entire spreadsheet.
>
> **includeSpreadsheetInResponse** `boolean`
>
> Determines if the update response should include the full spreadsheet resource. When true, the response will include the entire updated spreadsheet with all sheets, properties, and metadata.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Batch update spreadsheet values
>
> **Slug:** `GOOGLESHEETS_UPDATE_VALUES_BATCH`
>
> Tool to set values in one or more ranges of a spreadsheet. Use when you need to update multiple ranges in a single operation for better performance.
>
> #### Input Parameters
>
> **data** `array` *required*
>
> The new values to apply to the spreadsheet. Each ValueRange specifies a range and the values to write to that range. Multiple ranges can be updated in a single request.
>
> **spreadsheet\_id** `string` *required*
>
> The ID of the spreadsheet to update. This ID can be found in the URL of the spreadsheet (e.g., [https://docs.google.com/spreadsheets/d/\&#123;spreadsheet\_id\&#125;/edit](https://docs.google.com/spreadsheets/d/\&#123;spreadsheet_id\&#125;/edit)). Must be a valid Google Sheets spreadsheet ID.
>
> **valueInputOption** `string ("INPUT_VALUE_OPTION_UNSPECIFIED" | "RAW" | "USER_ENTERED")` *required*
>
> How the input data should be interpreted. RAW: Values are stored exactly as entered, without parsing. USER\_ENTERED: Values are parsed as if typed by a user (numbers stay numbers, strings prefixed with '=' become formulas, etc.). INPUT\_VALUE\_OPTION\_UNSPECIFIED: Default input value option is not specified.
>
> **includeValuesInResponse** `boolean`
>
> Determines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values.
>
> **responseValueRenderOption** `string ("FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA")`
>
> Determines how values in the response should be rendered. Only used if includeValuesInResponse is true. FORMATTED\_VALUE (default): Values are formatted as displayed in the UI. UNFORMATTED\_VALUE: Values are unformatted. FORMULA: Formulas are not evaluated.
>
> **responseDateTimeRenderOption** `string ("SERIAL_NUMBER" | "FORMATTED_STRING")`
>
> Determines how dates, times, and durations in the response should be rendered. Only used if includeValuesInResponse is true. SERIAL\_NUMBER (default): Dates are returned as numbers. FORMATTED\_STRING: Dates are returned as formatted strings.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Upsert Rows (Smart Update/Insert)
>
> **Slug:** `GOOGLESHEETS_UPSERT_ROWS`
>
> Upserts rows in a Google Sheet by matching a key column: updates matching rows and appends new ones. It maps columns by header name, adds missing columns, and supports partial updates.
>
> #### Input Parameters
>
> **rows** `array` *required*
>
> 2D array of data rows to upsert. IMPORTANT: If 'headers' is NOT provided, the FIRST row is treated as column headers and remaining rows as data - so you need at least 2 rows (1 header + 1 data). If 'headers' IS provided separately, then ALL rows in this array are treated as data rows. Each row should have the same number of values as headers. If a row has MORE values than headers: with strict\_mode=true (default), an error is returned showing which rows are affected; with strict\_mode=false, extra values are silently truncated. If a row has FEWER values than headers, an error is returned during execution. Cell values can be strings, numbers, booleans, or null. Example with headers provided: headers=\['Email','Status'], rows=\[\['[john@ex.com](mailto:john@ex.com)','Active']] (1 data row). Example without headers: rows=\[\['Email','Status'],\['[john@ex.com](mailto:john@ex.com)','Active']] (row 1 = headers, row 2 = data).
>
> **headers** `array`
>
> List of column names for the data. These will be matched against sheet headers. If a column doesn't exist in the sheet, it will be added automatically. Order doesn't need to match sheet order. Can be auto-derived from the first row in 'rows' if not provided. Example inputs: \['Email', 'Phone', 'Status'] for contact updates, \['Lead ID', 'Name', 'Score'] for CRM, \['SKU', 'Stock', 'Price'] for inventory.
>
> **keyColumn** `string`
>
> The column NAME (header text) to use as unique identifier for matching rows. Must be an actual header name from the sheet (e.g., 'Email', 'Lead ID', 'SKU'), NOT a column letter (e.g., 'A', 'B', 'C'). If you provide a column letter like 'A', it will be automatically converted to the header name at that column position. If neither 'key\_column' nor 'key\_column\_index' is provided, defaults to the first column (index 0).
>
> **sheetName** `string` *required*
>
> The name of the sheet/tab within the spreadsheet. Note: Google Sheets creates default sheets with localized names based on account language (e.g., 'Sheet1' for English, '工作表1' for Chinese, 'Hoja1' for Spanish, 'Feuille1' for French, 'Planilha1' for Portuguese, 'Лист1' for Russian). If you specify a common default name and the sheet is not found, the action will automatically use the first sheet if only one exists.
>
> **strictMode** `boolean`
>
> Controls how rows with mismatched column counts are handled. When True (default), an error is returned if any row has more values than headers - the error message shows exactly which rows are affected and what values would need to be removed. When False, extra values are silently truncated to match the header count. Set to False only if you explicitly want automatic truncation of extra values.
>
> **tableStart** `string`
>
> Cell where the table starts (where headers are located). Defaults to 'A1'. Use this if your table is offset (e.g., 'C5', 'D10').
>
> **spreadsheetId** `string` *required*
>
> The ID of the spreadsheet. Must be a non-empty string, typically a 44-character alphanumeric string found in the spreadsheet URL.
>
> **key\_column\_index** `string`
>
> The 0-based column index to use as unique identifier for matching rows. Alternative to 'key\_column' - will be converted to column name using headers. If neither 'key\_column' nor 'key\_column\_index' is provided, defaults to 0 (first column). Example: 0 for first column, 1 for second column.
>
> **normalization\_message** `string`
>
> Internal field to track input normalization (e.g., row truncation). Not part of API.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get spreadsheet values
>
> **Slug:** `GOOGLESHEETS_VALUES_GET`
>
> Returns a range of values from a spreadsheet. Use when you need to read data from specific cells or ranges in a Google Sheet.
>
> #### Input Parameters
>
> **range** `string` *required*
>
> The A1 notation or R1C1 notation of the range to retrieve values from. If the sheet name contains spaces or special characters, wrap the sheet name in single quotes (e.g., "'My Sheet'!A1:B2"). Without single quotes, the API will return a 400 error for sheet names with spaces. Examples: 'Sheet1!A1:B3', "'Sheet With Spaces'!A1:D5", 'A1:D5' (no sheet name uses first visible sheet), 'Sheet1!A:A' (entire column), 'SheetName' (entire sheet).
>
> **end\_row** `integer`
>
> 1-based row number to stop reading at (inclusive). Use with start\_row for pagination to avoid large response errors. Example: start\_row=501, end\_row=1000 fetches rows 501-1000.
>
> **start\_row** `integer`
>
> 1-based row number to start reading from (inclusive). Use with end\_row for pagination to avoid large response errors. Example: start\_row=1, end\_row=500 fetches the first 500 rows.
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet from which to retrieve values. This is the long alphanumeric string found in the spreadsheet URL between '/d/' and '/edit' (e.g., '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms'). WARNING: Do NOT use the spreadsheet name or title (e.g., 'My Sales Report'); you must use the actual ID from the URL.
>
> **major\_dimension** `string ("DIMENSION_UNSPECIFIED" | "ROWS" | "COLUMNS")`
>
> The major dimension for results.
>
> **value\_render\_option** `string ("FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA")`
>
> How values should be rendered in the output. FORMATTED\_VALUE: Values are calculated and formatted (default). UNFORMATTED\_VALUE: Values are calculated but not formatted. FORMULA: Values are not calculated; the formula is returned instead.
>
> **date\_time\_render\_option** `string ("SERIAL_NUMBER" | "FORMATTED_STRING")`
>
> How dates, times, and durations should be represented in the output. SERIAL\_NUMBER: Dates are returned as serial numbers (default). FORMATTED\_STRING: Dates returned as formatted strings.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update spreadsheet values
>
> **Slug:** `GOOGLESHEETS_VALUES_UPDATE`
>
> Sets or overwrites values in a Google Spreadsheet range, adjusting the range to fit the supplied values and potentially expanding the sheet by default. Unmatched common default sheet names may resolve to the first sheet.
>
> #### Input Parameters
>
> **range** `string` *required*
>
> The A1 notation of the range to update values in (e.g., 'Sheet1!A1:C2', 'MySheet!C:C', or 'A1:D5'). Wrap sheet names containing spaces or special characters in single quotes; escape an apostrophe within a quoted sheet name by doubling it (e.g., "'\[Draft] Fall''26'!A1:B2"). Must be actual cell references, not placeholder values. If the sheet name is omitted (e.g., 'A1:B2'), the operation applies to the first visible sheet. IMPORTANT: The range must not exceed the sheet's grid dimensions. By default, new sheets have 1000 rows and 26 columns (A-Z). If you need to write to columns beyond Z (e.g., AA, AB), first expand the sheet using GOOGLESHEETS\_APPEND\_DIMENSION or check the current dimensions using GOOGLESHEETS\_GET\_SPREADSHEET\_INFO.
>
> **values** `array` *required*
>
> The data to write. This is an array of arrays, the outer array representing all the data and each inner array representing a major dimension. Each item in the inner array corresponds with one cell.
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet to update. This ID can be found in the URL of the spreadsheet (e.g., [https://docs.google.com/spreadsheets/d/\&#123;spreadsheet\_id\&#125;/edit](https://docs.google.com/spreadsheets/d/\&#123;spreadsheet_id\&#125;/edit)). Must be a non-empty string.
>
> **major\_dimension** `string ("ROWS" | "COLUMNS")`
>
> The major dimension of the values. ROWS (default) means each inner array is a row of values. COLUMNS means each inner array is a column of values. Defaults to ROWS if unspecified.
>
> **auto\_expand\_sheet** `boolean`
>
> If True (default), automatically expands the sheet's dimensions (adds columns/rows) when the target range exceeds the current grid limits. If False, the operation will fail with an error if the range exceeds grid limits.
>
> **value\_input\_option** `string ("RAW" | "USER_ENTERED")` *required*
>
> How the input data should be interpreted. RAW: Values are stored exactly as entered, without parsing (dates, formulas, etc. remain as strings). USER\_ENTERED: Values are parsed as if typed by a user (numbers stay numbers, strings prefixed with '=' become formulas, etc.).
>
> **include\_values\_in\_response** `boolean`
>
> Determines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values.
>
> **response\_value\_render\_option** `string ("FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA")`
>
> Determines how values in the response should be rendered. Only used if includeValuesInResponse is true. FORMATTED\_VALUE (default): Values are formatted as displayed in the UI. UNFORMATTED\_VALUE: Values are unformatted (numbers, booleans, formulas). FORMULA: Formulas are not evaluated and remain as text.
>
> **response\_datetime\_render\_option** `string ("SERIAL_NUMBER" | "FORMATTED_STRING")`
>
> Determines how dates, times, and durations in the response should be rendered. Only used if includeValuesInResponse is true. SERIAL\_NUMBER (default): Dates are returned as numbers. FORMATTED\_STRING: Dates are returned as strings formatted per the cell's locale.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

## Triggers

> [accordion] Aggregate Metric Changed
>
> **Slug:** `GOOGLESHEETS_AGGREGATE_METRIC_CHANGED_TRIGGER`
>
> **Type:** poll
>
> Triggers when an aggregate metric (SUM/COUNT/AVG/MIN/MAX) changes in a Google Sheets spreadsheet. This trigger monitors an aggregate calculation on a target column (optionally filtered by a search column/value) and fires when the calculated result changes.
>
> #### Configuration
>
> **case\_sensitive** `boolean`
>
> Whether the search should be case-sensitive when filtering by search\_column and search\_value.
>
> **has\_header\_row** `boolean`
>
> Whether the first row contains column headers. If True, column names can be used for search\_column and target\_column.
>
> **interval** `number`
>
> Periodic Interval to Check for Updates & Send a Trigger in Minutes
>
> **operation** `string` *required*
>
> The mathematical operation to perform on the target column values. Supported operations: sum, average, count, min, max, percentage.
>
> **percentage\_total** `number`
>
> For percentage operation, the total value to calculate percentage against. If not provided, uses sum of all values in target column.
>
> **search\_column** `string`
>
> The column to search in for filtering rows. Can be a letter (e.g., 'A', 'B') or column name from header row (e.g., 'Region', 'Department'). If not provided, all rows in the target column will be aggregated without filtering.
>
> **search\_value** `string`
>
> The exact value to search for in the search column. Case-sensitive by default. If not provided (or if search\_column is not provided), all rows in the target column will be aggregated without filtering.
>
> **sheet\_name** `string` *required*
>
> The name of the specific sheet within the spreadsheet to monitor. Matching is case-insensitive. If no exact match is found, partial matches will be attempted (e.g., 'overview' will match 'Overview 2025').
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Sheets spreadsheet to monitor. This is the long alphanumeric string found in the spreadsheet URL between '/d/' and '/edit'.
>
> **target\_column** `string` *required*
>
> The column to aggregate data from. Can be a letter (e.g., 'C', 'D') or column name from header row (e.g., 'Sales', 'Revenue').
>
> #### Payload
>
> **current\_result** `number` *required*
>
> The current aggregate metric value
>
> **detected\_at** `string` *required*
>
> ISO timestamp when the change was detected
>
> **event\_type** `string`
>
> Type of event that occurred
>
> **matching\_rows\_count** `integer` *required*
>
> Number of rows that matched the search condition
>
> **operation** `string` *required*
>
> The aggregation operation performed
>
> **previous\_result** `number` *required*
>
> The previous aggregate metric value
>
> **processed\_values\_count** `integer` *required*
>
> Number of values that were processed in the aggregation
>
> **search\_details** `object` *required*
>
> Details of the search/filter used to select rows prior to aggregation
>
> **sheet\_name** `string` *required*
>
> The sheet name
>
> **spreadsheet\_id** `string` *required*
>
> The spreadsheet ID

> [accordion] Cell Range Values Changed
>
> **Slug:** `GOOGLESHEETS_CELL_RANGE_VALUES_CHANGED_TRIGGER`
>
> **Type:** poll
>
> Triggers when values in a specified A1 range change in Google Sheets. This trigger monitors a specific cell or range of cells and fires when any values change.
>
> #### Configuration
>
> **interval** `number`
>
> Periodic Interval to Check for Updates & Send a Trigger in Minutes
>
> **range** `string` *required*
>
> The A1 notation of the range to monitor for changes (can be a single cell or multi-cell range). If the sheet name contains spaces or special characters, wrap the sheet name in single quotes.
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet to monitor. This is the long alphanumeric string found in the spreadsheet URL between '/d/' and '/edit'.
>
> #### Payload
>
> **current\_values** `array` *required*
>
> The current values in the range
>
> **detected\_at** `string` *required*
>
> ISO timestamp when the change was detected
>
> **event\_type** `string`
>
> Type of event that occurred
>
> **previous\_values** `array` *required*
>
> The previous values in the range
>
> **range** `string` *required*
>
> The A1 notation of the monitored range
>
> **spreadsheet\_id** `string` *required*
>
> The spreadsheet ID

> [accordion] Conditional Format Rule Changed
>
> **Slug:** `GOOGLESHEETS_CONDITIONAL_FORMAT_RULE_CHANGED_TRIGGER`
>
> **Type:** poll
>
> Triggers when conditional formatting rules change in a Google Spreadsheet. Detects when rules are added, updated, or removed. Uses snapshot-based diffing to detect changes between polls.
>
> #### Configuration
>
> **interval** `number`
>
> Periodic Interval to Check for Updates & Send a Trigger in Minutes
>
> **sheet\_id** `integer`
>
> Optional filter: monitor only the sheet with this exact numeric sheetId. If not provided, monitors all sheets. If both sheet\_title and sheet\_id are provided, sheet\_id takes precedence.
>
> **sheet\_title** `string`
>
> Optional filter: monitor only the sheet with this exact title. If not provided, monitors all sheets.
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet to monitor for conditional formatting rule changes
>
> #### Payload
>
> **change\_type** `string` *required*
>
> Type of change: 'added', 'updated', or 'removed'
>
> **detected\_at** `string` *required*
>
> ISO timestamp when the change was detected
>
> **rules** `array` *required*
>
> List of rules that changed
>
> **spreadsheet\_id** `string` *required*
>
> The spreadsheet ID

> [accordion] Data Validation Rule Changed
>
> **Slug:** `GOOGLESHEETS_DATA_VALIDATION_RULE_CHANGED_TRIGGER`
>
> **Type:** poll
>
> Triggers when data validation rules change (added/updated/removed) in a Google Spreadsheet. Uses snapshot-based diffing to detect changes between polls.
>
> #### Configuration
>
> **interval** `number`
>
> Periodic Interval to Check for Updates & Send a Trigger in Minutes
>
> **ranges** `array`
>
> Optional list of A1 ranges to monitor. If omitted, the entire sheet(s) will be monitored.
>
> **sheet\_id** `integer`
>
> Optional sheet ID to filter by. If omitted, all sheets will be monitored.
>
> **sheet\_title** `string`
>
> Optional sheet title to filter by. If omitted, all sheets will be monitored.
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet to monitor for data validation rule changes.
>
> #### Payload
>
> **change\_type** `string` *required*
>
> Type of change: 'added', 'updated', or 'removed'
>
> **detected\_at** `string` *required*
>
> ISO timestamp when the change was detected
>
> **rules** `array` *required*
>
> List of validation rules that changed
>
> **spreadsheet\_id** `string` *required*
>
> The spreadsheet ID

> [accordion] Developer Metadata Changed
>
> **Slug:** `GOOGLESHEETS_DEVELOPER_METADATA_CHANGED_TRIGGER`
>
> **Type:** poll
>
> Triggers when developer metadata entries change (new/updated/removed) in a Google Spreadsheet. Uses snapshot-based diffing to detect changes between polls.
>
> #### Configuration
>
> **data\_filters** `array`
>
> The data filters describing the criteria used to determine which DeveloperMetadata entries to monitor. If not specified, monitors all developer metadata.
>
> **interval** `number`
>
> Periodic Interval to Check for Updates & Send a Trigger in Minutes
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet to monitor for developer metadata changes.
>
> #### Payload
>
> **change\_type** `string` *required*
>
> Type of change: 'created', 'updated', or 'removed'
>
> **detected\_at** `string` *required*
>
> ISO timestamp when the change was detected
>
> **metadata\_items** `array` *required*
>
> List of metadata items that changed
>
> **spreadsheet\_id** `string` *required*
>
> The spreadsheet ID

> [accordion] Filtered Range Values Changed
>
> **Slug:** `GOOGLESHEETS_FILTERED_RANGE_VALUES_CHANGED_TRIGGER`
>
> **Type:** poll
>
> Polling trigger that monitors Google Sheets filtered ranges for value changes. Uses snapshot-based diffing to detect when values matching a data filter change. Emits the matched values when changes are detected.
>
> #### Configuration
>
> **data\_filters** `array` *required*
>
> List of data filters specifying which ranges to monitor for changes. Each filter can specify either 'a1Range' (e.g., 'Sheet1!A1:B10') or 'gridRange'.
>
> **interval** `number`
>
> Periodic Interval to Check for Updates & Send a Trigger in Minutes
>
> **major\_dimension** `string ("ROWS" | "COLUMNS")`
>
> The major dimension that results should use. ROWS returns \[\[1,2],\[3,4]], COLUMNS returns \[\[1,3],\[2,4]]
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet to monitor
>
> **value\_render\_option** `string ("FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA")`
>
> How values should be represented in the output
>
> #### Payload
>
> **change\_type** `string ("created" | "updated" | "deleted")` *required*
>
> Type of change detected
>
> **detected\_at** `string` *required*
>
> ISO timestamp when the change was detected
>
> **new\_values** `array` *required*
>
> Current values in the range
>
> **old\_values** `array`
>
> Previous values in the range (None if new)
>
> **range\_identifier** `string` *required*
>
> The A1 notation or identifier of the range that changed
>
> **spreadsheet\_id** `string` *required*
>
> The spreadsheet ID

> [accordion] New Rows in Google Sheet
>
> **Slug:** `GOOGLESHEETS_NEW_ROWS_TRIGGER`
>
> **Type:** poll
>
> Simple polling trigger that monitors Google Sheets for new rows. Detects when new rows are added and returns the complete row data. Perfect for triggering any workflow based on new sheet entries.
>
> #### Configuration
>
> **interval** `number`
>
> Periodic Interval to Check for Updates & Send a Trigger in Minutes
>
> **sheet\_name** `string`
>
> The name of the specific sheet within the spreadsheet to monitor
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet to monitor
>
> **start\_row** `integer`
>
> The row number to start monitoring from (1-indexed, typically 2 to skip headers)
>
> #### Payload
>
> **detected\_at** `string` *required*
>
> ISO timestamp when the row was detected
>
> **row\_data** `array` *required*
>
> Complete row data as list of strings
>
> **row\_number** `integer` *required*
>
> The row number in the sheet (1-indexed)
>
> **sheet\_name** `string` *required*
>
> The sheet name
>
> **spreadsheet\_id** `string` *required*
>
> The spreadsheet ID

> [accordion] New Sheet Added in Google Spreadsheet
>
> **Slug:** `GOOGLESHEETS_NEW_SHEET_ADDED_TRIGGER`
>
> **Type:** poll
>
> Polling trigger that detects when a new sheet is added to a Google Spreadsheet.
>
> #### Configuration
>
> **interval** `number`
>
> Periodic Interval to Check for Updates & Send a Trigger in Minutes
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet to monitor
>
> #### Payload
>
> **detected\_at** `string` *required*
>
> ISO timestamp when the new sheet was detected
>
> **sheet\_name** `string` *required*
>
> The name of the new sheet added
>
> **spreadsheet\_id** `string` *required*
>
> The spreadsheet ID

> [accordion] New Spreadsheet Created
>
> **Slug:** `GOOGLESHEETS_NEW_SPREADSHEET_CREATED_TRIGGER`
>
> **Type:** poll
>
> Triggers when a new Google Spreadsheet is created. This trigger monitors Google Spreadsheets and fires when new spreadsheets are detected. Uses timestamp filtering to efficiently detect newly created spreadsheets.
>
> #### Configuration
>
> **include\_shared\_drives** `boolean`
>
> Whether to include spreadsheets from shared drives you have access to. Defaults to True.
>
> **interval** `number`
>
> Periodic Interval to Check for Updates & Send a Trigger in Minutes
>
> **max\_results** `integer`
>
> Maximum number of spreadsheets to check in each poll (1-1000)
>
> **query** `string`
>
> Optional search query to filter spreadsheets. Can search by name (name contains 'Budget'), full text content (fullText contains 'sales'), or use complex queries with operators. Leave empty to monitor all spreadsheets.
>
> #### Payload
>
> **event\_type** `string`
>
> Type of event that occurred
>
> **spreadsheet** `object` *required*
>
> The newly created Google Spreadsheet

> [accordion] Spreadsheet Metadata Changed
>
> **Slug:** `GOOGLESHEETS_SPREADSHEET_METADATA_CHANGED_TRIGGER`
>
> **Type:** poll
>
> Polling trigger that detects when a Google Spreadsheet's metadata changes. Uses snapshot-based diffing to detect any changes in spreadsheet properties, sheets, named ranges, developer metadata, data sources, etc.
>
> #### Configuration
>
> **interval** `number`
>
> Periodic Interval to Check for Updates & Send a Trigger in Minutes
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet to monitor for metadata changes
>
> #### Payload
>
> **changes** `array` *required*
>
> List of metadata changes detected
>
> **current\_metadata** `object` *required*
>
> Current metadata snapshot
>
> **detected\_at** `string` *required*
>
> ISO timestamp when the change was detected
>
> **spreadsheet\_id** `string` *required*
>
> The spreadsheet ID
>
> **spreadsheet\_url** `string`
>
> URL to view the spreadsheet

> [accordion] Spreadsheet Properties Changed
>
> **Slug:** `GOOGLESHEETS_SPREADSHEET_PROPERTIES_CHANGED_TRIGGER`
>
> **Type:** poll
>
> Polling trigger that detects when a Google Spreadsheet's top-level properties change. Monitors properties such as title, locale, timeZone, and autoRecalc settings.
>
> #### Configuration
>
> **interval** `number`
>
> Periodic Interval to Check for Updates & Send a Trigger in Minutes
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet to monitor for property changes
>
> #### Payload
>
> **changed\_properties** `array` *required*
>
> List of properties that changed
>
> **detected\_at** `string` *required*
>
> ISO timestamp when the change was detected
>
> **spreadsheet\_id** `string` *required*
>
> The spreadsheet ID
>
> **spreadsheet\_url** `string`
>
> URL to view the spreadsheet

> [accordion] Spreadsheet Row Changed
>
> **Slug:** `GOOGLESHEETS_SPREADSHEET_ROW_CHANGED_TRIGGER`
>
> **Type:** poll
>
> Triggers when a looked-up spreadsheet row changes. This trigger monitors a specific row (located by searching for a query value within a user-specified range) and fires when the row's values change, when the row appears, or when the row disappears.
>
> #### Configuration
>
> **case\_sensitive** `boolean`
>
> If `True`, the query string search is case-sensitive.
>
> **interval** `number`
>
> Periodic Interval to Check for Updates & Send a Trigger in Minutes
>
> **normalize\_whitespace** `boolean`
>
> If `True`, strips leading and trailing whitespace from cell values before matching. This helps match cells like ' TOTAL ' or 'TOTAL ' when searching for 'TOTAL'.
>
> **query** `string` *required*
>
> Exact text value to find; matches the entire content of a cell in a row.
>
> **range** `string`
>
> A1 notation range to search within. Supports cell ranges (e.g., 'Sheet1!A1:D5'), column-only ranges (e.g., 'Sheet1!A:Z'), and row-only ranges (e.g., 'Sheet1!1:1'). Defaults to the first sheet if omitted. IMPORTANT: Sheet names with spaces must be single-quoted (e.g., "'My Sheet'!A1:Z"). Bare sheet names without ranges (e.g., 'Sheet1') are not supported - always specify a range.
>
> **spreadsheet\_id** `string` *required*
>
> Identifier of the Google Spreadsheet to monitor.
>
> #### Payload
>
> **change\_type** `string` *required*
>
> Type of change: 'created' (row appeared), 'updated' (row values changed), or 'deleted' (row disappeared)
>
> **current\_row\_data** `string` *required*
>
> The current row data (empty dict if row is not found now)
>
> **detected\_at** `string` *required*
>
> ISO timestamp when the change was detected
>
> **event\_type** `string`
>
> Type of event that occurred
>
> **previous\_row\_data** `string` *required*
>
> The previous row data (empty dict if row was not found before)
>
> **query** `string` *required*
>
> The query used to find the row
>
> **range** `string`
>
> The A1 notation range that was searched
>
> **spreadsheet\_id** `string` *required*
>
> The spreadsheet ID

> [accordion] Spreadsheet Search Match
>
> **Slug:** `GOOGLESHEETS_SPREADSHEET_SEARCH_MATCH_TRIGGER`
>
> **Type:** poll
>
> Triggers when a new spreadsheet appears that matches a saved search. This trigger uses snapshot-based diffing to detect when spreadsheets matching the search criteria are newly created or become visible to the user.
>
> #### Configuration
>
> **created\_after** `string`
>
> Return spreadsheets created after this date. Use RFC 3339 format like '2024-01-01T00:00:00Z'.
>
> **include\_shared\_drives** `boolean`
>
> Whether to include spreadsheets from shared drives you have access to. Defaults to True.
>
> **include\_trashed** `boolean`
>
> Whether to include spreadsheets in trash. Defaults to False.
>
> **interval** `number`
>
> Periodic Interval to Check for Updates & Send a Trigger in Minutes
>
> **max\_results** `integer`
>
> Maximum number of spreadsheets to check in each poll (1-100)
>
> **modified\_after** `string`
>
> Return spreadsheets modified after this date. Use RFC 3339 format like '2024-01-01T00:00:00Z'.
>
> **order\_by** `string`
>
> Order results by field. Common options: 'modifiedTime desc', 'modifiedTime asc', 'name', 'createdTime desc'
>
> **query** `string`
>
> Search query to filter spreadsheets. Behavior depends on the 'search\_type' parameter. For advanced searches, use Google Drive query syntax with fields like 'name contains', 'fullText contains', or boolean filters like 'sharedWithMe = true'. DO NOT use spreadsheet IDs as search terms. Leave empty to get all spreadsheets.
>
> **search\_type** `string ("name" | "content" | "both")`
>
> How to search: 'name' searches filenames only (prefix matching from the START of filenames), 'content' uses fullText search which searches file content, name, description, and metadata, 'both' explicitly searches both name OR content with an OR condition.
>
> **shared\_with\_me** `boolean`
>
> Whether to return only spreadsheets shared with the current user. Defaults to False.
>
> **starred\_only** `boolean`
>
> Whether to return only starred spreadsheets. Defaults to False.
>
> #### Payload
>
> **event\_type** `string`
>
> Type of event that occurred
>
> **spreadsheet** `object` *required*
>
> The spreadsheet that matches the search criteria

> [accordion] Table Query Result Changed
>
> **Slug:** `GOOGLESHEETS_TABLE_QUERY_RESULT_CHANGED_TRIGGER`
>
> **Type:** poll
>
> Triggers when the result set of a saved table query changes in Google Sheets. Detects rows added, removed, or updated in the query output. This trigger monitors the result of a SQL query against a Google Sheets table and fires when changes are detected.
>
> #### Configuration
>
> **include\_formulas** `boolean`
>
> Whether to return formula text instead of calculated values for formula columns
>
> **interval** `number`
>
> Periodic Interval to Check for Updates & Send a Trigger in Minutes
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet to query. This is the long alphanumeric string found in the spreadsheet URL between '/d/' and '/edit'.
>
> **sql** `string` *required*
>
> SQL SELECT query to execute. The table name is the Google Sheets tab/sheet name (visible at the bottom of the spreadsheet). Supported: SELECT cols FROM table WHERE conditions ORDER BY col LIMIT n. Table names must be quoted with double quotes if they contain spaces or are numeric-only (e.g., SELECT \* FROM "My Sheet" or SELECT \* FROM "415").
>
> #### Payload
>
> **changes** `array` *required*
>
> List of detected changes
>
> **detected\_at** `string` *required*
>
> ISO timestamp when the change was detected
>
> **event\_type** `string`
>
> Type of event that occurred
>
> **spreadsheet\_id** `string` *required*
>
> The spreadsheet ID
>
> **sql** `string` *required*
>
> The SQL query that was executed
>
> **total\_rows\_after** `integer` *required*
>
> Total number of rows after the change
>
> **total\_rows\_before** `integer` *required*
>
> Total number of rows before the change

> [accordion] Table Schema Changed
>
> **Slug:** `GOOGLESHEETS_TABLE_SCHEMA_CHANGED_TRIGGER`
>
> **Type:** poll
>
> Polling trigger that detects when a table's schema changes in Google Sheets. Monitors columns added/removed/renamed and inferred type/format changes. Uses snapshot-based diffing to compare schemas between polls.
>
> #### Configuration
>
> **interval** `number`
>
> Periodic Interval to Check for Updates & Send a Trigger in Minutes
>
> **sample\_size** `integer`
>
> Number of rows to sample for type inference
>
> **sheet\_name** `string`
>
> Sheet/tab name if table\_name is ambiguous across multiple sheets
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet to monitor
>
> **table\_name** `string` *required*
>
> Table name from LIST\_TABLES response OR the visible Google Sheets tab name. Use 'auto' to monitor the largest/most prominent table.
>
> #### Payload
>
> **change\_summary** `string` *required*
>
> Human-readable summary of the changes
>
> **column\_changes** `array` *required*
>
> List of column changes detected
>
> **current\_column\_count** `integer` *required*
>
> Number of columns in current schema
>
> **detected\_at** `string` *required*
>
> ISO timestamp when the change was detected
>
> **previous\_column\_count** `integer` *required*
>
> Number of columns in previous schema
>
> **sheet\_name** `string` *required*
>
> Sheet name where table is located
>
> **spreadsheet\_id** `string` *required*
>
> The spreadsheet ID
>
> **table\_name** `string` *required*
>
> Name of the table that changed

> [accordion] Worksheet Names Changed
>
> **Slug:** `GOOGLESHEETS_WORKSHEET_NAMES_CHANGED_TRIGGER`
>
> **Type:** poll
>
> Triggers when the set of worksheet/tab names changes in a Google Spreadsheet. Detects when sheets are added, deleted, or renamed.
>
> #### Configuration
>
> **interval** `number`
>
> Periodic Interval to Check for Updates & Send a Trigger in Minutes
>
> **spreadsheet\_id** `string` *required*
>
> The unique identifier of the Google Spreadsheet to monitor
>
> #### Payload
>
> **change\_type** `string` *required*
>
> Type of change: 'added', 'deleted', or 'renamed'
>
> **current\_names** `array` *required*
>
> Current list of all worksheet names after the change
>
> **detected\_at** `string` *required*
>
> ISO timestamp when the change was detected
>
> **previous\_name** `string`
>
> Previous name if worksheet was renamed (only for renamed events)
>
> **spreadsheet\_id** `string` *required*
>
> The spreadsheet ID
>
> **worksheet\_name** `string` *required*
>
> The name of the worksheet that was added, deleted, or involved in the change
