Skip to main content
prompt GP ChatGPT

Webhook Integration taste — ChatGPT prompt

The Webhook Integration taste ChatGPT prompt sets rules for reliable webhook integrations. It covers event intake, processing, and delivery to customer endpoints.

CC0-1.0 ★ 178,201 updated 2026-10-24

Open on GitHub

What Webhook Integration taste does

The prompt lays out how to receive and send webhooks with signature checks and replay protection. For incoming events, it calls for verifying an HMAC over the raw request body before parsing JSON, using constant-time signature comparison, and storing each event before a background worker processes it. Deduplication uses the event ID; a version or updated_at field helps handle out-of-order events.

For outgoing webhooks, the prompt specifies retries with exponential backoff and jitter, a delivery log, and manual replay. It also calls for blocking URLs that resolve to private, loopback, or link-local addresses. Endpoints outside local development must use HTTPS. The guidance also covers secret rotation, recovery from missed events, and failure alerts.

What it helps with

  • verify webhook signatures before parsing JSON
  • deduplicate repeated event deliveries
  • handle events that arrive out of order
  • retry failed outgoing deliveries with backoff
  • block SSRF attempts through webhook URLs

Example prompts for the agent

  • Design an incoming webhook handler with signature checks and replay protection.
  • Add outgoing webhooks with retries and a delivery log.
  • Review this webhook design for event ordering, secret rotation, and unsafe URLs.

How to install Webhook Integration taste

How to use

Paste the text at the start of a chat or into project instructions

Questions about Webhook Integration taste

How do I install Webhook Integration taste in Claude Code?

Add the prompt to .claude/commands/prompts.csv.md.

What does Webhook Integration taste do?

It sets guidance for receiving and sending webhooks, including signature verification, deduplication, retry behavior, and delivery logs.

How does the prompt secure outgoing webhooks?

It requires HTTPS outside local development and blocks URLs that resolve to private, loopback, or link-local addresses.

Source text

prompts.csv · CC0-1.0
# Webhook Integration taste of a reliability-focused integrations engineer
- Verify every incoming webhook with an HMAC signature over the raw request body before parsing it as JSON. Confidence: 0.95
- Compare signatures with a constant-time function, never with a plain string equality check. Confidence: 0.95
- Reject deliveries whose signed timestamp is older than about five minutes to block replay attacks. Confidence: 0.90
- Respond with a 2xx status within a few seconds and do the real work in a background job. Confidence: 0.95
- Persist the raw event first, then process it, so nothing is lost if a worker crashes mid-way. Confidence: 0.90
- Deduplicate on the provider's event ID with a unique index, because every provider retries and delivers at least once. Confidence: 0.95
- Never assume events arrive in order, and compare a version or updated_at field before overwriting local state. Confidence: 0.85
- Treat the payload as a hint and refetch the current object from the provider's API for anything money-related. Confidence: 0.80
- Return 4xx only for permanently bad requests and 5xx for temporary failures so the sender's retries behave correctly. Confidence: 0.85
- Support at least two active signing secrets at once so secrets can be rotated without downtime. Confidence: 0.85
- When sending webhooks, retry with exponential backoff and jitter for up to a day or more, then disable the endpoint and notify its owner. Confidence: 0.90
- Send a thin, versioned payload with an event type, event ID, timestamp and resource ID instead of dumping whole database rows. Confidence: 0.80
- Name event types as resource.action in the past tense, like invoice.paid or user.deleted. Confidence: 0.80
- Give customers a delivery log with request, response, status and a manual replay button. Confidence: 0.85
- Block outgoing webhook URLs that resolve to private, loopback or link-local addresses to prevent SSRF. Confidence: 0.95
- Use separate, short timeouts for outgoing deliveries and never let one slow customer endpoint block a shared queue. Confidence: 0.90
- Require HTTPS for all webhook endpoints outside local development. Confidence: 0.90
- Offer a reconciliation API or periodic sync so consumers can recover from missed events. Confidence: 0.80
- Test handlers locally with the provider's CLI or a tunnel, and keep recorded sample payloads as test fixtures. Confidence: 0.80
- Alert on rising failure rates and growing backlogs per endpoint, not only on individual errors. Confidence: 0.80
- Never log full payloads that contain personal data, secrets or card details. Confidence: 0.90

© f · CC0-1.0 · f/prompts.chat

Similar prompts

All prompts for Backend and APIs →
Webhook Automation Claude Office Skills Webhook Automation — a skill for building webhook integrations: receiving events, verifying signatures, routing and transforming payloads. Useful when payments, GitHub or Slack need to talk to your own services. CX Codex +1 4,800installs webhook membrane Connects your agent to webhooks and external services via Membrane CLI. It handles authentication lifecycles and request routing without local secrets. CX Codex +1 159installs nansen-alerts-webhook-listener nansen-ai The nansen-alerts-webhook-listener skill for Claude Code sets up a local HTTP server with HMAC verification and public tunneling to receive Nansen smart alert webhooks in real time, listening for alerts on a local machine. CX Codex +1 174installs Webhook.site MCP Server zebbern Webhook.site MCP Server captures inbound HTTP requests, emails, and DNS lookups right inside coding sessions. Useful when debugging API callbacks, validating webhooks, and running security tests. CX Codex +1 ★ 12repo stars setup-webhook vapi setup-webhook — a skill for Claude Code that configures server URLs and webhooks to receive real-time events from Vapi. Use it when integrating Vapi into an application or building endpoints for call processing. CX Codex +1 968installs webhook-integration dodopayments webhook-integration is a Claude Code skill for receiving and verifying Dodo Payments webhooks. The agent sets up an endpoint, verifies signatures and processes payment, subscription and refund events. CX Codex +1 1,100installs

From the same set218

The whole set →
Full-Text Search taste Full-Text Search taste — a prompt for ChatGPT that sets out principles for building full-text search. It covers indexing, ranking, access control, and result delivery. GP ChatGPT ★ 178,201repo stars .NET Web API taste .NET Web API taste — a prompt for ChatGPT defines .NET Web API standards for a pragmatic C# engineer. Runs during backend design and code generation. GP ChatGPT ★ 178,201repo stars Laravel App taste The Laravel App taste ChatGPT prompt sets practical conventions for building Laravel and PHP apps. It guides work on controllers, validation, queues, tests, and deployment. GP ChatGPT ★ 178,201repo stars Flutter App taste Flutter App taste — a prompt for ChatGPT that defines architectural standards for cross-platform mobile apps on Flutter. Used when structuring codebases and setting up projects. GP ChatGPT ★ 178,201repo stars Browser Extension taste Browser Extension taste — a prompt for ChatGPT and Claude Code defines best practices for building cross-browser extensions on Manifest V3. It guides the AI when designing extension architecture. GP ChatGPT ★ 178,201repo stars Rails App taste Rails App taste is a prompt for ChatGPT, Claude.ai, and Claude Code that sets pragmatic Ruby on Rails development standards. Use it before starting an app or planning its architecture. GP ChatGPT ★ 178,201repo stars Authentication taste Authentication taste — a prompt for ChatGPT, Claude.ai, and Claude Code that defines security standards for backend development. It guides agents in evaluating authentication architecture. GP ChatGPT ★ 178,201repo stars Realtime WebSocket taste Realtime WebSocket taste — a prompt for ChatGPT with engineering guidance for real-time WebSocket systems. It covers transport choices, connection security, reconnects, and message delivery. GP ChatGPT ★ 178,201repo stars

Project sponsors

Companies that keep this analytics open