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

Prepare Staged Payment Reminders From an Invoice Tracker

Overview

A scheduled n8n workflow reads your invoice tracker in Google Sheets, picks out overdue unpaid invoices and leaves a reminder draft in Gmail whose tone matches how late each one is.

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 Sheets and Gmail credentials in n8n, and a chat model API key. The workflow must be published for the schedule to run.

How It Works

Keep a Google Sheet with one row per invoice: invoice number, client name, client email, amount, due date and a status column you maintain yourself (open, paid or disputed). In n8n, start with a Schedule Trigger that runs once every morning. Add a Google Sheets node that gets the rows, then a filter that keeps rows still open, works out the days overdue, and passes on only rows that land exactly on one of your reminder stages, for example a friendly note, a firmer note and a final note before you phone the client. Send each row to a Basic LLM Chain with a prompt that writes the reminder for that stage using only the row's facts. Finish with a Gmail node that creates a draft to the client email; it does not send. Each morning, open the drafts, check each invoice against your accounting records, edit as needed and send the ones you approve yourself.

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 Sheets and Gmail credentials in n8n, and a chat model API key. The workflow must be published for the schedule to run.
  4. Gather your detailsCollect what the prompt asks for: Your business name, Invoice number, Client name, Amount due, Due date, Days overdue, Reminder stage (1 to 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: Draft one 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] for invoice [Invoice number] to [Client name]: amount [Amount due], due on [Due date], now [Days overdue] days overdue. This is reminder stage [Reminder stage (1 to 3)]: stage 1 is friendly, stage 2 is firm, stage 3 says you will call to arrange payment. Use only these facts, keep it under 120 words, include the invoice number and amount, and do not threaten fees or action that are not in the agreed terms. Output a subject line and a body; a person reviews and sends it.

Map the variables from the sheet row in the Basic LLM Chain. The Gmail node only creates drafts: review each one against your accounting records and send it yourself.

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 support running a workflow at fixed times, reading and updating Google Sheets, setting a model prompt in a Basic LLM Chain, and creating Gmail drafts.

Limitations and Considerations

Nothing is sent automatically: every reminder stays a draft until you review and send it. Update the status column as soon as an invoice is paid or disputed, because the workflow trusts the sheet; check each draft against your accounting system before sending, as that side was not verified here. Because a stage is matched on an exact day, a day the workflow does not run means that reminder is skipped. Keep the tone factual and follow the payment terms you agreed with each client; this is not legal advice on debt collection. Model costs depend on your provider. 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.

Official Website

The official site of the main tool or project in this use case.

Visit Website (opens in a new tab)n8n.io

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. Google Sheets | Nodes | n8n Docs (opens in a new tab)

    Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 23:44 UTC

    What this source supports
    • Use the Google Sheets node to automate work in Google Sheets, and integrate Google Sheets with other applications.
  3. Basic LLM Chain | Nodes | n8n Docs (opens in a new tab)

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

    What this source supports
    • Use the Basic LLM Chain node to set the prompt that the model will use along with setting an optional parser for the response.
  4. Gmail | Nodes | n8n Docs (opens in a new tab)

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

    What this source supports
    • n8n has built-in support for a wide range of Gmail features, including creating, updating, deleting, and getting drafts, messages, labels, and threads.
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