Send staged invoice payment reminders with Google Sheets and Gmail
Ready for 3.0What this workflow does
This workflow has 21 nodes and runs on a schedule (every day at 09:00). Along the way it connects Google Sheets and Gmail.
How it runs
Trigger: On a schedule (every day at 09:00).
- 2. Read Invoices Sheet (Google Sheets): uses Google Sheets
- 3. Filter & Stage (Code) (Code): runs custom JavaScript code
- 4. Validate Chase Rows (Code) (Code): runs custom JavaScript code
- 5. Is Row Valid? (If): checks a condition and branches into true / false
- 6. Dedupe by Invoice ID (Code) (Code): runs custom JavaScript code
- 5a. Log Invalid Row (Google Sheets): append (sheet)
- 7. Is Duplicate? (If): checks a condition and branches into true / false
- 7a. Log Duplicate Row (Google Sheets): append (sheet)
- 8. Route by Stage (Switch): routes items into 4 branches
- 11. Collect High-Value Finals (Code) (Code): runs custom JavaScript code
…plus 10 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 (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch - Gmail
n8n-nodes-base.gmail
From the author
Quick overview Reads a Google Sheet of invoices every morning and emails each client the right payment reminder — pre-due, due-day, 7-day overdue, final notice — with validation, deduplication, a high-value owner digest and failure logging built in. Import,…