Skip to main content
Use googleDocs to create documents; read tabs and plain text; and insert, replace, delete, or format document content through the Google Docs API.

Create a project brief

Actions accept a document ID or standard Google Docs URL. Optional write controls prevent conflicting edits: requiredRevisionId rejects stale writes, while targetRevisionId lets Google merge changes against a recent revision. Choose at most one write control for each update. Read actions request Google’s native documents.readonly scope. Create and edit actions request documents, so they can access existing documents by ID or URL without a prior per-file grant.

Exports

  • googleDocs contains the packaged Google Docs actions.
  • googleAccount("name") selects a named Google connection.
  • getGoogleDocsApi creates the authenticated Google Docs API helper for a custom account-backed action.

Actions