gamma-webhooks-events

Featured

Handle Gamma webhooks and events for real-time updates. Use when implementing webhook receivers, processing events, or building real-time Gamma integrations. Trigger with phrases like "gamma webhooks", "gamma events", "gamma notifications", "gamma real-time", "gamma callbacks".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Gamma Webhooks & Events ## Overview Gamma's public API (v1.0) is generation-focused and does not expose a traditional webhook system at time of writing. Instead, use the **poll-based pattern** (GET `/v1.0/generations/{id}`) to detect completion. For event-driven architectures, wrap polling in a background worker that emits application-level events when generations complete or fail. ## Prerequisites - Completed `gamma-sdk-patterns` setup - Event bus or message queue (Bull, RabbitMQ, or EventEmitter) - Understanding of the generate-poll-retrieve pattern ## Gamma Event Model (Application-Level) Since Gamma does not push events, you create them by polling: | Synthetic Event | Trigger Condition | Use Case | |-----------------|-------------------|----------| | `generation.started` | POST `/generations` returns `generationId` | Log, notify user | | `generation.completed` | Poll returns `status: "completed"` | Download export, update DB | | `generation.failed` | Poll returns `status: "failed"` | Alert, retry, notify user | | `generation.timeout` | Poll exceeds max duration | Alert, escalate | ## Instructions ### Step 1: Event Emitter Pattern ```typescript // src/gamma/events.ts import { EventEmitter } from "events"; import { createGammaClient } from "./client"; export const gammaEvents = new EventEmitter(); export interface GenerationEvent { generationId: string; status: "started" | "completed" | "failed" | "timeout"; gammaUrl?: string; exportUrl?: string; cre...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category