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
| Field | Type | Required | Description |
|---|---|---|---|
| Folder ID | Input | No | Specific folder to sync from |
| Max Documents | Input | No | Limit the number of synced documents |
How It Works
- File Discovery — Lists Google Docs files via Drive API (
mimeType = 'application/vnd.google-apps.document') - Content Extraction — Uses Google Docs API to extract structured document body
- Heading Conversion — Named styles (HEADING_1 through HEADING_6) are converted to Markdown-style
#prefixes - 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
| Tag | Type | Description |
|---|---|---|
| Owner | Text | Document owner(s) |
| Last Modified | Date | When the document was last modified |

