Connect Google Docs to create and update documents from your workflows.
Authentication: OAuth 2.0. Connect your Google account on the integrations page.
Actions
Get Document
Retrieves the full content of a Google Doc.
| Input | Required | Description |
|---|---|---|
| Document ID | Yes | Google Docs document ID |
| Output | Type | Description |
|---|---|---|
document | object | Document object with title, body (text content), documentId |
Create Document
Creates a new Google Doc.
| Input | Required | Description |
|---|---|---|
| Title | Yes | Document title |
| Content | No | Initial document content (plain text) |
| Parent Folder ID | No | Google Drive folder to create the document in |
| Output | Type | Description |
|---|---|---|
documentId | string | ID of the created document |
title | string | Document title |
url | string | URL to open the document |
Update Document
Appends or replaces content in a Google Doc.
| Input | Required | Description |
|---|---|---|
| Document ID | Yes | Document to update |
| Content | Yes | Content to insert |
| Insert At | No | end (append, default) or beginning |
| Output | Type | Description |
|---|---|---|
documentId | string | Document ID |
Search File
Searches for Google Docs in Drive by name.
| Input | Required | Description |
|---|---|---|
| Query | Yes | Search query |
| Output | Type | Description |
|---|---|---|
files | array | Matching document objects with id, name, url |
Get Tab
Retrieves the content of a specific tab in a document (Google Docs supports named tabs).
| Input | Required | Description |
|---|---|---|
| Document ID | Yes | Document ID |
| Tab ID | Yes | Tab ID |
| Output | Type | Description |
|---|---|---|
tab | object | Tab content |
List Tabs
Returns all tabs in a document.
| Input | Required | Description |
|---|---|---|
| Document ID | Yes | Document ID |
| Output | Type | Description |
|---|---|---|
tabs | array | Tab objects with id, title |
Was this page helpful?