Skip to main content

9 docs tagged with "webhook"

View All Tags

Discord Interactions

A verified Discord Interactions (slash-command) endpoint. Checks Discord's Ed25519 request signature with verify_signature before doing any work, answers the PING handshake, logs interactions to Postgres and replies in-channel. Discord signs asymmetrically, so its public key must never be used as an HMAC secret.

GitHub Webhooks → Discord

Forwards GitHub events (push, pull request, issues) to a Discord channel as formatted embeds. No database required — it's a pure HTTP passthrough. Set up in under 5 minutes with two free accounts.

Lead Capture

Capture leads from any form, landing page, or webhook. Every submission is validated, stored in Postgres, and fires an instant Slack notification. Your data stays on your infrastructure.

Shopify Webhooks

Receive Shopify order webhooks, verify the base64 X-Shopify-Hmac-Sha256 signature (is_valid_hmac with encoding: base64 — Shopify base64-encodes its digest where GitHub/Stripe/Slack use hex), and upsert orders into Postgres idempotently, with a recent-orders and paid-revenue reporting endpoint.

Slack Interactivity

Approve/Reject buttons in Slack, end to end. Slack posts its interactivity payload as JSON inside a urlencoded `payload` FORM FIELD, so it must be parsed with yaml_to_json before anything can read it, and the signature is over the RAW body. Records the decision, then replaces the original message via response_url so the buttons disappear. Catches chat.postMessage failing as ok:false at HTTP 200, and a double-click is idempotent rather than an error.

Slack Slash Command

Verified Slack slash-command endpoint: checks the X-Slack-Signature HMAC before logging the command to Postgres and replying with an ephemeral message.

Stripe Webhooks → DB → Slack

Receives Stripe webhook events, verifies the signature, stores every event in Postgres with idempotency, and posts a Slack notification. One endpoint handles all event types.

Twilio SMS Bot

A Twilio SMS bot served straight from your database. Receives inbound SMS via a Twilio webhook, replies instantly with TwiML, routes keyword commands to canned replies, handles STOP/START opt-out, and logs every message. No app server.

Webhook Logger / Inspector

A zero-dependency webhook capture tool. Point any webhook sender at `/webhooks/log` and the full request — body, headers, and query params — is stored in your Postgres database. Replay stored events to your local dev server without re-triggering the original source. Useful for debugging Stripe, GitHub, Shopify, or any other webhook-based integration. Captures headers like `X-Stripe-Signature`, `X-GitHub-Event`, and `X-Hub-Signature-256` alongside the body so you have everything needed to replay or verify the original request.