Command Palette

Search for a command to run...

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

voiceflow-webhooks

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

Receive and verify Voiceflow webhooks (AI agent platform, delivered via Svix): organization events and the project-level session lifecycle webhook. Use when…

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

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

Voiceflow Webhooks

Voiceflow is an AI-agent building platform. It has two webhook scopes: organization events report project and project-environment changes (created, published, merged, deleted), and each project's session lifecycle webhook reports conversation sessions and voice calls starting and ending. Both are delivered through Svix, which implements Standard Webhooks. Every delivery is an HTTP POST with a JSON body and three signature headers: svix-id, svix-timestamp, and svix-signature. The body is {type, data, resource, time}: type is the event name, data holds the details, resource is organization-<organizationID> or project-<projectID>, and time is Unix milliseconds.

Two scopes, two secrets

Organization events are set under dashboard Settings → Organization. Session and call events are set per project under the project's Settings → Webhooks. Each endpoint has its own URL and its own Webhook secret, so a verifier configured with one scope's secret fails on the other's deliveries. Use a separate endpoint (or a separate secret lookup) per scope. Both forms let you choose Listen for all events or Listen for specific events. See references/setup.md.

When to Use This Skill

  • How do I receive Voiceflow webhooks?
  • How do I verify Voiceflow webhook signatures (svix-signature)?
  • How do I handle organization.project.created or organization.project.environment.published events?
  • How do I react to a Voiceflow environment being merged or deleted?
  • Why is my Voiceflow webhook signature verification failing, or rejecting Hookdeck retries?

Verification (core)

Signed content is {svix-id}.{svix-timestamp}.{raw body}. Svix signs it with HMAC-SHA256 using the base64-decoded secret (the part after whsec_), base64-encodes the result, and sends one or more space-separated v1,<signature> entries. Use the official svix library, which compares in constant time. Read the svix-* headers, and when svix-id is absent fall back to the webhook-* headers (webhook-id, webhook-timestamp, webhook-signature).

import { Webhook } from 'svix'; // svix 2.x is ESM-only

const prefix = req.headers['svix-id'] ? 'svix' : 'webhook';
const id = req.headers[`${prefix}-id`];
const timestamp = req.headers[`${prefix}-timestamp`];
const signature = req.headers[`${prefix}-signature`];
// rawBody: the raw Buffer/string, never re-serialized JSON
new Webhook(process.env.VOICEFLOW_WEBHOOK_SECRET).verify(rawBody, {
  'svix-id': id, 'svix-timestamp': timestamp, 'svix-signature': signature,
  'webhook-id': id, 'webhook-timestamp': timestamp, 'webhook-signature': signature,
}); // throws on a bad signature or a timestamp outside the window
const event = JSON.parse(rawBody.toString('utf8')); // {type, data, resource, time}; parse only after verify passes
from svix.webhooks import Webhook, WebhookVerificationError

wh = Webhook(os.environ["VOICEFLOW_WEBHOOK_SECRET"])  # "whsec_..."
wh.verify(raw_body, {"svix-id": id, "svix-timestamp": ts, "svix-signature": sig,
                     "webhook-id": id, "webhook-timestamp": ts, "webhook-signature": sig})

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

Copy Webhook secret from the same settings form as the URL. There is one per endpoint: the organization endpoint and each project's session endpoint have their own. Voiceflow doesn't print an example value. Svix secrets look like whsec_<base64>, so keep the full value in VOICEFLOW_WEBHOOK_SECRET. Regenerate key keeps the old secret valid for 24 hours. Handlers fail closed: with the variable unset they return 500 instead of accepting anything.

Hookdeck retries and replays hit the 5-minute window

The svix and standardwebhooks libraries always enforce a fixed 5-minute timestamp window, and it can't be configured. Hookdeck retries and replays resend the original svix-timestamp, so the library rejects any retry or replay that happens more than 5 minutes after the original delivery. If you verify behind Hookdeck (or replay old events), use the manual verifier in references/verification.md, where the window can be dropped or widened. Deduplicate on svix-id instead of relying on the timestamp.

Common Event Types

The name is type in the JSON body. Voiceflow says more event types may be added, so acknowledge unknown types with 200.

Organization events (Settings → Organization):

Event Triggered When
organization.project.created A project is created in the organization
organization.project.deleted A project is deleted
organization.project.environment.created An environment is created (branched from data.source)
`organization.pr
Полный SKILL.md на GitHub

Установить voiceflow-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/voiceflow/route.tsexamples/nextjs/package.jsonexamples/nextjs/vitest.config.tsreferences/overview.mdreferences/setup.mdreferences/verification.md

FAQ

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

Receive and verify Voiceflow webhooks (AI agent platform, delivered via Svix): organization events and the project-level session lifecycle webhook. Use when setting up Voiceflow webhook handlers, debugging svix-signature verification, or handling events like organization.project.environment.published, runtime.session.end, and runtime.call.end.

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

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

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

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

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

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