Skip to main content
Google Sheets logo

Overview

Add Google Sheets to any ModuleX agent or workflow. Read, write, and manage Google Sheets spreadsheets and worksheets via the Google Sheets API v4 (https://sheets.googleapis.com/v4).
Categories: Productivity & Collaboration · Data & Analytics · Auth: OAuth2 · Actions: 13

Authentication

OAuth2 Authentication

Connect using Google OAuth (recommended)

Required Credentials

OAuth Configuration

  • Authorization URL: https://accounts.google.com/o/oauth2/v2/auth
  • Token URL: https://oauth2.googleapis.com/token
  • Scopes: https://www.googleapis.com/auth/spreadsheets, https://www.googleapis.com/auth/drive.file

Available Actions

Parameters

string
required
The title of the new spreadsheet.
string
Name for the first worksheet. Default: ‘Sheet1’.
array
Column headers to add as row 1. Each item is a string. Example: [“Name”, “Email”, “Score”].

Response

Parameters

string
required
The spreadsheet ID from the Google Sheets URL.

Response

Parameters

string
required
The spreadsheet ID from the Google Sheets URL.

Response

Parameters

string
required
The spreadsheet ID from the Google Sheets URL.
string
required
The name of the new worksheet (tab).
array
Column headers to add as row 1. Each item is a string. Example: [“Name”, “Email”, “Score”].

Response

Parameters

string
required
The spreadsheet ID from the Google Sheets URL.
integer
required
The numeric worksheet (sheet) ID to delete. Use get_spreadsheet_info to discover sheet IDs.

Response

Parameters

string
required
The spreadsheet ID from the Google Sheets URL.
string
required
The worksheet (tab) name.
string
Optional A1 notation range within the sheet (e.g. ‘A1:D10’, ‘A:F’). Omit to read all data.
boolean
Whether row 1 contains column headers. If true, returns rows as objects with header keys. (Default: true)

Response

Parameters

string
required
The spreadsheet ID from the Google Sheets URL.
string
required
The worksheet (tab) name.
string
A1 notation range within the sheet (e.g. ‘A1:E5’). Omit to read the entire sheet.

Response

Parameters

string
required
The spreadsheet ID from the Google Sheets URL.
string
required
The worksheet (tab) name.
string
required
Column header name (e.g. ‘Name’) or column letter (e.g. ‘A’, ‘B’).
string
required
The value to search for.
string
How to match. Valid values: ‘exact’ (case-insensitive exact match), ‘contains’ (substring), ‘starts_with’. (Default: contains)

Response

Parameters

string
required
The spreadsheet ID from the Google Sheets URL.
string
required
The worksheet (tab) name.
array
required
Array of rows to append. Each row is either an array of positional cell values or an object whose keys match the worksheet’s column headers.
boolean
Whether row 1 contains column headers. Required when passing rows as objects. (Default: true)

Response

Parameters

string
required
The spreadsheet ID from the Google Sheets URL.
string
required
The worksheet (tab) name.
integer
required
1-indexed row number to update.
array
required
Array of cell values for the row, in column order. Numbers, strings, and booleans are all accepted.

Response

Parameters

string
required
The spreadsheet ID from the Google Sheets URL.
string
required
The worksheet (tab) name.
string
required
A1 notation for the cell (e.g. ‘B5’).
string
required
The new cell value.

Response

Parameters

string
required
The spreadsheet ID from the Google Sheets URL.
string
required
The worksheet (tab) name.
integer
required
1-indexed row number of the first row to clear (inclusive).
integer
1-indexed row number of the last row to clear (inclusive). Omit to clear only the start row.

Response

Parameters

string
required
The spreadsheet ID from the Google Sheets URL.
integer
required
The numeric worksheet (sheet) ID. Use get_spreadsheet_info to discover sheet IDs.
integer
required
1-indexed row number of the first row to delete (inclusive).
integer
1-indexed row number of the last row to delete (inclusive). Omit to delete only the start row.

Response

Limits & Quotas

  • Google Sheets API default quota: 300 read requests / minute / project and 300 write requests / minute / project (with a 60 / minute / user cap for both).
  • Cell-value writes use valueInputOption=USER_ENTERED, so values are parsed as if a user typed them in the UI (numbers/dates/booleans get coerced).
  • add_rows uses insertDataOption=INSERT_ROWS, so it never overwrites existing data — new rows are inserted after the last row containing data.
  • Non-2xx responses are caught and returned as success=False + error with the API error.message (when present).
  • Timeouts surface as success=False with error="Request timed out.".

Cal.com

Canva

ConvertAPI