Control invoice reminders and escalations with Google Sheets and Gmail
Ready for 3.0What this workflow does
This workflow has 15 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Sheets and Gmail.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Config — Safe Test Mode (Code): runs custom JavaScript code
- Read Invoices (Google Sheets): uses Google Sheets
- Read Reminder Ledger (Google Sheets): uses Google Sheets
- Mark Invoice Rows (Code): runs custom JavaScript code
- Mark Ledger Rows (Code): runs custom JavaScript code
- Combine Invoice and Ledger Rows (Merge): merges the data from its input branches
- Validate & Decide (Code): runs custom JavaScript code
- Route Decision (Switch): routes items into 4 branches
- Reserve Send — Idempotency Gate (Google Sheets): append
- Reserve Escalation — Idempotency Gate (Google Sheets): append
…plus 3 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 (7)
- Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Switch
n8n-nodes-base.switch - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Merge
n8n-nodes-base.merge
From the author
Quick overview This workflow runs on weekdays and reads invoice and reminder-ledger data from Google Sheets, decides whether to send customer follow-ups or finance escalations, sends emails via Gmail in safe test mode by default, and appends an audit trail…