Skip to main content

🔗 Overview

The Google Drive integration lets you import documents directly from Google Drive into GC AI’s knowledge base. Once imported, you can reference these documents during AI-assisted legal research and drafting, just like any other file in your knowledge base. Files are imported as point-in-time snapshots. There is no continuous sync or background access to your Drive.

📥 What the Integration Does

  • Lets you browse and select specific files from your Google Drive using the Google Picker UI
  • Imports selected files (PDF, DOCX, Google Docs) into your GC AI knowledge base
  • Extracts text from imported documents for AI-powered search and retrieval

🚫 What the Integration Does NOT Do

  • Does not continuously monitor or scan your Google Drive contents
  • Does not access files you have not explicitly selected
  • Does not modify, delete, or write any files to Google Drive
  • Does not share your Drive files with other users or organizations
  • Does not retain Google Drive access beyond the authenticated session scope

🔑 OAuth Scopes and Permissions

GC AI requests the following Google OAuth 2.0 scopes:
ScopePurpose
drive.fileAccess only files that you explicitly select via Google Picker. This is a narrow scope and does NOT grant access to all Drive files.
userinfo.emailIdentify the Google account used to connect (for display purposes).
userinfo.profileDisplay your name and avatar in the connection status UI.
The drive.file scope is the most restrictive Drive scope available. It only permits access to files you explicitly open or select through the Google Picker interface. GC AI cannot browse, list, or access any other files in your Drive.

📂 How File Import Works

When you select a file from Google Drive, GC AI processes it through the following steps:
  1. You select a file in the Google Picker
  2. GC AI downloads the file via the Google Drive API
  3. GC AI validates the file type
  4. Google Docs are exported as PDF; other files are used as-is
  5. The file is uploaded to Google Cloud Storage (encrypted at rest)
  6. A serverless extraction service extracts the text
  7. GC AI generates text chunks and vector embeddings for search
  8. The file metadata and extracted text are stored in your organization’s database
  9. The file becomes available for AI-assisted retrieval within your organization

🔒 Security

Access Control

Organization Settings for Google Drive Integration
  • Organization-level: Administrators can enable or disable the Google Drive integration for their entire organization
  • User-level: Each user connects their own Google account. One user’s connection cannot access another user’s Drive
  • Resource-level: Imported files follow GC AI’s standard access control model, including private, shared within org, and other permission levels
  • Role-based: Organization admins can disconnect any user’s Google Drive integration

Deletion Behavior

  • User disconnects: OAuth tokens are deleted. Previously imported files remain in the knowledge base as standalone copies.
  • Admin disables integration for org: All user OAuth tokens for that organization are deleted.
  • User or org deleted: Cascade deletes remove all associated tokens, files, and embeddings.
  • Individual file deletion: You can delete imported files from your knowledge base at any time.

⚙️ Administrative Controls

The Google Drive integration is enabled by default.
Organization administrators have the following controls:
  • Enable or disable the Google Drive integration for the entire organization via Organization Settings
  • View which users have connected their Google Drive accounts
  • Disconnect any user’s Google Drive integration
When an administrator disables the integration:
  1. All existing OAuth tokens for that organization are immediately deleted
  2. Users can no longer initiate new Google Drive connections
  3. Users can no longer import files from Google Drive
  4. Previously imported files remain in the knowledge base (they are standalone copies)

❓ Frequently Asked Questions

Can GC AI access all files in my Google Drive?

No. GC AI uses the drive.file scope, which only grants access to files you explicitly select through the Google Picker interface. GC AI cannot browse or list your Drive contents.

Does GC AI continuously sync with Google Drive?

No. Files are imported as one-time snapshots. There is no background polling, webhook listening, or continuous sync. If a Drive file changes, you need to manually re-import it.

Can other users in my organization see files I import from Google Drive?

Imported files follow GC AI’s standard access control model. By default, files are private to you. You can choose to share files with your organization through GC AI’s sharing controls.

What happens if I revoke GC AI’s access from my Google account?

If you revoke access from Google’s security settings, GC AI can no longer refresh tokens or import new files. Previously imported files remain in your knowledge base as standalone copies. You can also disconnect from within GC AI’s Settings page.

Does GC AI use imported file content to train AI models?

No. Imported documents are used solely for retrieval-augmented generation (RAG) within your organization’s context. Document content is not used to train or fine-tune any AI models.