favro-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and verify Favro webhooks. Use when setting up Favro webhook handlers, debugging X-Favro-Webhook signature verification, accepting the setup ping, or…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Favro Webhooks
When to Use This Skill
- How do I receive Favro webhooks?
- How do I verify the Favro
X-Favro-Webhooksignature? - Why is my Favro webhook signature verification failing?
- How do I respond to the Favro setup ping so the webhook validates?
- How do I handle
card.created,card.committed,card.moved,card.updated,card.deletedevents? - How do I handle
comment.created,comment.updated,comment.deletedevents?
How Favro Webhooks Work (Read This First)
Favro does not use the Standard Webhooks spec. Its signature scheme is unusual in one critical way: the signed message is not the request body. From the Favro developer docs:
The header is a base64 digest of an HMAC-SHA1 hash. The hashed content is the concatenation of the
payloadIdand the URL exactly as it was provided during webhook creation. The key used to sign this text is the secret you entered when setting up the webhook.
So verification requires three inputs — and the body is not one of them:
X-Favro-Webhook = base64( HMAC-SHA1( key = secret, message = payloadId + webhookUrl ) )
└─ from body ─┘ └─ from config ─┘
Two consequences drive everything below:
- You must know the exact URL you registered. The
webhookUrlin the HMAC is thepostToUrlyou gave Favro verbatim — same scheme, host, path, trailing slash, and query string. Store it as an env var (FAVRO_WEBHOOK_URL) and keep it byte-identical to what you registered, or every signature will mismatch. - The
payloadIdcomes from the JSON body. Every delivery (including the setup ping) carries a top-levelpayloadIdstring. Parse it out, concatenatepayloadId + webhookUrl, and HMAC that — not the body bytes.
Favro ──POST {"payloadId":"…","action":"…", …}──▶ your endpoint
X-Favro-Webhook: <base64 HMAC-SHA1> │ expected = base64(HMAC-SHA1(secret, payloadId + FAVRO_WEBHOOK_URL))
▼ timing-safe compare to header
valid? → dispatch on action → 200
ping? → 200 (validates the webhook)
Verification (core)
Sign payloadId + webhookUrl with your webhook secret using HMAC-SHA1,
base64-encode, and compare to the X-Favro-Webhook header with a timing-safe
compare. The signed message is not the raw body — do not HMAC the body.
const crypto = require('crypto');
// X-Favro-Webhook = base64( HMAC-SHA1( secret, payloadId + webhookUrl ) )
// payloadId comes from the JSON body; webhookUrl is the URL you registered, verbatim.
function verifyFavroWebhook(payloadId, webhookUrl, secret, signature) {
if (!payloadId || !webhookUrl || !secret || !signature) return false;
const expected = crypto
.createHmac('sha1', secret)
.update(payloadId + webhookUrl, 'utf8')
.digest('base64');
try {
return crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(signature));
} catch {
return false; // different lengths => invalid
}
}
There is no official Favro SDK, so verification is manual in every language (the
community Node package @bscotch/bravo
implements the same scheme). Parse the body only to read payloadId; the
signature does not cover the body, so re-serialization is not a concern here.
For complete handlers with route wiring, event dispatch, ping handling, and tests, see:
The Setup Ping
When a webhook is created, Favro sends a ping to check that it is configured
correctly. Favro expects a 200 for every payload, the ping included. The ping
carries a payloadId, so it is signed with the same scheme — verify it like any
other event and return 200. This is Favro's documented example:
{ "payloadId": "ZnvqwjdLh1wmbnEj6vOfHhv8ARY=", "action": "ping", "hookId": "67973f72db34592d8fc96c48", "hook": { "url": "https://yourserver.com/webhookfromfavro" } }
If your ping fails verification during setup, the cause is almost always that
FAVRO_WEBHOOK_URL does not exactly match the URL you registered.
Common Event Types
Every payload has a top-level action string. The object type is determined by
which object is present (comment, card, or hook for the ping), so handlers
dispatch on the combined <type>.<action> key below. Comment events also carry
the card they belong to, so check for comment before card.
| Event | action |
Fires When |
|---|---|---|
ping |
ping |
Webhook is created — confirms the configuration (return 200) |
card.created |
created |
A card is created |
card.committed |
`com |
Установить favro-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл favro-webhooks?
Receive and verify Favro webhooks. Use when setting up Favro webhook handlers, debugging X-Favro-Webhook signature verification, accepting the setup ping, or handling card events (card.created, card.committed, card.moved, card.updated, card.deleted) and comment events (comment.created, comment.updated, comment.deleted). Note: Favro does NOT use Standard Webhooks — the signature is base64(HMAC-SHA1(secret, payloadId + the URL you registered)), signed over the payloadId concatenated with the target URL, NOT the raw request body.
Как установить скилл favro-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл favro-webhooks запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic