Monitor Stripe payments and anomalies with data tables and email alerts
Ready for 3.0What this workflow does
This workflow has 13 nodes and runs on Stripe events (checkout.session.completed, charge.failed, charge.refunded) (plus 1 other trigger). Along the way it connects Stripe.
How it runs
Trigger: On Stripe events (checkout.session.completed, charge.failed, charge.refunded) (plus 1 other trigger).
- Normalize Event (Code): runs custom JavaScript code
- Load Events (Data table): get
- Load History (Data table): get
- Calculate Metrics (Code): runs custom JavaScript code
- Analyze Event (Code): runs custom JavaScript code
- Send Daily Digest (Send Email): sends an email over SMTP
- Is New Event? (If): checks a condition and branches into true / false
- Prepare Row (Code): runs custom JavaScript code
- Needs Alert? (If): checks a condition and branches into true / false
- Store Event (Data table): uses Data table
…plus 1 more step. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (6)
- Stripe Trigger
n8n-nodes-base.stripeTrigger - Code
n8n-nodes-base.code - Data table
n8n-nodes-base.dataTable - If
n8n-nodes-base.if - Send Email
n8n-nodes-base.emailSend - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
Quick overview Monitors Stripe payments in real time: logs every payment, failure, refund and dispute to an n8n Data Table, ignores duplicate webhooks, flags unusual amounts against your own 30-day baseline, detects failed-payment spikes, and emails instant…