Quick Setup
1. Create Google Drive Connection
- TypeScript
- Python
- cURL
2. Handle OAuth Callback
After user grants permissions, Google redirects to your callback URL. The connection is automatically established.3. Check Connection Status
- TypeScript
- Python
- cURL
Supported Document Types
Based on the API type definitions, Google Drive documents are identified with these types:google_doc
- Google Docsgoogle_slide
- Google Slidesgoogle_sheet
- Google Sheets
Connection Management
List All Connections
- TypeScript
- Python
- cURL
Delete Connection
- TypeScript
- Python
- cURL
Deleting a connection will:
- Stop all future syncs from Google Drive
- Remove the OAuth authorization
- Keep existing synced documents in Supermemory (they won’t be deleted)
Manual Sync
Trigger a manual synchronization:- TypeScript
- Python
- cURL
Advanced Configuration
Custom OAuth Application
Configure your own Google OAuth app using the settings API:- TypeScript
- Python
- cURL
Document Filtering
Configure filtering using the settings API:- TypeScript
- Python
- cURL
Important Notes:
- OAuth tokens may expire - check
expiresAt
field - Document processing happens asynchronously
- Use container tags consistently for filtering
- Monitor document status for failed syncs