Home / Work / AI agents

WhatsApp lead agent on the Meta Cloud API

Verifies every message came from Meta, reads it, answers, books, hands complaints to a human and follows up inside the 24 hour rule.

AI agentsn8nMeta WhatsApp Cloud APIHubSpot or GoHighLevelGoogle CalendarSlack

The problem it solves

Leads that arrive on WhatsApp after hours get answered the next morning, by which time a good share have bought from whoever replied first. A bot that answers everything is worse: it books wrong slots, argues with complaints and keeps messaging people who said stop.

What it does

  1. Verifies the X-Hub-Signature-256 on the raw request and answers a forged request with a 401.
  2. Ignores duplicate deliveries by message id and keeps the conversation in memory so the second message is read in context.
  3. An AI step returns intent, language, lead score and a reply. Pricing and greetings get an instant answer.
  4. A booking request gets three real calendar slots and a CRM task with a 15 minute deadline.
  5. A complaint pauses the AI for that chat, alerts the team on Slack and creates a callback task. STOP tags the contact as opted out.
  6. An hourly branch nudges quiet conversations: free text inside 24 hours, an approved template outside it.

How it was tested

  • 14 scripted events: handshake, wrong token, greeting, pricing, booking, Roman Urdu, complaint, message during handoff, duplicate delivery, status update, forged signature, STOP, 30 hour old message, follow up sweep.
  • All 14 passed; 9 WhatsApp sends, 2 refusals, 1 template.

Screens

Workflow canvas: verification, inbound path with intent routing, side branches, hourly follow ups, error handling.
Workflow canvas: verification, inbound path with intent routing, side branches, hourly follow ups, error handling.
Pricing question: signature verified, message classified, CRM updated, reply sent.
Pricing question: signature verified, message classified, CRM updated, reply sent.
Complaint: handed to a human, Slack alert and callback task created, AI paused for that chat.
Complaint: handed to a human, Slack alert and callback task created, AI paused for that chat.
Follow up run: quiet chats nudged, template used outside the 24 hour window, opted out chats skipped.
Follow up run: quiet chats nudged, template used outside the 24 hour window, opted out chats skipped.

Who it is for

Clinics, real estate, home services, trading companies where WhatsApp is where leads land.

See it running on a call → hamza.jamal@finamatik.com

Built and tested on sample data before any live credential is connected. Every system Finamatik ships is adapted to the client's own tools and owned by the client outright.

Financial clarity. Smarter systems. Better decisions.

One clear conversation can change
how you see your entire business.

Bring the numbers, the bottleneck, or the decision you cannot see clearly. We’ll help you define the next practical step.

Book Your Strategy Meeting → Tell Us About Your Business

WhatsApp us