About Google Drive
Google Drive is a cloud storage solution for uploading, sharing, and collaborating on files across devices, with robust search and offline access
Say what should happen in Google Drive, in plain words. Whenever builds it and runs it on a schedule, webhook or app event.
Connection requirements, provider permissions and optional AI usage apply. Read the runtime limits.
No credit card needed.
Google Drive is a cloud storage solution for uploading, sharing, and collaborating on files across devices, with robust search and offline access
Through its API, with the provider’s credentials and permissions.
Connect Claude, Cursor or Codex to the Whenever MCP server. Your coding agent builds and deploys the Google Drive workflow. It then runs on Whenever, with the chat closed.
Set up the Whenever MCP serverIn most workflows Google Drive is the place where documents appear and where results get filed. The Drive API identifies everything by file ID; a folder is itself a file with the folder MIME type, and membership is expressed through the parents field. To find new work, files.list takes a query such as the folder ID in parents, trashed = false and a createdTime later than the previous run. By default it returns only id, name, mimeType and a couple of other fields, so ask for the fields you need, and follow nextPageToken until it is empty.
Four catalogue templates use Drive. Three start on a schedule, daily at 09:00 UTC by default or more often on Pro, and list Google Docs created since the last run in a folder chosen during setup. The brand-guideline check reads each new document alongside a guideline document, asks AI to quote passages that break a guideline, and posts the notes to Slack once per document. The spec-review template skips specs already linked from a calendar event, drafts a 30-minute agenda and books a Google Calendar review two working days out. The freelance-intake template reads unread Gmail inquiries and creates a job folder and brief in Drive, and the feature-request template files a Docs PRD for each Typeform response in a chosen folder.
Shared drives behave differently from My Drive. Listing a folder that lives in a shared drive requires supportsAllDrives and includeItemsFromAllDrives on the request, and broad searches across corpora can come back incomplete, which Drive flags with incompleteSearch. If you track changes instead of listing folders, each shared drive keeps its own change log; replaying the user’s log alone misses items inside shared drives. A change entry also gives the item’s current state, not a diff, so keep the previously seen values if you need to know what changed.
Drive can push notifications through files.watch and changes.watch, but a notification only says that something changed, through headers such as X-Goog-Resource-State. You still call the API to find out what. Channels expire, and Drive has no automatic renewal, so a new channel must be created before the old one lapses. For most folder-based workflows, a scheduled listing is simpler, even though it starts a run when nothing is new. Pick the narrowest scope that works: drive.file covers only files the user opens or shares with the app, while full drive and drive.readonly are restricted scopes subject to Google’s verification.
Starter briefs to set up with your accounts, not finished workflows.
Adapted from the marketing-brand-guideline-check template: one review per new document, quoted passages only.
Based on the pm-spec-review-meeting template, with the calendar check that prevents a second meeting.
A read-only audit that uses the shared-drive parameters and leaves every decision to the folder owner.
Real briefs for this app. Pick one; Whenever writes it for your accounts.
Reads each new document in a Drive folder against your brand guideline doc and posts any passages that break it to Slack.
Turns each feature request form response into a PRD draft in Google Docs and logs it in your request tracker sheet.
Reads each new spec in a Drive folder, writes a review agenda, and invites your stakeholders to a meeting two working days out.
Summarizes each new project inquiry in Gmail, logs it, and prepares the folder, brief and calendar hold for the work.
Requests must set supportsAllDrives=true and includeItemsFromAllDrives=true for items in shared drives. When searching several corpora, check incompleteSearch in the response; narrow to user or drive if it is true.
No. They arrive as headers such as X-Goog-Resource-State and X-Goog-Changed. Call changes.list or files.get afterwards to see the current state of the item.
Until its expiration, set by your request or by Drive’s own limits, whichever is more restrictive. Drive offers no automatic renewal, so create a replacement channel with a new ID before it expires.
Use the narrowest one. drive.file is non-sensitive and covers files the user opens or shares with the app. drive, drive.readonly and the metadata scopes are restricted and need Google’s restricted-scope verification.
Query files.list with the folder ID in parents, trashed = false and createdTime later than the last run, and store processed file IDs so an edited or moved file is not handled twice.
One workflow free. No card. Weekly AI-building limits.