Templates / AI-powered invoice reminder & payment tracker for finance & accounting

AI-powered invoice reminder & payment tracker for finance & accounting

Ready for 3.0

by Oneclick AI Squad ✓ · 9,372 views · created 2025-10-24 · 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 18 nodes and runs on a schedule (cron 0 9 * * *) (plus 1 other trigger). Along the way it connects Postgres and OpenAI Chat Model.

How it runs

Trigger: On a schedule (cron 0 9 * * *) (plus 1 other trigger).

  1. Fetch Pending Invoices (Postgres): run a query
  2. Update Payment Status (Postgres): run a query
  3. Filter Overdue Invoices (If): checks a condition and branches into true / false
  4. Webhook Response (Respond to Webhook): sends the response back to the webhook caller
  5. Send Payment Confirmation (Send Email): sends an email over SMTP
  6. Calculate Reminder Logic (Code): runs custom JavaScript code
  7. Prepare AI Prompt (Edit Fields (Set)): sets 1 field: aiPrompt
  8. AI Agent: runs an AI agent, with model: Generate Email
  9. Format Email (Code): runs custom JavaScript code
  10. Send Email: sends an email over SMTP

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

Services it uses

PostgresOpenAI Chat Model

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

From the author

Streamline invoice management with this automated n8n workflow. Triggered daily at 9 AM, it fetches pending invoices, filters overdue ones, uses AI to generate personalized reminders, and sends them to clients. It also tracks payments via webhooks, updates…

Excerpt from Oneclick AI Squad'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.