{"product_id":"stripe-webhook-router-for-n8n-slack-discord-resend-alerts","title":"Stripe Webhook Router for n8n: Slack, Discord \u0026 Resend Alerts","description":"\u003ch3\u003eInstant Stripe event alerts for n8n—verified, de-duplicated, and routed to Slack, Discord \u0026amp; Resend\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003eStripe Webhook Router for n8n\u003c\/strong\u003e receives Stripe webhook events, \u003cstrong\u003everifies signatures\u003c\/strong\u003e, \u003cstrong\u003eprevents duplicate processing\u003c\/strong\u003e, then sends the right \u003cstrong\u003eSlack\u003c\/strong\u003e, \u003cstrong\u003eDiscord\u003c\/strong\u003e, and \u003cstrong\u003eResend\u003c\/strong\u003e alerts based on the event type—while always responding to Stripe with HTTP 200.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives raw Stripe webhooks\u003c\/strong\u003e: accepts a POST request using the workflow webhook endpoint with path \u003cstrong\u003estripe-ops\u003c\/strong\u003e (requires raw request body enabled).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eVerifies Stripe-Signature\u003c\/strong\u003e: compares the \u003cstrong\u003eStripe-Signature\u003c\/strong\u003e header against \u003cstrong\u003eSTRIPE_WEBHOOK_SECRET\u003c\/strong\u003e (optionally skips verification via an environment flag).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExtracts key event fields\u003c\/strong\u003e: reads event type, amount, customer, and object IDs from the Stripe payload.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIgnores duplicates\u003c\/strong\u003e: checks the Stripe \u003cstrong\u003eevent ID\u003c\/strong\u003e against workflow static data and immediately returns a “duplicate” response when the same event was already processed.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRoutes with severity + messaging\u003c\/strong\u003e: maps the Stripe event type to a \u003cstrong\u003eseverity\/title\u003c\/strong\u003e, builds Slack\/Discord message bodies, and prepares a Resend email payload.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNotifies without breaking the webhook\u003c\/strong\u003e: sends to \u003cstrong\u003eSlack\u003c\/strong\u003e and\/or \u003cstrong\u003eDiscord\u003c\/strong\u003e via incoming webhooks and to email via the \u003cstrong\u003eResend API\u003c\/strong\u003e; records send errors but does not fail the Stripe webhook.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLogs and responds\u003c\/strong\u003e: appends a compact log entry to workflow static data and returns HTTP 200 including the event ID, type, severity, and notification results.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eAlert your team immediately when critical Stripe events occur (e.g., payment-related changes) with severity-based routing.\u003c\/li\u003e\n  \u003cli\u003eSend operational notifications to Slack\/Discord while also backing up important alerts via email using Resend.\u003c\/li\u003e\n  \u003cli\u003eRun multiple webhook triggers safely by de-duplicating events using Stripe event IDs stored in n8n static data.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes\u003c\/strong\u003e: \u003cem\u003ewebhook\u003c\/em\u003e, \u003cem\u003eif\u003c\/em\u003e, \u003cem\u003ecode\u003c\/em\u003e, \u003cem\u003erespond to webhook\u003c\/em\u003e, \u003cem\u003esticky note\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEnvironment variables\u003c\/strong\u003e: \u003cstrong\u003eSTRIPE_WEBHOOK_SECRET\u003c\/strong\u003e (and optionally \u003cstrong\u003eSTRIPE_TOLERANCE_SEC\u003c\/strong\u003e), plus \u003cstrong\u003eSLACK_WEBHOOK_URL\u003c\/strong\u003e and\/or \u003cstrong\u003eDISCORD_WEBHOOK_URL\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\u003c\/strong\u003e: \u003cstrong\u003eStripe\u003c\/strong\u003e (signature verification), \u003cstrong\u003eSlack\u003c\/strong\u003e, \u003cstrong\u003eDiscord\u003c\/strong\u003e, and \u003cstrong\u003eResend\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45931028054195,"sku":"N8N-18966","price":49.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/UpBuhd2dQeVhfHKqhKZzb_uyDvbqTa.png?v=1788253974","url":"https:\/\/buyflowscripts.com\/products\/stripe-webhook-router-for-n8n-slack-discord-resend-alerts","provider":"N8N Commerce","version":"1.0","type":"link"}