Google Drive Integration

Sync documents from Google Drive folders. Supports Google Docs, Sheets, Slides, PDFs, and more.

Supported File Types

  • Google Docs — Full text extraction
  • Google Sheets — Tables and data
  • Google Slides — Slide content and notes
  • PDFs — Text and OCR
  • Word documents — .doc, .docx
  • Text files — .txt, .md, .csv
  • PowerPoint — .ppt, .pptx

Not Supported

  • Images (only filename indexed)
  • Videos and audio files
  • Executable files
  • Encrypted files

Connecting Google Drive

Start Connection

From Knowledge Base, click + Add Source Google Drive.

Sign in with Google

A Google sign-in popup will appear. Sign in and grant RAG Chats read-only access to selected files.

Permissions

We only request read-only access. RAG Chats cannot modify or delete your files.

Select Folders

Choose which folders to sync. All files in selected folders (and subfolders if enabled) will be indexed.

Configure Sync

Set sync preferences:

  • Include subfolders: Recursively sync nested folders
  • File types: Filter by specific file types
  • Sync frequency: How often to check for changes

Start Sync

Click Connect to begin the initial sync. Large folders may take several minutes.

Sync Settings

Include subfoldersbooleandefault: true

Recursively sync files in nested folders

File typesarraydefault: all

Filter to specific file types (optional)

Max file sizenumberdefault: 50MB

Skip files larger than this (varies by plan)

Sync frequencystringdefault: 6 hours

How often to check for changes

How Sync Works

  1. Initial sync: All files in selected folders are downloaded and processed
  2. Change detection: On each sync, we check for new, modified, or deleted files
  3. Incremental updates: Only changed files are re-processed
  4. Deletions: Files removed from Drive are removed from your knowledge base

Shared Drives

To sync files from a Shared Drive (Team Drive):

  1. Ensure you have access to the Shared Drive
  2. Navigate to the Shared Drive in the folder picker
  3. Select the folders you want to sync

Permissions

You can only sync files you have access to. If your access is revoked, those files will be removed from your knowledge base on the next sync.

Best Practices

  • Create a dedicated folder: Organize knowledge base content in a specific folder rather than syncing your entire Drive.
  • Use clear filenames: File names become document titles in search results.
  • Keep files organized: Good folder structure helps with content management.
  • Remove outdated files: Delete or move old files to keep your knowledge base current.

Troubleshooting

Authorization error

  • Clear browser cookies and try again
  • Ensure third-party cookies are allowed
  • Check that Google account has Drive access

Files not appearing

  • Verify files are in selected folders
  • Check file type is supported
  • Ensure file size is within limits
  • Wait for sync to complete (check status)

Sync errors

  • Re-authorize if Google session expired
  • Check Google Drive API status
  • Verify file isn't corrupted

Removing the Integration

  1. In RAG Chats, delete the Google Drive data source
  2. Optionally, revoke access in Google Account settings