Skip to content

Automation · Collections and receivables

Collect overdue invoices over WhatsApp without chasing anyone by hand

How an AI agent reviews the overdue invoices in Alegra every morning, writes over WhatsApp with an approved template and records the payment when it lands.

How do I collect overdue invoices over WhatsApp without reviewing the ledger by hand?

A scheduled task runs at the hour you choose, lists the overdue invoices in Alegra by status and date, matches each one with the WhatsApp contact it belongs to and schedules the collection message using a Meta-approved template. When the customer replies, the Met takes over the conversation: it clarifies the balance, sends the invoice detail and records the payment against the correct documents as soon as the money lands. What gets automated is the discipline of collecting every single day. What gets decided is still yours.

What starts it

At a set time

A task on a recurring (cron) trigger. It runs on its own at whatever hour you set, and early morning is the usual choice. It does not depend on somebody opening the platform, or on the customer writing first.

A task on a recurring (cron) or date and time trigger. It runs on its own, with nobody logged in.

Who runs it

Legra, Head of accounting

Finance and operations team

Receivables are her ground. Legra carries the invoice, payment and bank account tools from the Alegra connector, plus the tone to ask for money without damaging the relationship.

Channels: WhatsApp

What you need connected

5 steps · 10 tools

The procedure, step by step

Each step shows the tool that runs. They belong to the real connector: if one of them stopped existing, this page would not build.

  1. 1

    Build the list of what is overdue

    Alegra's invoice listing filters by status, customer and date range. The task pulls what is unpaid and splits it by age, which is what changes the message: you do not write the same way to somebody three days late as to somebody three months late. For the cases that need a closer look, the invoice query returns the full document.

  2. 2

    Match each invoice with its WhatsApp contact

    The invoice lives in Alegra and the conversation lives in the CRM, so they have to be joined before anything goes out. Alegra's customer search returns phone and email, and that locates the contact in the CRM. A customer with no phone on file cannot be collected over WhatsApp: they get flagged and routed elsewhere instead of failing silently.

  3. 3

    Schedule the message with an approved template

    If the last conversation with that customer is more than 24 hours old, Meta only allows an approved template. That is the only legal path and the one the CRM reminder uses. The task schedules it with the invoice number, the balance and the due date inside the text, and leaves the internal note of what was chased and when.

  4. 4

    Record the payment the moment it lands

    When the customer replies that they paid and sends the receipt, the Met records the payment against the correct invoice or invoices, not against a generic balance, and confirms the receipt number. The list of bank accounts with their balances is there to verify which account the money hit before applying it.

  5. 5

    Flag and escalate whoever does not answer

    After two attempts with no reply, pushing over chat stops working and starts annoying. The Met tags the contact, leaves the history of what was tried and transfers the conversation to the person who owns that account, which is the only correct way for a Met to step out of a conversation.

Before you start

What you need ready

The Met solves none of these for you. If one is missing, the automation stops there.

The limits

What this automation does NOT solve

Better said here than discovered halfway through the rollout.

FAQ

Questions about this automation

The 24 hour window opens and from there the conversation is normal: the Met can send the invoice detail, clear up balances, negotiate a date and record the payment with no format restrictions.

The list is built at the moment the task runs, with the status Alegra holds right then. The possible gap is hours, not days. Even so, the Met's first rule is to verify the invoice before pushing when a customer says they already paid.

Yes. The invoice listing filters by customer and by date range, so the task can be limited to a group, an age bracket or a minimum amount. That is the sensible way to start: a pilot on the oldest receivables before opening it to everyone.

You can do that. Instead of scheduling the send, the task leaves the list assembled with the proposed text per contact and somebody reviews it. You lose automation and gain control; to get started it is usually the right trade.

Keep going

Other automations built on the same tools

Want this automation running on your own data?

We will show it to you with your accounts connected, not with a canned demo.