Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

webinarjam-webhooks

БесплатноЗапускает вложенные скриптыНе проверен

Receive and authenticate WebinarJam and EverWebinar Custom Webhook deliveries. Use when setting up a webhook endpoint for WebinarJam autoresponder triggers…

hookdeckот hookdeck★ 104 звезды на GitHub

Об этом скилле

WebinarJam Webhooks

WebinarJam (and its sibling EverWebinar) has a native Custom Webhook autoresponder integration. For each automation-rule trigger (registration, attended live, missed live and so on) it sends a POST with the registrant's lead details (first name, last name, email, phone), key links (live room, replay, unsubscribe) and any custom body key-value pairs you added.

Two things make WebinarJam webhooks unlike most providers in this repo:

  1. There is no signature. Requests are unsigned: no HMAC, no signing secret, no timestamp. You authenticate them with a secret you configure on the integration (a Bearer token or a custom header) and compare it in constant time.
  2. There are no documented event names or payload field names. The trigger is chosen by the automation rule, not named in the request. The examples dispatch on an event field that you add as a custom body key-value pair; the field names in the examples are an illustrative payload, not WebinarJam's documented schema.

When to Use This Skill

  • How do I receive WebinarJam or EverWebinar webhooks (Custom Webhook autoresponder)?
  • How do I verify a WebinarJam webhook signature? (You can't: there isn't one. Check the header you configured.)
  • How do I secure the endpoint WebinarJam calls with a Bearer token or custom header?
  • How do I handle registered, attended live, missed live, left early and purchased triggers?
  • Why do WebinarJam requests get 401 from my endpoint?

Setup note

For the Bearer token option, enter Authorization as the header name and "Bearer " as the value.

For the Custom header option, enter the header name and value you chose. See references/setup.md.

Verification (core): compare the whole header value, constant-time

The header name is user-chosen, so read it from WEBINARJAM_WEBHOOK_HEADER (default Authorization) and compare the whole value with WEBINARJAM_WEBHOOK_SECRET, including any Bearer prefix you typed. Don't strip or parse the prefix.

Node:

const crypto = require('crypto');

// Hash both sides so timingSafeEqual gets equal-length buffers and never throws.
function safeEqual(a, b) {
  const h = (s) => crypto.createHash('sha256').update(String(s)).digest();
  return crypto.timingSafeEqual(h(a), h(b));
}

const expected = process.env.WEBINARJAM_WEBHOOK_SECRET; // e.g. "Bearer wj_..."
if (!expected) return res.status(500).send('Auth not configured'); // fail closed
const name = (process.env.WEBINARJAM_WEBHOOK_HEADER || 'Authorization').toLowerCase();
const received = req.headers[name]; // Node lower-cases header names
if (typeof received !== 'string' || !safeEqual(received, expected)) {
  return res.status(401).send('Unauthorized');
}

Python:

import hmac, os
expected = os.environ.get("WEBINARJAM_WEBHOOK_SECRET", "")
if not expected:  # fail closed
    raise HTTPException(500, "Webhook authentication not configured")
received = request.headers.get(os.environ.get("WEBINARJAM_WEBHOOK_HEADER") or "Authorization")
# Encode to bytes: compare_digest raises TypeError on non-ASCII str
if not received or not hmac.compare_digest(received.encode(), expected.encode()):
    raise HTTPException(401, "Invalid or missing webhook credential")

Missing header or mismatch returns 401. Read the body raw (express.raw({ type: '*/*' })) so any content type works, and parse it only after the check.

A static shared credential authenticates the sender, not the body, and gives no replay protection (no signature, no timestamp). Anyone who captures one request can replay it. Use HTTPS only, make handlers idempotent, and rotate the credential if it leaks.

For complete handlers with tests, see examples/express/, examples/nextjs/, examples/fastapi/.

Triggers and the event field

WebinarJam documents the triggers as automation rules (registration, attended live, missed live) and notification conditions (attended vs. did not attend, purchased vs. did not purchase). It documents no event string in the request. These values are a convention for this skill, set by you as a custom body key-value pair on each rule:

event value Rule trigger
registered Registered
attended_live Attended live
missed_live Missed live
left_early Left early
purchased Purchase

Alternatively give each rule its own URL path (rules can each use a different webhook URL) and dispatch on the path.

Illustrative payload (field names are not documented by WebinarJam; inspect a real delivery and adjust):

{
  "event": "registered",
  "first_name": "Ada",
  "last_name": "Lovelace",
  "email": "[email protected]",
  "phone": "+15555550100",
  "live_room_link": "https://example.com/live",
  "replay_link": "https://example.com/replay",
  "unsubscribe_link": "https://example.com/unsubscribe"
}
Полный SKILL.md на GitHub

Установить webinarjam-webhooks в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples/express/.env.exampleexamples/express/README.mdexamples/express/package.jsonexamples/express/src/index.jsexamples/fastapi/.env.exampleexamples/fastapi/README.mdexamples/fastapi/main.pyexamples/fastapi/requirements.txtexamples/fastapi/test_webhook.pyexamples/nextjs/.env.exampleexamples/nextjs/README.mdexamples/nextjs/app/webhooks/webinarjam/route.tsexamples/nextjs/lib/verify-webinarjam.tsexamples/nextjs/package.jsonexamples/nextjs/vitest.config.tsreferences/overview.mdreferences/setup.mdreferences/verification.md

FAQ

Что делает скилл webinarjam-webhooks?

Receive and authenticate WebinarJam and EverWebinar Custom Webhook deliveries. Use when setting up a webhook endpoint for WebinarJam autoresponder triggers (registered, attended live, missed live, left early, purchased), when asking how to verify a WebinarJam webhook signature (there is none: add a Bearer token or custom header and compare the whole value in constant time), or when debugging 401s on WebinarJam requests.

Как установить скилл webinarjam-webhooks?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл webinarjam-webhooks запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить webinarjam-webhooks с