It’s Thursday afternoon and someone in accounts opens the overdue list. There are 37 invoices past their due date. Some are two weeks late, others three months. Hardly anyone has been called, because it’s awkward, because “they’ll pay eventually”, because the sales rep doesn’t want to sour the relationship and because there’s always something more urgent. When someone finally gets round to it, every call means digging out the invoice, the right contact and whatever was said last time.
The result is money the business has already earned but can’t use. That’s why more and more SMBs choose to automate debt collection with AI: not to be more aggressive, but so that the reminder always goes out, on time and in the right tone, without depending on someone finding a gap in their diary.
In this article we explain how an AI-powered collections workflow works, which parts should stay with a person and how to tell whether it pays off in your company.
Quick answer: automating debt collection means reading due dates from your ERP and sending staged reminders by email and WhatsApp, with the tone adapted to each customer, and alerting a person only when someone needs to step in.
Why nobody chases on time (and what it costs)
Late payment is a structural problem, not an occasional one. European companies spend 73 days a year chasing late payments (Intrum, European Payment Report 2024). In Spain, the average business-to-business payment period reaches 67 days, above the 60-day legal limit, and 60% of companies report being forced into improper payment terms (Plataforma Multisectorial contra la Morosidad, 2025 Late Payment Report, presented to Spain’s State SME Council in 2026).
Inside an SMB, the problem is rarely not knowing who owes what. The ERP already shows that. The problem is the process:
- It’s manual: someone has to pull the list, match it against bank receipts and write each email.
- It’s awkward: nobody enjoys asking for money, so it gets postponed.
- It gets forgotten: without a reminder schedule, the first nudge goes out when the invoice is already 60 days old.
- It’s inconsistent: one customer gets three calls and another none, depending on who manages the account.
How automated debt collection works, step by step
A good collections workflow doesn’t replace your team: it takes the repetitive work away and leaves them only the cases that need judgement. It runs on the software you already use, with no migration (we cover this in detail in how to integrate AI with your ERP and accounting software).
- Reading due dates. Every day the system checks the ERP for issued invoices, their due dates and their payment status.
- A friendly reminder before the due date. A few days ahead, a courteous email with the invoice attached and payment details. Many delays are simple oversights and get solved right here.
- Staged escalation. If the due date passes unpaid: a reminder the next day, another at 7 days by email and WhatsApp, and at 15 or 30 days an alert to the account owner to pick up the phone.
- Tone adapted by AI. The AI writes each message based on the customer’s history: a ten-year customer who always pays late because of their internal cycle is not the same as a new one who doesn’t reply.
- Reading replies. If the customer answers “we’ll pay on Friday” or “the invoice has an error”, the AI understands it, pauses the sequence and logs it or hands it to the right person.
- Reconciliation and closing. When the payment lands in the bank, it’s matched to the invoice, the sequence stops and the case closes itself. It’s the same logic as AI automated bank reconciliation.
Orchestration is usually built with n8n, connecting ERP, email, WhatsApp Business and bank, plus a language model to draft messages and understand replies.
What you should NOT automate
There’s a clear boundary. AI can remind, inform and listen. What it should not do on its own is:
- Start legal action (formal demands, court claims, handing the debt to a collection agency). A person decides that.
- Negotiate write-offs or deferrals. It can offer a payment plan within rules you set, but any exception goes through approval.
- Harden the tone unchecked. Templates for each stage are reviewed and approved once; the AI personalises within that frame.
This is the principle of human-in-the-loop oversight of AI agents: the system does the repetitive work and a person decides on the sensitive parts.
Benefits: fewer days to get paid, less friction
The metric that matters is DSO (days sales outstanding): how many days, on average, it takes you to collect what you invoice. Automating collections brings it down in three ways:
- Consistency: every customer gets their reminder at the planned moment, with nothing forgotten.
- Prevention: the pre-due-date reminder stops some delays before they happen.
- Focus: your team only calls the customers who really need it, with all the context in front of them.
The customer relationship also suffers less. A timely, polite reminder is far less irritating than a tense phone call at 90 days.
When does automating collections make sense?
- You issue more invoices than can be tracked one by one (from a few dozen a month).
- You have recurring customers on payment terms (B2B, distribution, services, maintenance).
- Your ERP or invoicing software lets you export or query due dates and payments.
- Today nobody owns the task of chasing payments, or it’s done sporadically and without a schedule.
If you sell almost everything upfront or by card, the benefit will be small. And if your bad debts are a few large customers in dispute, what you need is personal handling, not an automated flow.
Frequently asked questions
Can automated debt collection annoy my customers?
Quite the opposite, if it’s well designed. Messages are courteous, arrive at the right time and stop as soon as the customer pays or replies. What annoys people is a late, tense demand, not a timely reminder.
Do I need to change my ERP to automate collections?
No. The workflow connects to your current software via API, scheduled exports or, if there’s no other way, RPA. What matters is being able to read due dates and payments.
Which channels are the reminders sent through?
The usual setup combines email and WhatsApp Business, leaving phone calls for the later stages, made by a person. Each company decides which channels to use and in what order.
What happens if the customer replies that the invoice is wrong?
The AI recognises it as an issue rather than a payment promise, pauses the reminder sequence and routes it to the person in charge with the invoice and the customer’s message attached.
| Manual | With AI | |
|---|---|---|
| Reminder before due date | Hardly ever | Always, a few days ahead |
| Follow-up on overdue invoices | When there’s time | Staged escalation (day 1, 7, 15-30) |
| Customer reply | Lost in the inbox | Understood, sequence paused |
| Payment received | Matched to the bank by hand | Reconciled and case closed automatically |
| Legal action and exceptions | Person | Person |
Contact us and we’ll analyse your case for free →
About the author
Jose A. Parra
CEO & Founder of AIPROCESSIA — 30 years as IT consultant for Spanish SMBs.
For three decades I’ve been deploying ERP systems, integrations and — since 2023 — AI agents, RPA and OCR in real-world flows for invoicing, maintenance and customer service. My focus: automate 5 key processes for under €100/month and give back 20-40 hours per week to the team — no one gets replaced.
Certified Generative AI Expert · UDIA · 2026.

[…] good example of where to draw the line between agent and person is collections: read how to automate debt collection with AI while keeping legal action and exceptions in human […]