gws-events-subscribe

Subscribe to Google Workspace events and stream them as NDJSON.

4|2|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/73ai/openbotkit --skill gws-events-subscribe-73ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gws-events-subscribe
Source: https://github.com/73ai/openbotkit/tree/main/skills/gws-events-subscribe
Command: npx skills add https://github.com/73ai/openbotkit --skill gws-events-subscribe-73ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Subscribes to Google Workspace events and streams them as NDJSON for real-time processing, analytics, and alerting without polling APIs manually.

Core Features & Use Cases

  • Subscribes to Workspace events and streams them as line-delimited JSON (NDJSON) for downstream processing.
  • Supports cloud event types, target workspace resources, and Pub/Sub-like subscriptions for scalable ingestion.
  • Integrates with authentication and shared flags in gws-shared for secure access and consistent UX.

Quick Start

Run gws events +subscribe to start streaming Google Workspace events to NDJSON.

Frequently Asked Questions about gws-events-subscribe

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

FAQPage Schema
How do I stream Google Workspace events as NDJSON for real-time logging?▼

To stream Google Workspace events as NDJSON, you can subscribe to specific event types and target resources. The skill outputs line-delimited JSON to a specified directory for real-time logging and analytics pipelines.

What is the best way to monitor Google Workspace activity in real-time without manual API polling?▼

The best way to monitor real-time Google Workspace activity without manual API polling is using a subscription-based event stream. It feeds NDJSON events directly to alerting or analytics pipelines as they occur.

Do I need gws-shared to authenticate Google Workspace event subscriptions?▼

Yes, you need gws-shared to authenticate Google Workspace event subscriptions. It provides secure access and integrates shared flags to ensure consistent user experience during event streaming.

Can I filter Google Workspace event types and target specific resources for my NDJSON stream?▼

Yes, you can filter Google Workspace event types and target specific resources for your NDJSON stream. The skill supports flags for event-types, target, project, and subscription to scope your ingestion.

How do I control message limits and polling intervals when subscribing to Workspace events?▼

You control message limits and polling intervals using the max-messages and poll-interval flags. You can also use the once flag to limit execution to a single polling cycle for testing.