Skip to main content
The Google Drive integration enables your agent to list files and search folders in a connected Google Drive account for knowledge retrieval.

Connecting Google Drive

Prerequisites

  • A Google account with Google Drive access
  • Project management permissions in PolyAI

Connection steps

  1. Go to the Integrations page in Agent Studio
  2. Find Google Drive and click Connect
  3. Select an environment (Sandbox, Pre-release, or Live)
  4. Click Connect new account
  5. Authenticate with your Google account via OAuth
  6. You’ll be redirected back to PolyAI automatically

Available actions

ActionCategoryDescription
List FilesFile StorageList files in a Google Drive folder for knowledge retrieval
Search FoldersFile StorageSearch for folders by name in Google Drive

Enabling actions

Reference Google Drive actions in your agent’s prompts — either enable all actions or select specific ones. See the Zoom integration for detailed examples of this pattern.

Example use case

Document lookup:
You are a helpful assistant. When a user asks about company policies,
search Google Drive for the relevant document and provide the information.

Troubleshooting

IssueSolution
Integration not appearingVerify the feature is enabled for your account and you have project management permissions
Agent can’t access filesCheck that Google Drive is connected for the correct environment and the account has access to the files
OAuth errorsEnsure pop-ups are not blocked, clear browser cache, or try a different browser

Support

For additional help, contact PolyAI support.