gws-events

Subscribe to Google Workspace events and stream NDJSON data in real time.

8|1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/niclasmartinsson-sys/google-workspace-cli --skill gws-events-niclasmartinsson-sys
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-events
Source: https://github.com/niclasmartinsson-sys/google-workspace-cli/tree/main/skills/gws-events
Command: npx skills add https://github.com/niclasmartinsson-sys/google-workspace-cli --skill gws-events-niclasmartinsson-sys

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Subscribes to Google Workspace events and streams them in real time for monitoring, automation, and integration workflows.

Core Features & Use Cases

  • Real-time event streaming: Subscribe to Workspace events and receive NDJSON streams for all supported resources.
  • Subscription management: Create, delete, get, list, patch, and reactivate event subscriptions to control event delivery.
  • Discover and observe: Inspect resources, methods, and events to build dashboards or trigger automations from event data.

Quick Start

Run gws events <resource> <method> to start streaming events for a selected resource.

Frequently Asked Questions about gws-events

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I subscribe to Google Workspace events and stream them in real time?

To subscribe to Google Workspace events, use the gws CLI to create a subscription for a specific resource and stream real-time event data directly as an NDJSON feed for monitoring or automations.

Can I manage Google Workspace event subscriptions programmatically?

Yes, you can manage event subscriptions programmatically by using the gws CLI to create, list, patch, delete, and reactivate subscriptions across multiple supported Google Workspace event resources.

What format does the Google Workspace event stream use for data delivery?

The Google Workspace event stream uses NDJSON format to deliver real-time event data, allowing you to directly pipe streaming events into downstream dashboards or automation workflows.

How do I trigger automations from Google Workspace activity monitoring?

You can trigger automations from Google Workspace activity monitoring by subscribing to event streams, receiving NDJSON formatted updates, and processing the event data to initiate downstream workflow actions.

Do I need additional dependencies to stream Google Workspace events?

No additional dependencies are required to stream Google Workspace events, as the Skill operates independently and interfaces directly with the Google Workspace Events API via the gws CLI.

What should I do if a Google Workspace event subscription stops delivering events?

If a Google Workspace event subscription stops delivering events, you can use the gws CLI to reactivate the subscription and resume the real-time NDJSON event stream for your resources.