Reconcile bank payments to invoices with webhooks, Gmail and data tables
Ready for 3.0What this workflow does
This workflow has 62 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Gmail.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Validate Import Token (Code): runs custom JavaScript code
- Build Runtime Bank Fixture (Code): runs custom JavaScript code
- Import Authorized? (If): checks a condition and branches into true / false
- Get Runtime Existing Transactions (Data table): get (row)
- Build Webhook Statement Contract (Code): runs custom JavaScript code
- Build Unauthorized Response (Code): runs custom JavaScript code
- Merge Runtime Existing Transactions (Code): runs custom JavaScript code
- Get Webhook Existing Transactions (Data table): get (row)
- Respond Unauthorized (Respond to Webhook): sends the response back to the webhook caller
- Get Runtime Existing Reviews (Data table): get (row)
…plus 50 more steps. 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 (7)
- Webhook
n8n-nodes-base.webhook - Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Data table
n8n-nodes-base.dataTable - Gmail
n8n-nodes-base.gmail
From the author
Quick Overview This workflow accepts bank statement data via an authenticated webhook (or a manual fixture), reconciles payments to open invoices using deterministic matching logic, and stores the results in n8n Data Tables while sending an operator summary…