epilot-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and verify epilot (epilot.cloud) webhooks, signed per Standard Webhooks. Use when setting up an epilot webhook endpoint, getting the whsec_ signing…
от hookdeck★ 104 звезды на GitHubОб этом скилле
epilot Webhooks
epilot is a cloud CRM and commerce platform for energy utilities. Each epilot webhook config subscribes to one organization event (an automation trigger, portal activity, entity or file events, Event Catalog events) and sends it to your URL (the API examples use POST), signed per Standard Webhooks with webhook-id, webhook-timestamp and webhook-signature headers.
When to Use This Skill
- How do I receive epilot webhooks?
- How do I verify an epilot webhook signature?
- Why does
webhook-signaturehold two entries (v1a,...andv1,...)? - Where do I find my epilot webhook
whsec_signing secret? - How do I handle
FileCreated,CustomerRequestSubmittedor automation-trigger events? - Why do epilot webhook retries fail verification after a few minutes?
Verification (core)
| Header | Value |
|---|---|
webhook-id |
Unique message ID (e.g. msg_2a4f8b...), the same on every retry |
webhook-timestamp |
Unix seconds when the request was signed |
webhook-signature |
Space-separated: v1a,<Ed25519> v1,<HMAC-SHA256> |
Signed content is {webhook-id}.{webhook-timestamp}.{raw body}. The v1 key is the base64-decoded part of the webhook's whsec_ secret. The v1a Ed25519 entry proves the request came from your epilot organization. The examples skip it and verify v1, which proves the request was made for your webhook. The standardwebhooks library (npm, PyPI) ignores v1a for you.
const { Webhook } = require('standardwebhooks');
// epilot sends webhook-*; fall back to svix-* when webhook-id is absent
const p = req.get('webhook-id') ? 'webhook' : 'svix';
const headers = {
'webhook-id': req.get(`${p}-id`),
'webhook-timestamp': req.get(`${p}-timestamp`),
'webhook-signature': req.get(`${p}-signature`),
};
// rawBody: exact request body string (express.raw({ type: '*/*' })), NOT re-serialised JSON
new Webhook(process.env.EPILOT_WEBHOOK_SECRET).verify(rawBody, headers, { jsonParse: false }); // throws → respond 400
const event = JSON.parse(rawBody);
Python: from standardwebhooks.webhooks import Webhook, then Webhook(secret).verify(raw_body, headers, json_parse=False), catching any exception.
For complete handlers with tests, see examples/express/, examples/nextjs/, examples/fastapi/.
Retries and the 5-minute window
The library always enforces a fixed 5-minute window. epilot's retries run up to 5 hours, its docs don't say whether a retry is signed again, and a replayed or queued request can arrive later than 5 minutes after signing, so the library can reject it. To drop or widen the window, use the manual verifier in references/verification.md: HMAC-SHA256 over {id}.{timestamp}.{raw body} with the same key, every v1,<base64> entry compared in constant time after a length check, and the timestamp required to be a plain positive integer.
Hookdeck configuration alert
Hookdeck's configuration alert for this source reads exactly:
Use the webhook's whsec_ signing secret, not API key, Basic or OAuth authentication. File deliveries in binary_multipart mode sign per-file metadata and fail verification.
Use the whsec_ secret returned when the webhook was created. Endpoint authentication (X-API-Key, Basic, OAuth bearer) can be configured alongside the signature but does not replace it.
Event Types and Payload
Each webhook config subscribes to one eventName from GET /v1/webhooks/events. epilot's Core Events are the same in every organization and are subscribed as event_<Name>; organizations can add Custom Events, and the Automation Trigger Webhook and portal activities are also subscribable.
Event (_event_name) |
Fired when |
|---|---|
FileCreated |
A file entity is created (event_attachments lists the files) |
CustomerRequestSubmitted |
A customer request ticket and its attachments are ready |
MeterReadingAdded |
A meter reading is recorded |
Event Catalog deliveries (Core and Custom Events) are flat JSON with _event_name, _event_id, _event_time and _event_version. Automation-trigger and portal deliveries use { metadata, entity, relations, activity, changed_attributes } instead, with no documented event-name field: only one commented docs sketch shows metadata.event_type. Route those on metadata.webhook_id, because one webhook config is one eventName. The examples read _event_name first. Details in references/overview.md.
Delivery Semantics
- Default transport is JSON with
Transfer-Encoding: chunked. A JSONata expression can reshape the body. - Each webhook config sets its own
httpMethod(optional, with no documented default; the API examples use POST). Hookdeck's epilot source accepts only the
Установить epilot-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл epilot-webhooks?
Receive and verify epilot (epilot.cloud) webhooks, signed per Standard Webhooks. Use when setting up an epilot webhook endpoint, getting the whsec_ signing secret, debugging webhook-id / webhook-timestamp / webhook-signature verification (including the extra v1a Ed25519 entry), or handling Event Catalog events like FileCreated and CustomerRequestSubmitted or automation-trigger webhooks.
Как установить скилл epilot-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл epilot-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