gws-events
What it does
This tool lets you manage Google Workspace event notifications. You can create, view, update, or delete subscriptions to get alerts about what's happening in your accounts.
When to use it
- βWhen you want to be notified about new Gmail messages.
- βTo know when a file is modified in Google Drive.
- βTo receive alerts about Google Calendar events.
Skill link
https://github.com/googleworkspace/cli/blob/main/skills/gws-events/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βI want to be notified whenever a new email arrives in my primary inbox.β
5 new skills a week. 1 minute to read.
How it works
You specify the type of event you want to track (like new messages), and the tool sets up Google Workspace to send you that information.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
createβ Creates a Google Workspace subscription. To learn how to use this method, see Create a Google Workspace subscription.deleteβ Deletes a Google Workspace subscription. To learn how to use this method, see Delete a Google Workspace subscription.getβ Gets details about a Google Workspace subscription. To learn how to use this method, see Get details about a Google Workspace subscription.listβ Lists Google Workspace subscriptions. To learn how to use this method, see List Google Workspace subscriptions.patchβ Updates or renews a Google Workspace subscription. To learn how to use this method, see Update or renew a Google Workspace subscription.reactivateβ Reactivates a suspended Google Workspace subscription. This method resets your subscription'sStatefield toACTIVE. Before you use this method, you must fix the error that suspended the subscription. This method will ignore or reject any subscription that isn't currently in a suspended state. To learn how to use this method, see Reactivate a Google Workspace subscription.
tasks
cancelβ Cancel a task from the agent. If supported one should expect no more task updates for the task.getβ Get the current state of a task from the agent.subscribeβ TaskSubscription is a streaming call that will return a stream of task update events. This attaches the stream to an existing in process task. If the task is complete the stream will return the completed task (like GetTask) and close the stream.pushNotificationConfigsβ Operations on the 'pushNotificationConfigs' resource
Discovering Commands
Before calling any API method, inspect it:
# Browse resources and methods
gws events --help
# Inspect a method's required params, types, and defaults
gws schema events.<resource>.<method>
Use gws schema output to build your --params and --json flags.
FAQ
What are 'subscriptions'?
Subscriptions are like an agreement for Google Workspace to alert you about certain occurrences.
Can I choose which events I want to receive?
Yes, you can specify the types of events that interest you.
How do I know if my notifications are working?
You can check the status of your subscriptions to ensure they are active and receiving events.
Details
Popularity
- GitHub stars
- 32k
- Ranking position
- #9165
- License
- Apache-2.0
- Updated
- 10/6/2026
Comments
- β¦
More skills from this repository
gws-admin-reports
32kHelps your agent get activity reports from Google Workspace. It collects audit and usage data.
gws-calendar-agenda
32kHelps your agent see upcoming events across all calendars. It's useful for organizing your schedule and knowing what's coming up.
gws-calendar-insert
32kLets your agent create new events in Google Calendar. It's useful for scheduling appointments and meetings.
gws-calendar
32kAllows your agent to manage calendars and events. It's useful for organizing your life and work.
Similar skills
knowledge-automation
394kHelps your agent set up a recurring job that brings new content into your Knowledge vault on a schedule, then checks that the job runs.
knowledge-source-ingest
394kHelps your agent keep a Knowledge vault current with new items from chat channels, feeds, or mailboxes, without re-adding what it already has.
benchmark
280kHelps your agent measure code speed and performance. It's useful for ensuring things are fast and finding slowness issues.