Send a daily overdue invoice digest with Google Sheets and Gmail
Ready for 3.0What this workflow does
This workflow has 18 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Google Sheets and Gmail.
How it runs
Trigger: On a schedule (every day) (plus 1 other trigger).
- Your Settings (Edit Fields (Set)): sets or maps fields
- Settings Still Unfilled? (If): checks a condition and branches into true / false
- Stop With A Clear Message (Stop and Error): stops the run with an error
- Read The Invoices Tab (Google Sheets): uses Google Sheets
- Learn Each Client's Payment Habits (Code): runs custom JavaScript code
- Email Me The Sheet Error (Gmail): uses Gmail
- Forecast Every Open Invoice (Code): runs custom JavaScript code
- Clear The Forecast Tab (Google Sheets): uses Google Sheets
- Read Past Alerts (Google Sheets): uses Google Sheets
- Hand Over The Forecast Rows (Code): runs custom JavaScript code
…plus 6 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102)
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 (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Stop and Error
n8n-nodes-base.stopAndError - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail - Code
n8n-nodes-base.code
From the author
Quick overview I built this for freelancers who keep invoices in Google Sheets. It learns how late each client really pays, gives every unpaid invoice an expected date and a cash calendar by week, and emails you once when a promise breaks or a client starts…