Chase overdue invoice payments from Google Sheets with OpenAI and Gmail
Needs changesWhat this workflow does
This workflow has 6 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).
- Read invoices (Google Sheets): read
- Pick invoices to chase (Code): runs custom JavaScript code
- Draft the reminder (OpenAI): complete (chat)
- Create Gmail draft (Gmail): work with draft
- Log the chase (Google Sheets): update
Services it uses
Other Google Sheets + Gmail templates (2,102)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- OpenAI (legacy) in Draft the reminder: replace with OpenAI node (AI section).
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →
| Removed in 3.0 | Replace with |
|---|---|
| OpenAI (legacy) Draft the reminder | OpenAI node (AI section) |
Nodes used (5)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - OpenAI
n8n-nodes-base.openAi - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow runs daily at 9am, reads invoices from Google Sheets, uses OpenAI to draft an overdue-payment reminder with escalating tone based on days overdue, creates a Gmail draft to the client, and updates the sheet with the latest chase…