AACFlow

Google Docs Connector

Sync Google Docs documents into your knowledge base

The Google Docs connector synchronizes Google Docs documents from Google Drive into your knowledge base.

Authentication

OAuth — requires scope: https://www.googleapis.com/auth/drive

Configuration

FieldTypeRequiredDescription
Folder IDInputNoSpecific folder to sync from
Max DocumentsInputNoLimit the number of synced documents

How It Works

  1. File Discovery — Lists Google Docs files via Drive API (mimeType = 'application/vnd.google-apps.document')
  2. Content Extraction — Uses Google Docs API to extract structured document body
  3. Heading Conversion — Named styles (HEADING_1 through HEADING_6) are converted to Markdown-style # prefixes
  4. Concurrency — Fetches content 5 documents at a time for performance

Document Format

Documents are converted from Google Docs structure to plain text with heading markers:

# Heading 1 text
## Heading 2 text
Regular paragraph text...

Metadata Tags

TagTypeDescription
OwnerTextDocument owner(s)
Last ModifiedDateWhen the document was last modified

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started