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: trueRecursively sync files in nested folders
File typesarraydefault: allFilter to specific file types (optional)
Max file sizenumberdefault: 50MBSkip files larger than this (varies by plan)
Sync frequencystringdefault: 6 hoursHow often to check for changes
How Sync Works
- Initial sync: All files in selected folders are downloaded and processed
- Change detection: On each sync, we check for new, modified, or deleted files
- Incremental updates: Only changed files are re-processed
- Deletions: Files removed from Drive are removed from your knowledge base
Shared Drives
To sync files from a Shared Drive (Team Drive):
- Ensure you have access to the Shared Drive
- Navigate to the Shared Drive in the folder picker
- 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
- In RAG Chats, delete the Google Drive data source
- Optionally, revoke access in Google Account settings

