Run Stripe dunning and revoke access with Gmail, Telegram and Sheets
Ready for 3.0What this workflow does
This workflow has 22 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Gmail, Telegram and Google Sheets.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Build Signature Payload (Code): runs custom JavaScript code
- Recompute HMAC (Crypto): hashes or encrypts values
- Signature Valid? (If): checks a condition and branches into true / false
- Read Event (Code): runs custom JavaScript code
- Reject Unsigned (Respond to Webhook): sends the response back to the webhook caller
- Which Event? (Switch): routes items into 3 branches
- Lookup Customer (HTTP Request): calls an HTTP API (GET)
- Dunning Stage (Gmail): uses Gmail
- Revoke Access (HTTP Request): calls an HTTP API (POST)
- Alert Finance (Telegram): uses Telegram
…plus 11 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Telegram + Google Sheets templates (674) · Other Gmail + Telegram templates (361)
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 (11)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Crypto
n8n-nodes-base.crypto - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Gmail
n8n-nodes-base.gmail - Telegram
n8n-nodes-base.telegram - Google Sheets
n8n-nodes-base.googleSheets - Wait
n8n-nodes-base.wait
From the author
Quick overview This workflow receives Stripe billing webhooks, verifies the Stripe signature, and then either revokes access for refunds/disputes or runs a multi-step dunning sequence for failed invoice payments, sending Gmail emails, alerting via Telegram,…