Junior Carlos
← All projects
AI and supportPilot

AI customer service on WhatsApp and Instagram: nobody is left unanswered

By Junior Carlos de MattosUpdated 23/11/20262 min read

Stores that get dozens of ad-driven contacts a day lose sales to slow replies and forgotten follow-ups.

Diagram: the customer's message reaches the AI engine with safety guards; the engine updates the lead record; the record triggers visit, follow-up and repurchase; when needed it hands over to a person.
Figure: the customer's message reaches the AI engine with safety guards; the engine updates the lead record; the record triggers visit, follow-up and repurchase; when needed it hands over to a person.

The problem

A store that gets dozens of ad-driven contacts a day loses sales in two ways: slow replies and no follow-up afterwards. Someone who asked to be called back or said "I can't today" gets forgotten.

The solution

I built a support engine that answers on WhatsApp and Instagram using Claude, with closed tools and safety guards, and hands over to a person when needed:

  • a record for each lead, with sensitive data encrypted;
  • visit scheduling when the customer says they can't come today, and the visit outcome logged by the salesperson with one click;
  • follow-up after the visit, a Google review request and a repurchase reminder at 6 and 12 months;
  • waiting-list campaigns with daily and per-person limits, consent and privacy compliance from the first message;
  • one instance per brand, with separate configuration.

How it works

  1. The customer writes on WhatsApp or Instagram, usually coming from an ad.
  2. The engine replies with AI, using only closed tools, and updates the lead record.
  3. When the customer says they can't come today, the system books the visit; afterwards the salesperson logs the outcome with one click.
  4. Then come the post-visit follow-up, the Google review request and the repurchase reminder at 6 and 12 months. If the case needs a human, it hands over to one.

Where it stands

Pilot live, answering real messages on Meta's test number, with 51 of 51 scenarios passing on the real model. There is no real client yet and no support screen for the salesperson, which is the next step.

Stack: Python (FastAPI), Claude (API), WhatsApp Cloud API, Instagram, SQLite.

What I learned

  • Whatever talks to the customer needs limits. That's why the model only uses closed tools, there are safety guards, and I chose a model through an API rather than a free-roaming agent.
  • Consent and privacy compliance go in the first message, not later. Sensitive data, like the tax ID, is encrypted in the record.
  • Measure before going live: the engine passed 51 of 51 test scenarios with the real model before answering real messages.

Frequently asked questions

Does the AI replace the salesperson?

No. It answers what has an answer, books visits and handles follow-up. When a case needs a person, it hands the conversation over.

Is it already working for a client?

It's still a pilot: it answers real messages on Meta's test number. The support screen for the salesperson is needed before a real client comes on.

Junior Carlos de Mattos

By Junior Carlos de Mattos
I work in marketing and build systems and AI automations. This post describes one of my own projects, in progress. About the author

Want something like this for your business?

Tell me what you need and I'll reply on WhatsApp.

Get in touch