Slack Integration
Instant real-time webhook debugging in your chat
Configuration
Setup
Connect your workspace to WebhookLab in under three minutes. No external dependencies or paid add-ons required.
01. Create a Slack App
Navigate to api.slack.com/apps, click "Create New App", and select "From scratch". Name it "WebhookLab Debugger" and choose your target workspace (e.g., acme-corp).
02. Configure OAuth & Permissions
Under OAuth & Permissions, add `chat:write` and `incoming-webhook` scopes. Install the app to your workspace and copy the generated Bot User OAuth Token (`xoxb-...`).
03. Link Your WebhookLab Endpoint
Paste your unique WebhookLab URL (e.g., `https://webhooklab.io/p/8f4a2c`) into the Slack App's "Event Subscriptions" > "Request URL" field. Enable events and subscribe to `url_verification`.
04. Verify & Activate
Return to your WebhookLab dashboard, click "Verify Connection", and select `#dev-alerts` as the notification channel. You'll receive a ping within 15 seconds confirming the handshake.
Use Cases
Examples
See how different payload structures translate into formatted Slack messages. Customize templates directly from the dashboard.
GitHub Push Events
When a `push` event hits your endpoint, WebhookLab parses the `ref` and `commits` array. The Slack alert displays the branch name, author avatar, and a collapsible thread for each commit hash and diff summary.
Stripe Payment Webhooks
For `payment_intent.succeeded` payloads, the integration formats the `amount`, `currency`, and `customer_email` into a clean Block Kit message. Failed retries automatically trigger a `#billing-ops` escalation with full error logs.
Custom JSON Schemas
Define your own mapping rules using WebhookLab's visual editor. Map `{"status": "200", "latency": "42ms"}` to a green checkmark block, or route `4xx/5xx` responses to a red alert with stack trace attachments.