gws-events-subscribe

Subscribe to Google Workspace events and stream them as NDJSON.

Updated May 25, 2025
One-click install
npx skills add https://github.com/temple-slope/dotfiles --skill gws-events-subscribe-temple-slope
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-events-subscribe
Source: https://github.com/temple-slope/dotfiles/tree/main/.agents/skills/gws-events-subscribe
Command: npx skills add https://github.com/temple-slope/dotfiles --skill gws-events-subscribe-temple-slope

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Subscribe to Google Workspace events and stream them as NDJSON for real-time processing and automation across dashboards, audits, or integrations.

Core Features & Use Cases

  • Subscribes to various Google Workspace events and emits NDJSON lines for downstream processing.
  • Supports configurable event types, Pub/Sub integration, and output directory for local logging.
  • Use Case: build real-time workspace event pipelines for alerting, incident response, or activity dashboards.

Quick Start

Run gws events +subscribe to start streaming events as 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 processing?

To subscribe to Google Workspace events, you need the gws CLI installed, Google Cloud authentication configured, and proper Pub/Sub or workspace resource access to receive and emit event streams.

How does Pub/Sub integration work for Google Workspace event subscriptions?

Pub/Sub integration captures Google Workspace events and routes them through Google Cloud messaging infrastructure, allowing the gws CLI to subscribe to event streams and output them as NDJSON lines.

Can I use this Google Workspace event stream for admin automation and monitoring dashboards?

Yes, streaming Google Workspace events as NDJSON supports admin automation, monitoring dashboards, and real-time integration workflows by providing continuous event data for alerting and incident response.

What's the best way to build a real-time workspace event pipeline for activity logging?

The best way to build a real-time workspace event pipeline is subscribing to Google Workspace events via gws, streaming them as NDJSON, and configuring a local output directory for logging and downstream processing.

Does streaming Google Workspace events require specific Google Cloud authentication?

Yes, streaming Google Workspace events requires Google Cloud authentication and proper Pub/Sub or workspace resource access permissions to successfully subscribe and emit event data.