origami-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and verify Origami webhooks (origami.chat AI sales prospecting, enrichment and outbound sequencing, signed with Standard Webhooks). Use when setting…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Origami Webhooks
Origami POSTs a signed JSON envelope to your endpoint when a v3 Job
changes status, a table enrichment run finishes, or the sequencer sends a message, gets a reply,
or makes LinkedIn connections and comments. Webhooks are in beta, so event types and payload
shapes may still change. Deliveries use Standard Webhooks
signing with three headers: webhook-id, webhook-timestamp and webhook-signature. The body is
{ type, id, timestamp, data }: type is the event name, id equals the webhook-id header,
timestamp is the event time, and data holds the event.
When to Use This Skill
- How do I receive Origami webhooks?
- How do I verify Origami webhook signatures (
webhook-signature)? - How do I handle
job.succeeded,table.run.completedorsequence.reply.receivedevents? - How do I route a sequencer event back to its campaign (
campaign_id,sender.id)? - Why is my Origami webhook signature verification failing, or rejecting Hookdeck retries?
Verification (core)
Signed content is {webhook-id}.{webhook-timestamp}.{raw body}. Origami 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 (two during a secret rotation).
Use the standardwebhooks library, which compares in constant time. Read the webhook-* headers,
and when webhook-id is absent fall back to the svix-* headers (svix-id, svix-timestamp,
svix-signature), then hand the library the values under the webhook-* names.
import { Webhook } from 'standardwebhooks';
const prefix = req.headers['webhook-id'] ? 'webhook' : 'svix';
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.ORIGAMI_WEBHOOK_SECRET).verify(rawBody, {
'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')); // parse only after verify passes
from standardwebhooks import Webhook, WebhookVerificationError
wh = Webhook(os.environ["ORIGAMI_WEBHOOK_SECRET"]) # "whsec_..."
wh.verify(raw_body, {"webhook-id": id, "webhook-timestamp": ts, "webhook-signature": sig})
For complete handlers with tests, see examples/express/, examples/nextjs/, examples/fastapi/.
Each endpoint has its own whsec_... signing secret, shown once when you create it in
Settings → Developers → Webhooks (or returned by POST /api/v3/account/webhooks). Keep the
full value in ORIGAMI_WEBHOOK_SECRET. Origami's docs print only a placeholder
(whsec_XXXXXXXX), so check the real value against what the dashboard shows. Handlers fail
closed: with the variable unset they return 500 instead of accepting anything. A missing header
or bad signature gets 400.
With Express, read the body with express.raw({ type: '*/*' }) so any content type reaches the
verifier as the exact bytes Origami signed, and parse JSON only after the check.
Hookdeck retries and replays hit the 5-minute window
The standardwebhooks library always enforces a fixed 5-minute timestamp window, and it can't
be configured. Hookdeck retries and replays resend the original webhook-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 webhook-id instead of relying on the timestamp.
Common Event Types
11 events are documented (the list may not be exhaustive). The name is type in the JSON body.
The examples handle all of these:
| Event | Triggered When |
|---|---|
job.succeeded |
A v3 Job finished successfully (data.summary has counts and resource ids) |
job.failed |
A Job failed (data.error has code and message) |
job.cancelled |
A Job was cancelled (partial work is reported) |
job.needs_input |
A Job paused for questions or a human handoff (data.needs_input) |
table.run.completed |
An enrichment batch reached complete, cancelled or failed |
sequence.message.sent |
A sequencer email or LinkedIn DM finished sending |
sequence.reply.received |
An inbound email or LinkedIn DM matched an outbound sequence |
sequence.connection.requested |
A sequencer LinkedIn invite was sent |
sequence.connection.accepted |
A LinkedIn invite from a sequence was accepted |
sequence.comment.posted |
A sequencer LinkedIn comment was published |
webhook.test |
You clicked * |
Установить origami-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл origami-webhooks?
Receive and verify Origami webhooks (origami.chat AI sales prospecting, enrichment and outbound sequencing, signed with Standard Webhooks). Use when setting up Origami webhook handlers, debugging webhook-signature verification, or handling events like job.succeeded, table.run.completed, sequence.message.sent, and sequence.reply.received.
Как установить скилл origami-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл origami-webhooks запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
gtm-enterprise-account-planning
Strategic account planning and execution for enterprise deals. Use when planning complex sales cycles, managing multiple stakeholders, applying MEDDICC…
от GitHubgtm-partnership-architecture
Build and scale partner ecosystems that drive revenue and platform adoption. Use when building partner programs from scratch, tiering partnerships, managing…
от GitHublanding-page-conversion-audit
Audit a landing page, sales page or checkout page for conversion leaks and return a fix list ordered by expected revenue impact. Use when asked to review…
от GitHubpower-platform-architect
Use this skill when the user needs to transform business requirements, use case descriptions, or meeting transcripts into a technical Power Platform solution…
от GitHub