Templates / Chase overdue invoice payments with Google Sheets, Gemini, Gmail and Slack

Chase overdue invoice payments with Google Sheets, Gemini, Gmail and Slack

Ready for 3.0

by Oka Hironobu ✓ · 5 views · created 2026-08-11 · Invoice Processing, Multimodal AI

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 11 nodes and runs on a schedule (every day at 09:00). Along the way it connects Google Sheets, Google Gemini Chat Model, Gmail and Slack.

How it runs

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

  1. Get Unpaid Invoices (Google Sheets): uses Google Sheets
  2. Compute Days Overdue (Code): runs custom JavaScript code
  3. Write Reminder with Gemini (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model
  4. Route by Stage (Switch): routes items into 3 branches
  5. Send Gentle Reminder (Gmail): uses Gmail
  6. Send Firm Reminder (Gmail): uses Gmail
  7. Send Final Notice (Gmail): uses Gmail
  8. Update Last Reminder (Google Sheets): append or update
  9. Alert Finance Team (Slack): uses Slack

Services it uses

Google SheetsGoogle Gemini Chat ModelGmailSlack

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 (8)

From the author

Quick Overview This workflow runs daily, reads unpaid invoices from Google Sheets, uses Google Gemini to draft stage-appropriate reminder emails, sends them via Gmail, optionally alerts a Slack finance channel for long-overdue invoices, and updates the…

Excerpt from Oka Hironobu'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.