Top 200 ReposEXPLORER
Browse agents, categories and pages
Back to results
Planned, not doneThe source describes an intention, not a finished result.

Draft Payment Reminders That Escalate With Invoice Age

Overview

A daily n8n workflow reads an invoice tracker in Google Sheets, works out how overdue each unpaid invoice is, and creates a Gmail draft whose tone matches that stage, skipping stages already drafted.

Problem or Objective

More in Finance and Admin

AI Agents and Models

Tools and Integrations

Tools
n8n · Google Sheets · Gmail
Prerequisites
An n8n instance (cloud or self-hosted), Google credentials for Sheets and Gmail, access to a chat model, and an invoice tracker kept in step with your accounting system.

How It Works

Keep a Google Sheet with one row per invoice: client name, billing email, invoice number, amount, due date, a paid column you update from your accounting system, and columns for the last reminder stage drafted and the date you actually sent it. In n8n, start with a Schedule Trigger once a day and read the rows with the Google Sheets node. Filter to unpaid invoices past their due date, compute the days overdue, and map them to stages, for example a friendly note from day 3, a firmer one from day 15 and a final notice from day 30. Skip any row whose current stage was already drafted. Send each remaining row to a model step without tools that writes the reminder in that stage's tone, with the invoice number, amount and due date. Create a Gmail draft for it and record the drafted stage in the sheet. Each morning a person checks the drafts against the accounting system, deletes any for invoices that are paid or disputed, edits the rest and sends them by hand, then fills in the sent date.

Implementation Workflow

Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.

  1. Choose the agentSet up n8n.
  2. Connect the toolsConnect the tools this workflow relies on: n8n, Google Sheets, Gmail.
  3. Check the prerequisitesAn n8n instance (cloud or self-hosted), Google credentials for Sheets and Gmail, access to a chat model, and an invoice tracker kept in step with your accounting system.
  4. Gather your detailsCollect what the prompt asks for: Your business name, Client name from the sheet, Invoice number, Amount due with currency, Original due date, Days past the due date, Reminder stage (1, 2 or 3).
  5. Run the starter promptPaste the starter prompt below into n8n and adapt it to your case.
  6. Check against the documentationCompare what you get with the documentation at docs.n8n.io before you rely on it.

Practical Starter Prompt: Write an overdue invoice reminder

Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].

Preview
Write a payment reminder email from [Your business name] to [Client name from the sheet] about invoice [Invoice number] for [Amount due with currency], due on [Original due date] and now [Days past the due date] days overdue. Use the tone for stage [Reminder stage (1, 2 or 3)]: stage 1 is a friendly nudge, stage 2 is firm and asks for a payment date, stage 3 is a final notice that says what happens next under our terms. Include how to pay and an invitation to reply if the invoice is disputed or already paid. Return only the subject line and body; this will be saved as a draft for my review and approval, and nothing is sent until I send it myself.

Use this in the model step of the daily n8n workflow; the result goes into a Gmail draft, never straight to the client. Each morning check the drafts against your accounting system, delete those for paid or disputed invoices, edit and send the rest yourself, and record the sent date in the sheet.

Expected Results and Benefits

This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.

This is a suggested workflow, not a reported outcome. The n8n docs cover running workflows on a schedule, reading and updating rows in Google Sheets and creating Gmail drafts. No cited page shows reminders drafted this way, so how well the tone stages read to your clients and whether the skip logic holds up are untested here.

Limitations and Considerations

The sheet is only as current as your accounting system: payment status was not verified against any accounting product here, so confirm each invoice is still unpaid before sending, and handle disputes personally. The workflow only creates drafts; nothing reaches a client until a person sends it. You need Google credentials in n8n for Sheets and Gmail, and model calls are billed by your model provider. Check that reminder wording fits your contracts and local rules on collecting debts. Results depend on your setup and were not independently reproduced by Top 200 Repos.

GitHub Repositories

AI Agent Repository

Source code of the agent that does the work.

Related Videos

About n8n-io/n8n

About n8n-io/n8n

Independent creators. Listing a video implies no endorsement, sponsorship or partnership.

Sources

  1. Schedule Trigger | Nodes | n8n Docs (opens in a new tab)

    Project documentation · docs.n8n.io · Undated · Source checked 25 Nov 2026, 12:10 UTC

    What this source supports
    • Use the Schedule Trigger node to run workflows at fixed intervals and times.
  2. Sheet Within Document operations | Nodes | n8n Docs (opens in a new tab)

    Project documentation · docs.n8n.io · Undated · Source checked 27 Nov 2026, 14:53 UTC

    What this source supports
    • Use this operation to read one or more rows from a sheet.
    • Use this operation to update an existing row or add a new row at the end of the data if a matching entry isn't found in a sheet.
  3. Draft Operations | Nodes | n8n Docs (opens in a new tab)

    Project documentation · docs.n8n.io · Undated · Source checked 27 Nov 2026, 14:53 UTC

    What this source supports
    • Use this operation to create a new draft.
Report a problem

More with n8n

Planned, not done

Support Customers Through Telegram Messages

An n8n workflow turns new customer emails and contact-form messages into tasks with draft replies, and sends each draft to the owner in Telegram with Approve and Decline buttons before anything goes out.

docs.n8n.ion8n-io/n8n
Planned, not done

Capture Restaurant Orders With a Conversational Agent

Build an n8n chat that takes a customer's food order from your menu, reads it back, and records it in a data table only after a staff member approves it in Slack.

docs.n8n.ion8n-io/n8n
Reported by source

Build a self-hosted AI agent workflow with human approval

Use n8n's visual canvas to wire an LLM agent to your apps, add tools and memory, and pause for human approval before it acts.

github.comn8n-io/n8n

View all: n8n