Collect Xero invoice payments with Stripe Payment Links via WhatsApp
Ready for 3.0What this workflow does
This workflow has 35 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects Stripe and Slack. It also calls api.xero.com and api.stripe.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- Compute Signature (Crypto): hashes or encrypts values
- Extract Payment Details (Code): runs custom JavaScript code
- Notify Failure Via Slack (Slack): uses Slack
- If: checks a condition and branches into true / false
- Locate Payment Link Row (Data table): get
- Respond with HTTP (Respond to Webhook): sends the response back to the webhook caller
- Respond with HTTP (Respond to Webhook): sends the response back to the webhook caller
- Check Payment Already Recorded (If): checks a condition and branches into true / false
- Extract Events From Invoice (Code): runs custom JavaScript code
- Alert Duplicate Payment (Slack): uses Slack
…plus 22 more steps. See the full node list below.
Services it uses
Other Stripe + Slack templates (27) · Other Xero + Slack templates (10)
HTTP calls to: api.xero.com, api.stripe.com
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 (12)
- Webhook
n8n-nodes-base.webhook - Crypto
n8n-nodes-base.crypto - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Filter
n8n-nodes-base.filter - Data table
n8n-nodes-base.dataTable - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Stripe Trigger
n8n-nodes-base.stripeTrigger - Slack
n8n-nodes-base.slack - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick overview This workflow sends single-use Stripe Payment Links for approved Xero sales invoices via WhatsApp (using WAHA) and, when Stripe confirms payment, records the payment and Stripe fees back to the correct Xero invoice while tracking link and…