
recipe-watch-drive-changes
Subscribe to Google Drive file and folder changes via Pub/Sub notifications
by googleworkspaceFree
Description
recipe-watch-drive-changes is a recipe skill from the Google Workspace CLI project, listed on skills.sh. It subscribes to change notifications for a Google Drive file or folder, delivered through Pub/Sub. The steps create a subscription on the Drive resource for the file-updated event type, with a Pub/Sub topic as the notification endpoint and the resource included in each payload. The recipe then lists active subscriptions, and it shows how to renew a subscription with gws events +renew before it expires. It requires the gws-events skill and the gws binary. Creating a subscription sets up a notification channel in a Google Cloud project, so the user needs that project and topic in place first. It suits developers who want to react to changes in a Drive folder, such as triggering a process when a document is updated, and who are comfortable running a Pub/Sub setup.…
Highlights
- Subscribes to Drive file or folder changes
- Pub/Sub notification endpoint
- Lists and renews subscriptions
- Needs gws-events and the gws binary
Ratings & Reviews
No ratings yet
Be the first to rate recipe-watch-drive-changes.
People also visit

gws-events-subscribe
Subscribe to Google Workspace events and stream them as NDJSON output

gws-drive-upload
Upload files to Google Drive with automatic MIME type detection and metadata

recipe-create-feedback-form
Create a Google Form for feedback collection and distribute it via email
recipe-watch-drive-changes FAQ
What does this recipe do?
It creates a subscription that sends a notification to a Pub/Sub topic when a Drive file or folder changes.
How do I install it?
Run: npx skills add https://github.com/googleworkspace/cli --skill recipe-watch-drive-changes
What do I need first?
A Google Cloud project with a Pub/Sub topic to receive the notifications, and the gws-events skill.
Do subscriptions last forever?
No. The recipe includes a renewal step that runs before the subscription expires.
Has it been checked for security?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best recipe-watch-drive-changes alternatives?
Popular alternatives to recipe-watch-drive-changes include gws-events-subscribe, google-workspace-ops and gws-drive-upload. See all recipe-watch-drive-changes alternatives



