webhook-gen
Generate webhook handlers with retry logic using AI. Use when integrating Stripe, GitHub, or any webhook provider.
What this skill does
# Webhook Generator Describe the webhook you're handling. Get a complete handler with signature verification, retry logic, and proper error handling. Stripe, GitHub, Twilio. all the patterns you need. **One command. Zero config. Just works.** ## Quick Start ```bash npx ai-webhook "stripe payment succeeded" ``` ## What It Does - Generates complete webhook handler functions - Includes signature verification for popular providers - Adds idempotency checks to prevent duplicate processing - Implements retry-safe patterns with proper status codes - Handles common webhooks from Stripe, GitHub, Shopify, and more ## Usage Examples ```bash # Stripe payment webhook npx ai-webhook "stripe checkout.session.completed" # GitHub push events npx ai-webhook "github push event to trigger deployment" # Generic webhook with retry npx ai-webhook "order created webhook with idempotency" # Specify provider explicitly npx ai-webhook "new subscriber notification" --provider convertkit # TypeScript output npx ai-webhook "invoice paid" --typescript ``` ## Best Practices - **Always verify signatures** - Never trust raw webhook payloads - **Return 200 quickly** - Process async. Don't make providers wait - **Handle duplicates** - Webhooks retry. Your handler should be idempotent - **Log everything** - Debugging webhook issues without logs is painful ## When to Use This - Integrating a payment provider like Stripe or Paddle - Setting up GitHub Actions alternatives with webhooks - Building notification systems triggered by external services - Any third-party integration that sends webhooks ## Part of the LXGIC Dev Toolkit This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work. **Find more:** - GitHub: https://github.com/LXGIC-Studios - Twitter: https://x.com/lxgicstudios - Substack: https://lxgicstudios.substack.com - Website: https://lxgic.dev ## Requirements No install needed. Just run with npx. Node.js 18+ recommended. ```bash npx ai-webhook --help ``` ## How It Works The tool recognizes common webhook patterns from your description. It generates a handler function with the appropriate verification method, event parsing, and response codes. AI ensures the handler follows best practices for reliability and security. ## License MIT. Free forever. Use it however you want.
Related in Sales & CRM
process-mapper
IncludedUse when a BizOps lead, COO, or process-improvement owner needs to document an end-to-end business process (procurement, employee onboarding, incident handoff, customer-onboarding, claims adjudication) in BPMN-style notation, measure cycle times by stage, surface where work spends most of its time waiting vs. being worked, and quantify the gap between processing time and total elapsed time. Pairs Lean / Six Sigma / Theory-of-Constraints canon with deterministic stdlib-only Python tools to produce a process map, a ranked bottleneck list (with severity + root-cause hypothesis), and a cycle-time analysis (P50, P90, value-add ratio, Little's-Law throughput). Distinct from sales-pipeline, system-reliability (SLO), and strategic-OKR work — this is tactical process documentation for internal operations.
payment-integration
IncludedIntegrate payments with SePay (VietQR), Polar, Stripe, Paddle (MoR subscriptions), Creem.io (licensing). Checkout, webhooks, subscriptions, QR codes, multi-provider orders.
customer-success-manager
IncludedMonitors customer health, predicts churn risk, and identifies expansion opportunities using weighted scoring models for SaaS customer success
sales-engineer
IncludedAnalyzes RFP/RFI responses for coverage gaps, builds competitive feature comparison matrices, and plans proof-of-concept (POC) engagements for pre-sales engineering. Use when responding to RFPs, bids, or proposal requests; comparing product features against competitors; planning or scoring a customer POC or sales demo; preparing a technical proposal; or performing win/loss competitor analysis. Handles tasks described as 'RFP response', 'bid response', 'proposal response', 'competitor comparison', 'feature matrix', 'POC planning', 'sales demo prep', or 'pre-sales engineering'.
customer-success-manager
IncludedMonitors customer health, predicts churn risk, and identifies expansion opportunities using weighted scoring models for SaaS customer success
sales-engineer
IncludedAnalyzes RFP/RFI responses for coverage gaps, builds competitive feature comparison matrices, and plans proof-of-concept (POC) engagements for pre-sales engineering. Use when responding to RFPs, bids, or proposal requests; comparing product features against competitors; planning or scoring a customer POC or sales demo; preparing a technical proposal; or performing win/loss competitor analysis. Handles tasks described as 'RFP response', 'bid response', 'proposal response', 'competitor comparison', 'feature matrix', 'POC planning', 'sales demo prep', or 'pre-sales engineering'.