AGENT SKILL

twinmind-webhooks-events

Handle TwinMind webhooks and events for real-time meeting notifications. Use when implementing webhook handlers, processing meeting events, or building real-time integrations. Trigger with phrases like "twinmind webhooks", "twinmind events", "twinmind notifications", "meeting webhook handler".

License 许可
MIT
最近更新
2026-05-26
Stars
★ 0
Forks
0

01 前言 Front Matter

name
twinmind-webhooks-events
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
version
1.0.0
description
Handle TwinMind webhooks and events for real-time meeting notifications. Use when implementing webhook handlers, processing meeting events, or building real-time integrations. Trigger with phrases like "twinmind webhooks", "twinmind events", "twinmind notifications", "meeting webhook handler".
allowed-tools
Read, Write, Edit, Bash(npm:*), Grep
compatible-with
claude-code, codex, openclaw

02 资源文件 1

03 SKILL.md 正文

TwinMind Webhooks & Events

Contents

Overview

Implement webhook handlers for real-time TwinMind meeting events including transcription completion, meeting lifecycle, summary generation, action item extraction, and usage alerts. Includes signature verification, event routing, and retry logic.

Prerequisites

  • TwinMind Pro/Enterprise account
  • Public HTTPS endpoint for webhooks
  • Webhook secret configured
  • Understanding of event-driven architecture

Instructions

Step 1: Define Event Types

Create TwinMindEventType enum for transcription (started/completed/failed), meeting (started/ended/participant join/leave), summary (generated), action items (extracted), calendar (synced/reminder), and usage (limit warning/exceeded).

Step 2: Implement Webhook Handler

Build signature verification middleware using HMAC-SHA256 with timestamp validation (5-minute replay window) and crypto.timingSafeEqual. Create event handler registry with registerHandler() and async handleWebhook() that acknowledges immediately then processes.

Step 3: Register Event Handlers

Wire up handlers: transcription.completed triggers summary generation, meeting.ended notifies Slack and sends summary email, summary.generated stores in database, action_items.extracted creates Linear tasks, usage.limit.warning alerts ops channel.

Step 4: Set Up Webhook Endpoint

Create Express route with raw body parser for signature verification, connect to handler.

Step 5: Register Webhooks with TwinMind

Script to register webhook URL with desired event types via TwinMind API.

Step 6: Implement Retry Logic

Build WebhookRetryQueue with exponential backoff (base 60s), max 5 retries, and dead letter queue for failed events with ops team alerting.

See detailed implementation for complete event types, webhook handler, event processors, registration script, and retry queue.

Output

  • Event type definitions
  • Webhook handler with signature verification
  • Event processing logic
  • Webhook registration script
  • Retry queue for failed events

Error Handling

Issue Cause Solution
Invalid signature Wrong secret Verify webhook secret matches
Event missed Endpoint down Implement retry queue
Processing slow Heavy handler Use async background queue
Duplicate events Retries from TwinMind Implement idempotency by event ID

Examples

Basic usage: Apply twinmind webhooks events to a standard project setup with default configuration options.

Advanced scenario: Customize twinmind webhooks events for production environments with multiple constraints and team-specific requirements.

Webhook Events Reference

Event Description
transcription.completed Transcription finished
meeting.ended Meeting finished
summary.generated AI summary ready
action_items.extracted Action items available
usage.limit.warning Usage approaching limit

Resources

Next Steps

For performance optimization, see twinmind-performance-tuning.

04 同仓库更多 Skills

SamuelChien
SamuelChien/mega-skills-collection

zustand-store-ts

Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

zustand-store-creator

Zustand Store Creator - Auto-activating skill for Frontend Development. Triggers on: zustand store creator, zustand store creator Part of the Frontend Development skill category.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

zero-trust-config-helper

Zero Trust Config Helper - Auto-activating skill for Security Advanced. Triggers on: zero trust config helper, zero trust config helper Part of the Security Advanced skill category.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

zapier-integration-helper

Zapier Integration Helper - Auto-activating skill for Business Automation. Triggers on: zapier integration helper, zapier integration helper Part of the Business Automation skill category.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

zai-cli

Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP. Use when user needs image/video analysis, OCR, UI-to-code conversion, error diagnosis, real-time web search, web page to markdown extraction, or GitHub code exploration. Trigger with phrases like "analyze this image", "search the web for", "read this page", "explore this repo", or "use zai". Requires Z_AI_API_KEY.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

yt-research

Research competitor YouTube channels, niches, and trending topics for your content strategy. Use this skill whenever the user says "research channels", "analyze competitors", "find trending topics", "niche analysis", "competitive research", "what are other creators doing", "scrape YouTube channels", or wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.

★ 0