
Gws Events
A straightforward wrapper around Google Workspace Events API that lets you subscribe to real-time notifications from Gmail, Drive, Calendar, and other Workspace apps. You can create subscriptions, stream events as NDJSON, and manage subscription lifecycles without wrestling with OAuth flows or webhook endpoints. The helper commands make it easy to set up event streams and renew expiring subscriptions. Most useful for building automation workflows that react to document changes, new emails, or calendar updates. Requires the gws CLI and proper Workspace admin permissions, but once configured it handles the streaming complexity for you.
- skills.sh installs
- 32.1K
- GitHub stars
- 32.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add googleworkspace/cli --skill gws-events --agent claude-codeInstalls into .claude/skills of the current project.
Files
events (v1)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws events <resource> <method> [flags]
Helper Commands
| Command | Description |
|---|---|
+subscribe | Subscribe to Workspace events and stream them as NDJSON |
+renew | Renew/reactivate Workspace Events subscriptions |
API Resources
message
stream— SendStreamingMessage is a streaming call that will return a stream of task update events until the Task is in an interrupted or terminal state.
operations
get— Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
subscriptions
Sponsors
Details
- Repository
- github.com/googleworkspace/cli
- Categories
- CLI & Terminal, Office & Documents
More from googleworkspace/cli
All 113- Persona Researcher32K
- Recipe Create Gmail Filter32K
- Recipe Save Email Attachments31.8K
- Recipe Backup Sheet As Csv31.7K
- Recipe Organize Drive Folder31.7K
- Persona Exec Assistant31.6K
- Recipe Find Free Time31.5K
- Gws Workflow File Announce31.5K
- Recipe Compare Sheet Tabs31.5K
- Persona Content Creator31.5K
- Gws Events Renew31.5K
- Gws Events Subscribe31.4K
- Recipe Plan Weekly Schedule31.4K
- Recipe Bulk Download Folder31.4K
- Recipe Create Doc From Template31.4K
- Recipe Sync Contacts To Sheet31.3K
- Gws Admin Reports31.3K
- Recipe Generate Report From Sheet31.2K
- Recipe Label And Archive Emails31.1K
- Recipe Reschedule Meeting31.1K
- Recipe Save Email To Doc31.1K
- Recipe Block Focus Time31K
- Recipe Watch Drive Changes31K
- Recipe Create Shared Drive31K