Last updated: 4 July 2026
Google Drive
LiveList, search, read, create, and share files in Google Drive through your AI.
Who needs this: Teams using Google Drive as their file store who want AI to find documents and automate file operations.
Example questions once connected
- Find the Q2 board pack in Drive
- List all spreadsheets shared with the finance team
- Create a new Google Doc called "June Collections Summary"
- Share the Supplier Compliance Report with [email protected]
Step-by-step setup
- Open the connector in your Msharti dashboard. Go to Connectors → Google Drive → Connect. Msharti creates a unique OAuth link. Click Open in Browser.
- Log in with your Google account. A consent screen lists what Msharti can access. Review the permissions and click Accept or Continue.
- Confirm the connection in Msharti. You will be redirected back to the dashboard. The connector shows Connected with a green dot. Tokens are stored securely and refreshed automatically.
Tool reference
These are the tools the AI can call on this connector. Each tool fires automatically when you ask a relevant question.
list_files() List files in Google Drive with optional folder, type, and owner filters. Inputs optional: folder_name, file_type (doc/sheet/pdf/etc), owner, modified_after
Try asking "Show me all PDF files in the Finance folder modified this month"
Returns 3 PDFs: "June Bank Statement.pdf" (12 Jun), "Q2 Audit Report.pdf" (8 Jun), "KRA Compliance Certificate.pdf" (3 Jun).
search_files() Full-text search across file names and content in Google Drive. Inputs query string, optional: file_type, date_range
Try asking "Find all documents mentioning "M-Pesa reconciliation""
Returns 4 documents: "May Recon Notes" (Docs), "Recon Template 2026" (Sheets), "Msharti Recon Runbook" (Docs), "June Recon Draft" (Docs).
get_file() Retrieve the content or metadata of a specific Drive file. Inputs file_name or file_id, optional: export_format (text/pdf)
Try asking "Read the contents of the June Collections Summary doc"
Returns June Collections Summary (Google Doc, last edited 12 Jun). Contents: Total M-Pesa: KES 4.2M. Bank: KES 1.8M. MPESA reconciled: 98.4%. Action items: [3 items listed].
create_file() Create a new Google Doc or Sheet in Drive. Inputs name, type (doc/sheet), optional: folder, content
Try asking "Create a Google Doc called "Q2 CFO Report" in the Finance folder"
Returns Document created: "Q2 CFO Report" in Finance folder. URL: docs.google.com/document/d/1xY... Ready to edit.
share_file() Share a Drive file or folder with a specific user or make it accessible via link. Inputs file_name or file_id, email (optional), role (viewer/commenter/editor), optional: link_sharing
Try asking "Share the Supplier Compliance Report with [email protected] as a viewer"
Returns Supplier Compliance Report shared with [email protected] (Viewer). Notification email sent.
Limits
- File content extraction works for Google Docs and Sheets. Binary files (images, videos) return metadata only.
- Google Drive API quota: 1,000,000,000 queries/day per project. Rate limit: 1,000 requests/100 seconds/user.
- Delegated permissions — the AI can only access files your account has permission to view or edit.
Need help? [email protected] — Nairobi-based, same time zone.