Integrations / Content
Google Drive
Search files, read file details, export Google Docs as text or Markdown, create folders, and share files in Google Drive.
Tools
google_drive.search_files
Search files and folders with a Drive query, e.g. name contains 'budget' and trashed = false. File IDs look like 1a2B3c4D5e6F7g8H9i0JkLmNoPqRsTuVw.
google_drive.get_file
Get a file's or folder's metadata by ID.
google_drive.export_doc
Export a Google Doc's content as plain text or Markdown (up to 10 MB); for Google Docs only, not uploaded files.
google_drive.create_folder writes
Create a folder, at the top of My Drive or inside a parent folder.
google_drive.share_file writes
Share a file or folder with a user, group, domain or anyone with the link.
google_drive.api_get
Send a GET request to any Google Drive API path under https://www.googleapis.com/drive/v3 and return the response. For endpoints the named tools don't cover.
google_drive.api_request writes
Send a POST, PUT, PATCH or DELETE request to any Google Drive API path under https://www.googleapis.com/drive/v3.
Tick Allow raw writes on the connection to add api_request, which can send POST, PUT, PATCH and DELETE requests to any Google Drive API path.
Connect
- In the Google Cloud console, create or pick a project and enable the Google Drive API under APIs & Services → Library.
- Under Google Auth Platform, fill in Branding, choose the Audience (Internal for a Google Workspace organization, or External with yourself as a test user), and under Data Access add the scope https://www.googleapis.com/auth/drive.
- This connection asks for the full drive scope rather than drive.readonly: searching and exporting every file only needs drive.readonly, but sharing a file or adding a folder inside an existing one needs write access, and drive.file would only reach files this connection created. Both drive and drive.readonly are restricted scopes, so a public app needs Google's verification and security assessment either way; Internal apps and test users don't.
- Under Google Auth Platform → Clients, create a Web application client and add the redirect URL shown on the connection page (https://<this app>/oauth/callback) as an authorized redirect URI.
- Paste the client ID and client secret on the connection, save, and use Connect to sign in with Google.
- While an External app's publishing status is Testing, only its test users can connect and Google expires their refresh tokens after 7 days.
Press Connect on the connection to approve access at Google Drive. Tokens renew automatically. How OAuth connections work
Credentials
Your next automation is one sentence away.
14-day free trial with $5 of built-in AI included. Cancel anytime.