Skip to main content
Google Docs logo

Overview

Add Google Docs to any ModuleX agent or workflow. Create, read, and edit Google Docs documents via the Google Docs API (docs.googleapis.com/v1).
Categories: Productivity & Collaboration · Google Workspace · Documents · Auth: OAuth2 · Actions: 10

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/documents

Available Actions

Parameters

string
required
The ID of the document to append the image to
string
required
The URL of the image to insert into the document
boolean
Whether to append at the beginning (true) or end (false) of the document (Default: false)

Response

Parameters

string
required
The ID of the document to append text to
string
required
The text to append to the document
boolean
Whether to append at the beginning (true) or end (false) of the document (Default: false)

Response

Parameters

string
required
Title of the new document
string
Text content to insert into the document

Response

Parameters

string
required
The ID of the document to retrieve
boolean
Whether to populate the tabs field instead of the body field (Default: false)

Response

Parameters

string
required
The ID of the document
array
required
List of tab IDs to retrieve content for (element type: string)

Response

Parameters

string
required
The ID of the document
integer
The index position to insert the page break at (Default: 1)
string
The tab ID to insert the page break into

Response

Parameters

string
required
The ID of the document
integer
required
The number of rows in the table
integer
required
The number of columns in the table
integer
The index position to insert the table at (Default: 1)
string
The tab ID to insert the table into

Response

Parameters

string
required
The ID of the document
string
required
The text to insert
integer
The index position to insert the text at (Default: 1)
string
The tab ID to insert the text into

Response

Parameters

string
required
The ID of the document
string
required
The ID of the image to be replaced (from the document’s inlineObjects)
string
required
The URL of the new image to replace with

Response

Parameters

string
required
The ID of the document
string
required
The text to find and replace
string
required
The replacement text
boolean
Whether the search is case-sensitive (Default: false)

Response

Limits & Quotas

  • Google Docs API: 300 read requests per minute per user, 60 write requests per minute per user.
  • Error model: non-2xx responses and timeouts are caught and returned as success=False + error rather than raising.

ConvertAPI

Cal.com

Canva