Skip to main content

Google Drive

Sync documents from Google Drive into your AI SmartTalk knowledge base and automate file operations with SmartFlow actions. Similar to SharePoint, but for Google Workspace users.


Overview

The Google Drive integration enables you to:

  • Connect your Google Drive via secure OAuth
  • Sync documents from selected folders to your knowledge base
  • Process Google Docs, Sheets, PDFs, and more
  • Automate file operations with SmartFlow actions

Prerequisites

Before you begin, ensure you have:

  • An active AI SmartTalk account
  • A Google account with Google Drive access
  • Folders containing documents you want to sync

Step-by-Step Setup

Step 1: Connect Your Google Account

  1. Log into your AI SmartTalk account
  2. Navigate to SettingsIntegrations
  3. Find Google Drive and click Connect
  4. Google OAuth window opens
  5. Select your Google account
  6. Review and accept permissions

Permissions requested: AI SmartTalk requests read-only access to your Drive files. We never modify or delete your documents.

Step 2: Browse and Select Folders

After authorization, you'll see your Drive structure:

  1. My Drive: Your personal files
  2. Shared Drives: Team drives you have access to
  3. Shared with me: Files others have shared

Navigate and select folders to sync:

  • Click folders to expand
  • Check boxes to select folders for sync
  • See file counts for each folder

Step 3: Configure Sync Settings

SettingDescription
Include subfoldersSync nested folders recursively
File typesFilter by type (Docs, Sheets, PDFs, etc.)
Sync frequencyOne-time or scheduled

Step 4: Start Initial Sync

  1. Click Start Sync
  2. AI SmartTalk downloads and processes documents
  3. Progress bar shows status
  4. Documents appear in your Knowledge section

Step 5: Verify the Import

  1. Go to Knowledge in AI SmartTalk
  2. Documents show with Google Drive icon
  3. Test your AI by asking about document content

Supported File Types

File TypeProcessing
Google Docs✅ Full text extraction
Google Sheets✅ Cell data and structure
Google Slides✅ Slide text content
PDF✅ Text extraction + OCR
Word (.docx)✅ Full text and formatting
Excel (.xlsx)✅ Tabular data
PowerPoint (.pptx)✅ Slide content
Plain text (.txt)✅ Direct import
CSV✅ Structured data
Images❌ Not processed (unless OCR enabled)

SmartFlow Actions

Google Drive exports powerful SmartFlow actions for file automation:

Available Actions

ActionDescriptionParameters
Sync FolderTrigger folder syncfolder_id
Upload FileUpload new filefolder_id, file_content, file_name
Create FolderCreate new folderparent_id, folder_name
Get FileRetrieve file contentfile_id
List FilesList folder contentsfolder_id, file_type
Search FilesSearch by name/contentquery, folder_id

Example: Document Sync on Schedule

Automatically sync your documentation folder daily:

Workflow: Google Drive Daily Sync
Trigger: Scheduled (Daily at 3:00 AM)
Actions:
- Google Drive - Sync Folder:
Folder ID: 1ABC123xyz...
Include Subfolders: true
- Email Notification:
To: admin@company.com
Subject: Drive sync completed

Example: Upload Report from SmartFlow

Generate and upload a report automatically:

Trigger: Scheduled (Monthly on 1st)
Actions:
1. Generate Report:
Type: Monthly Summary
Format: PDF
2. Google Drive - Upload File:
Folder: Reports/Monthly
File Name: report-{{current_month}}.pdf
Content: {{generated_report}}
3. Send Email:
Subject: Monthly report uploaded
Body: "Report available in Google Drive"

Use Cases

Company Documentation

Sync internal docs for team questions:

  • "What's our vacation policy?"
  • "Where can I find the brand guidelines?"
  • "Summarize the Q3 strategy document"

Sales & Marketing

Keep AI updated with latest materials:

  • "What's in our latest pitch deck?"
  • "Find the pricing sheet"
  • "What case studies do we have?"

HR & Onboarding

Answer employee questions:

  • "How do I submit expenses?"
  • "What's the process for performance reviews?"
  • "Find the employee handbook"

Technical Documentation

Sync technical specs and guides:

  • "What are the API specifications?"
  • "Find the architecture diagram docs"
  • "How do we deploy to production?"

Sync Behavior

Automatic Sync

When enabled, AI SmartTalk periodically:

  • Checks for new files in selected folders
  • Updates modified documents
  • Removes deleted files from knowledge base

Manual Sync

Force an immediate refresh:

  1. Go to SettingsIntegrationsGoogle Drive
  2. Click Sync Now

Incremental Updates

Only changed files are re-processed:

  • New files → Added
  • Modified files → Updated
  • Deleted files → Removed

Comparison: Google Drive vs SharePoint

FeatureGoogle DriveSharePoint
OAuth setup
Folder selection
Auto-sync
SmartFlow actionsComing soon
Native format supportGoogle Docs/SheetsOffice formats

Note: Choose based on your organization's primary productivity suite. Both offer similar knowledge sync capabilities.


Troubleshooting

Connection Issues

IssueSolution
"Access denied"Re-authorize with Google OAuth
"Folder not visible"Check folder sharing permissions
"Token expired"Click Reconnect to refresh

Sync Issues

IssueSolution
Files missingVerify files are in selected folders
Old contentClick Sync Now to refresh
Large files slowLarge documents take longer to process

Content Quality

IssueSolution
Scanned PDFs emptyEnable OCR in settings
Formatting lostExpected for plain text extraction
Sheets garbledCheck if sheets have complex formatting

Managing the Connection

ActionHow
Add foldersEdit connection → Select more folders
Remove foldersUncheck folders to stop syncing
Change accountDisconnect, then connect with different account
DisconnectSettings → Integrations → Google Drive → Disconnect

Warning: Disconnecting removes all synced content from your knowledge base.


Security & Privacy

Permissions

  • AI SmartTalk requests read-only access
  • We never modify, delete, or share your files
  • Access can be revoked anytime in Google Account settings

Data Handling

  • Documents are processed and vectorized
  • Original files remain in your Drive
  • Processed content is stored securely in AI SmartTalk

Compliance

  • OAuth 2.0 for secure authentication
  • No credentials stored (token-based)
  • Audit logs available for all sync activities

Best Practices

  1. Organize for sync: Create dedicated folders for AI content
  2. Use descriptive names: Clear file names help AI understand context
  3. Keep documents current: Outdated docs = outdated AI answers
  4. Limit sync scope: Only sync what your AI needs
  5. Regular audits: Review synced content periodically

Ready to elevate your
user experience?

Deploy AI assistants that delight customers and scale with your business.

GDPR Compliant