recipe-watch-drive-changes

star 8

Subscribe to change notifications on a Google Drive file or folder.

niclasmartinsson-sys By niclasmartinsson-sys schedule Updated 3/3/2026

name: recipe-watch-drive-changes version: 1.0.0 description: "Subscribe to change notifications on a Google Drive file or folder." metadata: openclaw: category: "recipe" domain: "engineering" requires: bins: ["gws"] skills: ["gws-events"]


Watch for Drive Changes

PREREQUISITE: Load the following skills to execute this recipe: gws-events

Subscribe to change notifications on a Google Drive file or folder.

Steps

  1. Create subscription: gws events subscriptions create --json '{"targetResource": "//drive.googleapis.com/drives/DRIVE_ID", "eventTypes": ["google.workspace.drive.file.v1.updated"], "notificationEndpoint": {"pubsubTopic": "projects/PROJECT/topics/TOPIC"}, "payloadOptions": {"includeResource": true}}'
  2. List active subscriptions: gws events subscriptions list
  3. Renew before expiry: gws events +renew --subscription SUBSCRIPTION_ID
Install via CLI
npx skills add https://github.com/niclasmartinsson-sys/google-workspace-cli --skill recipe-watch-drive-changes
Repository Details
star Stars 8
call_split Forks 1
navigation Branch main
article Path SKILL.md
More from Creator
niclasmartinsson-sys
niclasmartinsson-sys Explore all skills →