Google Docs
35 operations1 webhook
Online document editor for creating, sharing, and collaborating on text documents.
Supported operations
- Copy DocumentWrite
Copy an existing Google Doc
- Create Blank DocumentWrite
Create a blank Google Doc [DEPRECATED: prefer documents.createDocument]
- Create DocumentWrite
Create a Google Doc with an optional title and initial text
- Create Document MarkdownWrite
Create a Google Doc initialized from Markdown text
- Export Document As PdfRead-only
Export a Google Doc as PDF (Drive enforces a 10MB limit)
- Get DocumentRead-only
Retrieve a Google Doc by id
- Get Document PlaintextRead-only
Retrieve a Google Doc as best-effort plain text
- List Spreadsheet ChartsRead-only
List charts in a Google Sheets spreadsheet for embedding
- Search DocumentsRead-only
Search Google Docs by name, content, or date filters
- Update Document BatchWrite
Apply batchUpdate edits [DEPRECATED: prefer documents.updateExistingDocument]
- Update Document MarkdownWrite
Replace a Google Doc content with Markdown text
- Update Document Section MarkdownWrite
Replace a section of a Google Doc with Markdown text
- Update Document StyleWrite
Update the page size, margins, and global document style
- Update Existing DocumentWrite
Apply batchUpdate edits (insert/delete/format) to a Google Doc
Supported triggers
- Doc Changed
A Google Doc was created, updated, deleted, or matched a content trigger
FAQ
Install corsair and @corsair-dev/googledocs, add the Google Docs plugin, and connect with OAuth. Then call methods like corsair.googledocs.api.documents.copyDocument() from your app. Corsair verifies webhooks, stores tokens, and syncs data per tenant.
Yes. Google Docs needs an OAuth app with scopes that match what you automate. Register the app in Google Docs, configure redirect URLs, then connect through Corsair or managed OAuth in Hub.
Yes. One Corsair client can hit Google Docs, GitHub, Notion, Stripe, and the rest. Trigger Google Docs from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for online document editor for creating, sharing, and collaborating on text documents. Common builds include sync jobs, admin tooling, and agents that call Google Docs APIs from your backend. Webhook handlers react to Google Docs events and fan out to Slack, email, or other plugins in the same tenant. Local DB entities let you query synced Google Docs records without hitting the API on every read.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Google Docs API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/googledocs in the open repo. When Google Docs ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your Google Docs data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Google Docs data on your behalf.