What Gets Synced
The Google Drive connector syncs:- Drives - Shared drives (Team Drives)
- Files - All file types from My Drive and Shared Drives
- Folders - Folder structure and metadata
Authentication
This connector uses OAuth 2.0 with custom credentials. You’ll need to:- Create a Google Cloud project
- Enable the Google Drive API
- Configure OAuth consent screen
- Create OAuth credentials
- Provide Client ID and Client Secret
Configuration
Include Patterns (Optional)
Filter which files to sync using path patterns:my_folder/*- All files in my_foldermy_folder/my_file.pdf- Specific file- Leave empty to sync all files
Setup
Create Google Cloud OAuth App
Follow Google’s OAuth setup guide to create OAuth credentials for Google Drive.
Add Required Scopes
In your OAuth consent screen, add these scopes:
https://www.googleapis.com/auth/drivehttps://www.googleapis.com/auth/drive.readonlyhttps://www.googleapis.com/auth/drive.metadata
Add Google Drive Connection
In Airweave, click Add Source → Google Drive, then enter your Client ID and Client Secret.
Supported Entities
Google Drive Files
Files with full metadata. Key fields:- File name and description
- Created/modified timestamps
- Parent folders
- Sharing settings
- File type and size
Shared Drives
Team/shared drive metadata. Key fields:- Drive name and color
- Organization unit
- Created timestamp
Implementation Details
View Source Code
Explore the Google Drive connector implementation on GitHub
For detailed OAuth setup instructions, see the Gmail connector documentation which uses the same Google Cloud project setup.