Business and Sales · Blog · 🇮🇹 Italy · via agentusecases.ai
Developer builds three AI agents to chase overdue invoices and goes from 5 hours to 10 minutes a month
One agent finds who owes money, another writes the reminder in the right tone and the third reads replies and pauses reminders when a client promises to pay.
- Profession
- Freelancer, Collections Manager
- Tools
- Claude Code, OpenRouter, Gemini
- Source
- dev.to ↗
- Country
- 🇮🇹 Italy
- Found via
- agentusecases.ai (Alex Finn) ↗
- Report date
- December 21, 2025
- Verified on
- November 11, 2026
See more: AI for freelancers

What they did
Italian developer Francesco Capurso used Claude Code to build PayMind, a system with three agents. The first reads the invoice spreadsheet, finds overdue ones and sets priority by amount and days late. The second writes the reminder based on how late it is, from a polite nudge to a formal notice, by email, SMS or WhatsApp. The third reads the client's reply and, if they say the payment goes out tomorrow, pauses reminders for 48 hours.
How it went
In his December 21, 2025 post on DEV Community, he compares chasing 50 invoices a month: about 5 hours a month before and around 10 minutes with the system, at an API cost of about $0.10. To keep costs down, he uses a free model to analyze the spreadsheet and a paid model only to write the messages. The code is open on GitHub.
Good to know
Messages stay as drafts and only go out after he approves them in the dashboard, so the AI does not send a legal threat to a good client because of a spreadsheet typo. The figures are the author's own. Public source checked before publishing.
The prompt
Here is my invoice list: [paste the spreadsheet with client, amount, due date and status]. List the overdue ones in priority order by amount and days late. For each, write a payment reminder for [email or WhatsApp] in the right tone: friendly up to [number] days late, firm after that and formal beyond [number] days, with no threats. Use my name, [your name], and the payment link [link]. Leave everything as drafts for me to review; do not send anything.
Replace what is in [brackets]. Prompt written by us from the account, not a literal copy of the source. Do not paste other people’s personal data (privacy laws such as LGPD and GDPR apply).
Summary in our own words. Results as stated in the original account; we have not tested or audited them. Read the source ↗ Case found via agentusecases.ai (Alex Finn); text and prompt rewritten by us. Found a mistake?
Similar cases
01ClickBus joins Google Gemini and travelers search bus tickets by chatting with the AI
Since October 28, 2026, Gemini users can ask for schedules and prices with @ClickBus and only finish the purchase on the company's site.
02Bookkeeping for a Swedish company with agents
A cofounder had agents read receipts, suggest accounts and VAT, and prepare entries for approval.
03Separating business expenses from personal card statements
The author had Claude talk through the first few statements to learn her patterns before classifying the rest.
04Two agents reviewing each other on the company tax return
Claude Code wrote the calculations from QuickBooks data and Codex reviewed them until they agreed.
05Researching 50 target companies and filling in the CRM
A Dutch consultant filters the list by hand, then the agent researches each company and creates records ready for outreach.
06Giving an agent a server and the mission of building a business
A dev let Claude Code run every 30 minutes on a VPS, with memory kept in files, asking for help via Telegram.
07Sell a WhatsApp scheduling agent to a clinic
A student in an AI agents course built a scheduling agent for an aesthetics clinic and began charging a monthly maintenance fee.
08A consultant builds his own invoicing system with Claude Code in four hours and stops spending six hours a month on billing
A JSON file with clients and hours becomes a branded PDF, goes out by email and gets an automatic reminder when payment is late.