Payment Webhook Handler
Receive a Stripe-style webhook payload, parse the event, send a receipt email on success, and Slack-alert your team on failure.
The full canvas, before you import it
Click any node to see its config.
Click a node to select it — same as the Heym editor; the panel shows its settings.
7 nodes · Free & source-available
Payment Webhook Handler
A complete inbound payment event pipeline: parse the webhook JSON, branch on success vs failure, email the customer a receipt, and ping your team on Slack when a charge fails — all without writing a line of server code.
What this workflow does
- Input receives the raw Stripe webhook JSON body
- Set extracts event type, amount, currency, and customer email from the payload
- Condition checks whether
event_typeequalspayment_intent.succeeded - Send Email (success path) sends a payment receipt to the customer
- Slack (failure path) alerts your ops channel with the failure reason
- Output returns the parsed event for downstream logging
Use cases
- Stripe, Paddle, or LemonSqueezy webhook processing
- SaaS subscription lifecycle events (payment succeeded, failed, refunded)
- E-commerce order confirmation and failed-payment recovery
Setup
Point your payment provider's webhook endpoint at a Heym webhook trigger URL (replace the textInput node with a Webhook trigger node for production). Add an SMTP credential to Send Email and a Slack credential to the alert node.
How to import this template
- 1Click Import → Copy JSON on this page.
- 2Open your Heym and navigate to a workflow canvas.
- 3PressCmd+V/Ctrl+V— nodes appear instantly.
- 4Add your API keys in the node config panels and click Run.
Discover more automations
- Finance OpsBinance WebSocket BTC Price AlertSubscribe to the Binance public WebSocket ticker stream and trigger a price alert when BTC/USDT crosses your target threshold — no API key required.
- Finance OpsInvoice Data Extraction from PDFAn AI agent calls LlamaParse to parse a PDF invoice, then returns structured JSON with vendor, amount, line items, and totals.
- Finance OpsQuickBooks Sales Receipts from StripeReceive Stripe payment webhooks, create or find the QuickBooks customer, and generate a sales receipt automatically.
- Finance OpsPortfolio Diversification Slack BriefRead portfolio holdings from Google Sheets, analyze concentration risk with AI, and alert Slack when exposure needs review.
- Finance OpsInvoice Total Calculator (Agent Skill)An agent runs a bundled Python skill that computes line totals, discount, tax, and the grand total from invoice items.
- Finance OpsFinance Evidence S3 ArchiveUpload a finance evidence note to a structured Amazon S3 path and return the stored object key.
- Finance OpsOrder-to-Cash Exception AgentInspect order, fulfillment, invoice, and payment events, then route revenue exceptions before they become customer-facing issues.
- Finance OpsFreight Invoice Audit AgentAudit carrier invoices against shipment milestones, contracts, and accessorial rules before overcharges hit finance.
- Finance OpsDeepfake Vendor Payment Change TriageCross-check urgent vendor payment change emails, require human review, and block social engineering signals before money moves.
- Finance OpsGPU Inference Cost per Token Anomaly MonitorCalculate GPU inference cost per million tokens, detect efficiency regressions, and send a FinOps investigation brief.
- Dev & IT OpsHTML Status PageCheck an upstream service and answer a browser GET with a rendered status page instead of JSON.
- Dev & IT OpsWorkflow Change Audit LogCapture every workflow create, update, and delete on your Heym instance and post a batched summary to Slack.