Skip to main content

Google Drive Integration

Connect the Drive folders you trust to XY so automations can pull what they need and return new files in one place.

Overview

The Google Drive integration connects XY to your Google Drive account, enabling workflows and agents to read, write, and organize files. This integration is essential for document management workflows, file synchronization, and collaborative document processing.

Authentication & Setup

  1. Navigate to the Integrations section in the XY Web App
  2. Select Google Drive from the integration directory
  3. Click "Connect" and complete the Google OAuth authentication flow
  4. Grant XY the necessary permissions to access your Google Drive
  5. Configure which folders and files XY should access

Post-Authentication Configuration

After connecting, configure:

  • Folder Selection: Choose which Google Drive folders XY should access
  • File Type Filters: Optionally restrict to specific file types (PDFs, Google Docs, etc.)
  • Sync Frequency: Set how often XY should check for new or updated files
  • Access Permissions: Control whether workflows can read, write, or both
  • Shared Drive Access: Configure access to shared drives if applicable

Endpoints & Capabilities

Read Operations

  • List Files: Retrieve files and folders from specified directories
  • Get File: Download file content or metadata
  • Search Files: Query files by name, type, or metadata
  • Get File Metadata: Retrieve file information (size, modified date, permissions)
  • List Folder Contents: Get contents of specific folders

Write Operations

  • Upload File: Create new files in Google Drive
  • Update File: Modify existing files
  • Create Folder: Create new folders
  • Move File: Move files between folders
  • Delete File: Remove files or folders
  • Share File: Manage file sharing and permissions

Configuration

  • Set Sync Frequency: Configure how often to check for new or updated files
  • Manage Folder Access: Add or remove folders from access list
  • Configure File Filters: Set up file type or naming pattern filters
  • Set Access Permissions: Control read/write capabilities
  • Shared Drive Settings: Configure access to shared drives

Use Cases

  • Document Storage: Store workflow outputs and processed documents in Google Drive
  • File Synchronization: Keep files synchronized between systems
  • Document Processing: Access documents for OCR, extraction, or transformation
  • Collaborative Workflows: Share files with team members or external parties
  • Backup and Archival: Automatically backup important files