Google Drive
Browse, read, and upload files in Google Drive through InfuseOS.
Google Drive Integration
The Google Drive integration lets you access and manage your files through natural conversation. Browse folders, read documents, upload new files, and organize your Drive—all within InfuseOS.
Screenshot
[IMAGE PLACEHOLDER: Drive file list showing folders and documents]
Available Actions
| Action | Description | Approval Required |
|---|---|---|
| List Files | Search and browse files | ❌ No |
| Read File | Get file contents | ❌ No |
| Create Folder | Create new folders | ❌ No |
| Upload File | Upload new files | ✅ Yes |
| Update File | Replace file contents | ✅ Yes |
Browsing Files
List Recent Files
"Show my recent files in Drive"
"List files in my Drive"
"What documents do I have?"Search for Files
"Find files named 'report'"
"Search for PDFs in my Drive"
"Look for files I edited last week"Browse Folders
"Show files in my Projects folder"
"List contents of the 2024 folder"
"What's in my shared drives?"Screenshot
[IMAGE PLACEHOLDER: File listing with folder structure]
Search Query Syntax
For precise searches, use Drive query syntax:
| Query | Description |
|---|---|
name contains 'report' | Name contains "report" |
mimeType = 'application/pdf' | PDF files only |
modifiedTime > '2024-01-01' | Modified after date |
'folder_id' in parents | Files in specific folder |
starred = true | Starred files |
trashed = false | Not in trash |
File Information
Each file listing shows:
- File name
- File type (Document, Spreadsheet, PDF, etc.)
- Last modified date
- File size
- Folder location
Reading Files
Get the contents of files:
"Read the Q4 Report document"
"Show me what's in the project proposal"
"Get the contents of budget.xlsx"Automatic Format Conversion
InfuseOS automatically converts Google Workspace files:
| File Type | Converted To |
|---|---|
| Google Docs | Plain text |
| Google Sheets | CSV format |
| Google Slides | Plain text |
| PDFs | Extracted text |
| Other files | Base64 (if binary) |
Screenshot
[IMAGE PLACEHOLDER: File content being read and displayed]
Content Limits
Large files are truncated to 50,000 characters to fit within AI context limits. For very large files:
"Read just the first section of the document"
"Summarize the main points from the report"Creating Folders
Organize your Drive with new folders:
"Create a folder called 'Q4 2024'"
"Make a new folder named 'Project Files' in my Projects folder"
"Create a 'Invoices' folder"Specifying Location
"Create a folder called 'Assets' inside the Marketing folder"
"Make a new subfolder in Projects called 'Client Work'"Uploading Files
Upload new files to Drive:
"Upload this document to my Drive"
"Save this file to my Projects folder"
"Upload the PDF I shared to Drive"Upload Options
| Option | Description |
|---|---|
| File name | Name for the uploaded file |
| Content | Text content to upload directly |
| File from chat | File you've shared in conversation |
| Destination | Folder to upload to |
Screenshot
[IMAGE PLACEHOLDER: Upload file approval dialog]
Upload from Chat
If you've shared a file in your conversation:
"Upload the PDF I just shared to my Drive"
"Save that spreadsheet to my Reports folder"Create New Files
Create new files with content:
"Create a new text file called 'notes.txt' with today's meeting notes"
"Upload a new file with this content: [your content]"Updating Files
Replace the contents of existing files:
"Update the project plan with the new timeline"
"Replace the contents of notes.txt with this new version"Updating a file replaces its entire contents. There's no partial update.
Screenshot
[IMAGE PLACEHOLDER: Update file approval dialog]
Example Prompts
Finding Files
"Find all PDFs from last month"
"Search for files with 'invoice' in the name"
"Show files shared with me recently"Reading and Analyzing
"Read the project proposal and summarize the key points"
"What does the budget spreadsheet show for Q4?"
"Find the contract and tell me the payment terms"Organizing
"Create a folder structure for the new project with subfolders
for Documents, Assets, and Reports"
"Move all the Q3 files to an archive folder"Uploading
"Upload the report I created to my Reports folder"
"Save this analysis as a new document in Drive"Working with Google Docs
For more advanced document operations (editing, formatting, sharing), use the Google Docs integration.
Best Practices
1. Be Specific About File Names
❌ "Find the report"
✅ "Find the file named 'Q4 Sales Report 2024'"2. Specify Folders
❌ "Upload this file"
✅ "Upload this file to my Projects/Client Work folder"3. Use Search Effectively
"Find PDFs with 'invoice' in the name from this year"4. Review Before Uploading/Updating
Always check the approval dialog before confirming file operations.
Limitations
- Large files: Very large files may be truncated when reading
- Binary files: Non-text files are returned as base64
- Permissions: Respects your Drive sharing permissions
- Shared drives: Accessible if you have appropriate permissions