gws-events
Subscribe to Google Workspace events.
Why use this skill?
Efficiently monitor and manage Google Workspace events using the gws-events skill. Subscribe to real-time updates and automate your task lifecycle workflows today.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/googleworkspace-bot/gws-eventsWhat This Skill Does
The gws-events skill provides a robust interface for interacting with Google Workspace Events, enabling the OpenClaw AI agent to monitor, subscribe to, and manage real-time updates within your Workspace environment. Acting as a bridge between the Google Workspace Events API and your automation workflows, this skill allows for granular control over subscriptions, task monitoring, and long-running operations. It is designed to handle both passive observation—through subscriptions that stream events as NDJSON—and active management—by allowing users to patch, renew, or reactivate event streams as needed. Whether you are tracking user activities, system changes, or specific task lifecycle updates, this tool ensures your agent stays synchronized with the latest data from the Google ecosystem.
Installation
To integrate this skill into your environment, use the OpenClaw CLI tool. Before proceeding, ensure that you have configured your authentication and global flags by running gws generate-skills or referring to the ../gws-shared/SKILL.md file in your repository. Install the skill using the following command:
clawhub install openclaw/skills/skills/googleworkspace-bot/gws-events
Use Cases
- Automated Monitoring: Establish event subscriptions to receive immediate notifications when specific workspace resources change, allowing your agent to trigger secondary workflows.
- Task Lifecycle Management: Use the
tasksresource to monitor ongoing operations. This is particularly useful for tracking long-running tasks and responding instantly when they reach a terminal state. - Maintenance & Compliance: Utilize the
subscriptionsresource to audit currently active connections, renew expiring ones, or reactivate suspended subscriptions without requiring manual intervention. - Real-time Data Streaming: Pipe incoming Google Workspace events directly into other data processing pipelines by leveraging the streaming capabilities of the
messageresource.
Example Prompts
- "Subscribe me to all user activity events in my Google Workspace and stream the logs to my current console session."
- "Check the status of my current long-running task associated with the latest data export operation."
- "List all my active Google Workspace subscriptions and renew any that are set to expire in the next 24 hours."
Tips & Limitations
- Prerequisites: Always ensure that
gws-sharedis correctly set up. Without valid authentication scopes from the shared configuration, API calls will fail consistently. - Streaming Constraints: When using the
message:streamortasks:subscribemethods, remember that these are persistent connections. Ensure your network policy allows for long-lived socket connections to avoid premature termination. - Subscription Health: Keep an eye on the
reactivatefunctionality. If a subscription enters a suspended state, the system will not resume automatically; you must manually invoke the reactivate command after resolving the underlying cause. - Security: Because this skill interacts with sensitive workspace data, verify that your API credentials have the minimum viable scopes required for the specific resources you intend to monitor.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-googleworkspace-bot-gws-events": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api, network-access
Related Skills
gws-workflow-standup-report
Google Workflow: Today's meetings + open tasks as a standup summary.
gws-modelarmor-create-template
Google Model Armor: Create a new Model Armor template.
recipe-create-feedback-form
Create a Google Form for feedback and share it via Gmail.
gws-admin-reports
Google Workspace Admin SDK: Audit logs and usage reports.
gws-chat
Google Chat: Manage Chat spaces and messages.