gws-events-subscribe

Subscribe to Google Workspace events and stream them as NDJSON.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/vikingokft/vikingo-studio-skills --skill gws-events-subscribe-vikingokft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-events-subscribe
Source: https://github.com/vikingokft/vikingo-studio-skills/tree/main/google/gws-events-subscribe
Command: npx skills add https://github.com/vikingokft/vikingo-studio-skills --skill gws-events-subscribe-vikingokft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Subscribes to Google Workspace events and stream them as NDJSON for real-time processing, auditing, and automation workflows.

Core Features & Use Cases

  • Subscribe to Workspace event streams with configurable targets and event-types
  • Stream events in NDJSON format for downstream ingestion or logging
  • Optional Pub/Sub integration and output management via --output-dir

Quick Start

Run the gws events +subscribe command to start streaming events from your Workspace.

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 to NDJSON for real-time processing?

You can stream Google Workspace events to NDJSON by subscribing to a Pub/Sub topic, filtering specific event types, and directing the output to a file or downstream pipeline for real-time ingestion and auditing.

What is the best way to monitor Google Workspace event data using Pub/Sub?

The best way to monitor Google Workspace event data is to configure a Pub/Sub subscription with targeted resource URIs and event-type filters, allowing you to stream events directly as NDJSON for immediate logging or automation workflows.

Can I filter specific Google Workspace event types when subscribing to a stream?

Yes, you can filter specific Google Workspace event types during the subscription configuration by specifying the target resource URIs and event-type filters, ensuring only relevant event data is streamed to your NDJSON output.

How do I configure Pub/Sub project and subscription settings for Google Workspace events?

You configure Pub/Sub by providing your project details and subscription name alongside the target Workspace resource URIs and event-type filters, enabling the system to route and stream the event data as NDJSON.

Does streaming Google Workspace events as NDJSON support automation workflows?

Streaming Google Workspace events as NDJSON directly supports automation workflows by providing a structured, line-delimited format that downstream processes can easily ingest for real-time monitoring, auditing, and automated triggering.

Are there limitations when subscribing to Google Workspace events for real-time auditing?

Real-time auditing via Google Workspace event subscriptions requires proper Pub/Sub project configuration and valid resource URI targeting, and relies on the continuous availability of the Pub/Sub subscription to stream NDJSON without interruption.