Claude Templates / B-tier · Situational

Infrastructure

The Webhook Receiver Playbook

Receiving third-party webhooks — and sending your own — without losing events.

WEBHOOK-RECEIVER-PLAYBOOK.md · 6 sections · 1,658 words · 13 KB · markdown

Signature verification, an idempotency table, fast-ack-then-process, and retry with backoff. Covers both directions: webhooks you receive from providers and webhooks you push to your customers' endpoints.

What's inside

When to use it

As needed.

Build these first

App Infrastructure

Straight from the file

Covers: HMAC signing, SSRF guards, retry with backoff, contract versioning, idempotency, signature verification, dead-letter queues.

Table of contents

  1. 0. Use this spec
  2. 1. Two flows, one mental model
  3. 2. Inbound webhooks
  4. 3. Outbound webhooks
  5. 4. Common pitfalls
  6. 5. Kickoff prompt

How to run it

Drop WEBHOOK-RECEIVER-PLAYBOOK.md into your repo, then tell Claude Code: “Read WEBHOOK-RECEIVER-PLAYBOOK.md and implement it in this codebase.” It's written for an agent to execute end to end. Search the file for angle-bracket placeholders and swap in your own project names, domains, and keys before the first run.

↓ Download the playbook

More infrastructure playbooks

← All 28 Claude templates