recipe-watch-drive-changes

Subscribe to Google Drive file change notifications via Cloud Pub/Sub.

30.3k|1.8k|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/googleworkspace/cli --skill recipe-watch-drive-changes-googleworkspace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: recipe-watch-drive-changes
Source: https://github.com/googleworkspace/cli/tree/main/skills/recipe-watch-drive-changes
Command: npx skills add https://github.com/googleworkspace/cli --skill recipe-watch-drive-changes-googleworkspace

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill allows you to automatically receive notifications whenever a specific Google Drive file or folder is updated, ensuring you're always aware of critical changes.

Core Features & Use Cases

  • Real-time Change Detection: Subscribe to updates on any Drive file or folder.
  • Automated Workflows: Trigger subsequent actions when changes are detected.
  • Use Case: Automatically re-process a Google Sheet when its source file in Drive is modified, ensuring your analysis is always up-to-date.

Quick Start

Subscribe to updates for the Google Drive file with ID 'DRIVE_ID' and send notifications to the Pub/Sub topic 'projects/PROJECT/topics/TOPIC'.

Frequently Asked Questions about recipe-watch-drive-changes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get real-time notifications when a Google Drive file is updated?

To receive real-time notifications for Google Drive updates, you can subscribe to change notifications on specific files or folders. This monitors file updates and delivers event notifications directly to a Google Cloud Pub/Sub topic.

How do I trigger an automated workflow when a Google Drive folder changes?

You can trigger automated workflows for Google Drive folder changes by subscribing to change notifications. When a modification is detected, the event is published to a Google Cloud Pub/Sub topic, allowing downstream processes to execute automatically.

Do I need a Google Cloud Pub/Sub topic to watch Google Drive changes?

Yes, a Google Cloud Pub/Sub topic is required to watch Google Drive changes. The subscription service targets Drive files using the Google Drive API and routes the update notifications to your specified Pub/Sub topic for delivery.

Can I monitor specific Google Drive files for modifications using the Drive API?

Yes, you can monitor specific Google Drive files for modifications. By targeting a Drive file ID with the Google Drive API, the system subscribes to resource changes and pushes update events to your configured notification channel.

What is the best way to automatically re-process a Google Sheet when its source file changes?

The best way to automatically re-process a Google Sheet upon source file changes is to subscribe to Drive file update notifications. This delivers real-time change events to Pub/Sub, triggering your re-processing workflow without manual polling.

Why does watching Google Drive changes require event management setup?

Watching Google Drive changes requires event management setup because the subscription relies on the gws-events skill to handle the real-time change events. This integration manages the notification lifecycle and connects Drive updates to your Pub/Sub topic.