webhook-integration▌
aj-geddes/useful-ai-prompts · updated Apr 8, 2026
Implement robust webhook systems for event-driven architectures, enabling real-time communication between services and third-party integrations.
Webhook Integration
Table of Contents
Overview
Implement robust webhook systems for event-driven architectures, enabling real-time communication between services and third-party integrations.
When to Use
- Third-party service integrations (Stripe, GitHub, Shopify)
- Event notification systems
- Real-time data synchronization
- Automated workflow triggers
- Payment processing callbacks
- CI/CD pipeline notifications
- User activity tracking
- Microservices communication
Quick Start
Minimal working example:
import crypto from "crypto";
import axios from "axios";
interface WebhookEvent {
id: string;
type: string;
timestamp: number;
data: any;
}
interface WebhookEndpoint {
url: string;
secret: string;
events: string[];
active: boolean;
}
interface DeliveryAttempt {
attemptNumber: number;
timestamp: number;
statusCode?: number;
error?: string;
duration: number;
}
// ... (see reference guides for full implementation)
Reference Guides
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Webhook Sender (TypeScript) | Webhook Sender (TypeScript) |
| Webhook Receiver (Express) | Webhook Receiver (Express) |
| Webhook Queue with Bull | Webhook Queue with Bull |
| Webhook Testing Utilities | Webhook Testing Utilities |
Best Practices
✅ DO
- Use HMAC signatures for verification
- Implement idempotency with event IDs
- Return 200 OK quickly, process asynchronously
- Implement exponential backoff for retries
- Include timestamp to prevent replay attacks
- Use queue systems for reliable delivery
- Log all delivery attempts
- Provide webhook testing tools
- Document webhook payload schemas
- Implement webhook management UI
- Allow filtering by event types
- Support webhook versioning
❌ DON'T
- Send sensitive data in webhooks
- Skip signature verification
- Block responses with heavy processing
- Retry indefinitely
- Expose internal error details
- Send webhooks to localhost (in production)
- Forget timeout handling
- Skip rate limiting
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.5★★★★★27 reviews- ★★★★★Dhruvi Jain· Dec 16, 2024
We added webhook-integration from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Oshnikdeep· Nov 7, 2024
webhook-integration fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Ganesh Mohane· Oct 26, 2024
webhook-integration is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Ama Iyer· Sep 21, 2024
webhook-integration is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Sakshi Patil· Sep 5, 2024
webhook-integration reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Layla Perez· Sep 5, 2024
Useful defaults in webhook-integration — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Chaitanya Patil· Aug 24, 2024
I recommend webhook-integration for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Layla Farah· Aug 24, 2024
webhook-integration has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Kwame Kim· Aug 12, 2024
webhook-integration fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Ama Choi· Jul 23, 2024
Registry listing for webhook-integration matched our evaluation — installs cleanly and behaves as described in the markdown.
showing 1-10 of 27