For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Fork this repoGet a demo
  • Docs
    • Welcome
    • Quickstart
    • Concepts
    • Search
    • MCP Server
    • CLI
    • Agent Skills
    • Connect
    • Add New Connector
    • Rate Limits
      • Overview
      • Airtable
      • Apollo
      • Asana
      • Attio
      • Bitbucket
      • Box
      • Calcom
      • Clickup
      • Coda
      • Confluence
      • Ctti
      • Document360
      • Dropbox
      • Fireflies
      • Freshdesk
      • Github
      • Gitlab
      • Gmail
      • Google Calendar
      • Google Docs
      • Google Drive
      • Google Slides
      • Hubspot
      • Intercom
      • Jira
      • Linear
      • Monday
      • Notion
      • Onedrive
      • Onenote
      • Outlook Calendar
      • Outlook Mail
      • Pipedrive
      • Powerpoint
      • Salesforce
      • Servicenow
      • Sharepoint
      • Shopify
      • Slab
      • Slack
      • Slite
      • Stripe
      • Teams
      • Todoist
      • Trello
      • Word
      • Zendesk
      • Zoho Crm
      • Zoom
  • API Reference
LogoLogo
Fork this repoGet a demo
On this page
  • Configuration
  • Authentication
  • Configuration Options
  • Data Models
DocsConnectors

Google Docs

Was this page helpful?
Edit this page
Previous

Google Drive

Next
Built with
Google Docs logo

Google Docs

This connector enables AI agents and RAG systems to retrieve context from Google Docs through Airweave’s unified search layer.

Configuration

Google Docs source connector integrates with Google Drive API to extract Google Docs.

Connects to your Google Drive account to retrieve Google Docs documents. Documents are exported as DOCX and processed through Airweave’s file processing pipeline to enable full-text semantic search across document content.

The connector handles:

  • Document listing and filtering
  • Content export and download (DOCX format)
  • Metadata preservation (ownership, sharing, timestamps)
  • Incremental sync via Drive Changes API
View Source Code

Explore the Google Docs connector implementation

Authentication

This connector uses OAuth 2.0 with custom credentials. You need to provide your OAuth application’s Client ID and Client Secret, then complete the OAuth consent flow.

OAuth Setup Required
  1. Create an OAuth application in your provider’s developer console
  2. Enter your Client ID and Client Secret when configuring the connection
  3. Complete the OAuth consent flow

Configuration Options

This connector does not have any additional configuration options.

Data Models

The following data models are available for this connector:

GoogleDocsDocumentEntity

Schema for a Google Docs document.

Represents a Google Doc file retrieved via the Google Drive API. The document content is exported as DOCX and processed through Airweave’s file processing pipeline to create searchable chunks.

Reference: https://developers.google.com/drive/api/v3/reference/files https://developers.google.com/drive/api/guides/manage-downloads

FieldTypeDescription
document_keystrStable Google Docs file ID.
titlestrDisplay title of the document (without .docx extension).
created_timestampdatetimeDocument creation timestamp.
modified_timestampdatetimeLast modification timestamp.
descriptionOptional[str]Optional description of the document.
starredboolWhether the user has starred this document.
trashedboolWhether the document is in the trash.
explicitly_trashedboolWhether the document was explicitly trashed by the user.
sharedboolWhether the document is shared with others.
shared_with_me_timeOptional[datetime]Time when this document was shared with the user.
sharing_userOptional[Dict[str, Any]]User who shared this document.
ownersList[Dict[str, Any]]Owners of the document.
permissionsOptional[List[Dict[str, Any]]]Permissions for this document.
parentsList[str]IDs of parent folders containing this document.
web_view_linkOptional[str]Link to open the document in Google Docs editor.
icon_linkOptional[str]Link to the document’s icon.
created_timeOptional[datetime]When the document was created.
modified_timeOptional[datetime]When the document was last modified.
modified_by_me_timeOptional[datetime]Last time the user modified the document.
viewed_by_me_timeOptional[datetime]Last time the user viewed the document.
versionOptional[int]Version number of the document.
export_mime_typeOptional[str]MIME type used for exporting the document content (DOCX).
web_url_valueOptional[str]Direct link to the Google Docs editor.