Skip to content
Integration

Google Drive integrations and automation

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 on Whenever

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

How Whenever connects

Through its API, with the provider’s credentials and permissions.

Build it from your AI client

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 server

Plan your Google Drive workflow

In 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.

Google Drive workflow examples

Starter briefs to set up with your accounts, not finished workflows.

Check new docs against brand guidelines

Adapted from the marketing-brand-guideline-check template: one review per new document, quoted passages only.

Build this workflow

Book a review meeting for each new spec

Based on the pm-spec-review-meeting template, with the calendar check that prevents a second meeting.

Build this workflow

Quarterly stale-file review for a shared drive folder

A read-only audit that uses the shared-drive parameters and leaves every decision to the folder owner.

Build this workflow

Google Drive workflows to start from

Real briefs for this app. Pick one; Whenever writes it for your accounts.

Related apps for your workflows

All integrations

Google Drive FAQs

Why doesn’t my Drive API search return files from a shared drive?

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.

Do Drive push notifications include the changed file?

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.

How long does a Drive watch channel last?

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.

Which Google Drive scope should an automation use?

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.

How can a workflow detect only new files in a folder?

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.

Your first workflow is one sentence away.

One workflow free. No card. Weekly AI-building limits.