Invoice management system with Gmail reminders, Google Sheets, and Slack escalations
Ready for 3.0What this workflow does
This workflow has 22 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Google Sheets, Gmail and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Initialize Invoice (Edit Fields (Set)): sets 8 fields: invoiceId, clientName, clientEmail…
- Get Unpaid Invoices (Google Sheets): get many
- Split Line Items (Split Out): splits a list into separate items
- Calculate Overdue Days (Code): runs custom JavaScript code
- Calculate Line Total (Code): runs custom JavaScript code
- Loop Over Invoices (Loop Over Items (Split in Batches)): loops over the items in batches
- Aggregate: combines items into one
- Route by Reminder Level (Switch): routes items into 5 branches
- Build Invoice Object (Code): runs custom JavaScript code
- First Reminder Email (Gmail): uses Gmail
…plus 10 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
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 (13)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Split Out
n8n-nodes-base.splitOut - Code
n8n-nodes-base.code - Aggregate
n8n-nodes-base.aggregate - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail - Respond to Webhook
n8n-nodes-base.respondToWebhook - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack - Merge
n8n-nodes-base.merge
From the author
Who is this for? This template is designed for freelancers, small businesses, and finance teams who need automated invoice management with intelligent payment follow-ups. Perfect for service providers, agencies, or any business that needs to track receivables…