Templates / Chase unpaid invoices with Google Sheets, Gmail, OpenAI and Slack

Chase unpaid invoices with Google Sheets, Gmail, OpenAI and Slack

Ready for 3.0

by Daniel Shashko ✓ · 0 views · created 2026-08-26 · Invoice Processing, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 23 nodes and runs on a schedule (every day at 09:00). Along the way it connects Google Sheets, Gmail, OpenAI Chat Model and Slack.

How it runs

Trigger: On a schedule (every day at 09:00).

  1. Settings (Edit Fields (Set)): sets 16 fields: sheet_url, business_name, sender_name…
  2. Look Up Public Holidays (HTTP Request): calls an HTTP API
  3. Is Today A Sending Day? (Code): runs custom JavaScript code
  4. Send Today? (If): checks a condition and branches into true / false
  5. Read The Ledger (Google Sheets): uses Google Sheets
  6. Read The Chase Log (Data table): get
  7. Find The Overdue Ones (Code): runs custom JavaScript code
  8. Look For Their Replies (Gmail): get many (message)
  9. Who Already Replied (Code): runs custom JavaScript code
  10. Loop Over Invoices (Loop Over Items (Split in Batches)): loops over the items in batches

…plus 8 more steps. See the full node list below.

Services it uses

Google SheetsGmailOpenAI Chat ModelSlack

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.

Nodes used (13)

From the author

Quick overview Runs every weekday morning, finds overdue unpaid invoices in Google Sheets, and checks Gmail first so anyone who has already replied is held rather than chased. Drafts a stage-appropriate reminder with OpenAI, sends it, logs the chase in a Data…

Excerpt from Daniel Shashko's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.