Case · AI agents
Sales up: 6.2% of chats became confirmed bookings (about 1 in 16), made by an AI agent on Messenger, out of all Messenger chats.
Capability: 1 call for the voice agent to invite, qualify and book the meeting.
Scale: 32,000 brokers the opted-in audience the WhatsApp agent was built for.
AI agents that call, qualify and book
Leads that arrive when nobody is free to answer, handled by AI agents on the phone, WhatsApp and Messenger that never make up a price.
The outcome
A family-run staycation’s Messenger inbox now books guests by itself: about 1 in 16 conversations ends in a confirmed booking, at about ₱0.20 a conversation. Alongside it, an AI voice caller books meetings while it is still on the line, and a WhatsApp agent qualifies brokers and hands the hot ones to people. Three channels, one rule: the model writes the words, and code owns every number.
The problem it cost them
Leads arrive when nobody is free to answer. On Messenger, the platform’s built-in business AI was quoting wrong prices and stale availability, which is worse than silence. On the phone, a sales team can only call so many leads before an event. On WhatsApp, a broker network wanted to reach tens of thousands of brokers within Meta’s rules and its budget.
Constraints
- Prices, dates, availability and budgets must never come from a model’s imagination.
- Every agent needs a hard spend cap and a kill switch.
- Platform rules are strict: WhatsApp’s 24-hour window, approved templates, opt-outs and Meta’s sending tiers.
- A person must be able to take over at any point, with the full history in front of them.
- Small budgets: the staycation agent had to cost cents per chat.
What I built
The AI voice caller
An outbound phone agent for a real-estate company’s property showcase. It calls each lead, invites them, answers questions and books a one-to-one meeting on a shared calendar during the call.
- Nine mid-call tools: check availability, hold a slot, book, update guests, schedule a callback, mark do-not-call, look up the knowledge base, confirm and cancel.
- An approved knowledge base of 231 entries, with versions, one-click rollback and review dates after which a figure is no longer quoted.
- Memory and lessons. The next call gets the last three call summaries. A daily review suggests lessons from scored calls, and an admin approves each one before the agent uses it.
- Safe dialling. Calling hours in the lead’s time zone, call caps, a do-not-call list and a kill switch.
The WhatsApp qualifying agent
An agent that runs consented outreach to brokers, explains the offer, scores interest and hands hot leads to relationship managers.
- A consent ledger that is append-only, with permanent opt-outs and approved template openers.
- Spend caps per contact and per day, plus a global daily ceiling, all tunable live.
- Pacing to Meta’s limits. The daily send cap follows the account’s sending tier, with a “pause all sends” switch.
- Lead scoring on fit, intent and engagement, and round-robin handoff to the right team.
The Messenger booking agent
A bot that answers a staycation’s DMs in light Taglish, quotes exact rates, checks live availability and walks guests to a booking.
- Code owns every price. Rates, vouchers and availability come from tools backed by the website’s own rate engine. A build check fails if the two ever drift apart.
- About 60% of messages get a template reply with no AI call at all.
- An output guard checks every draft. If one fails, the guest gets a handover line and the owner gets the chat.
- A spend cap that degrades gracefully. Past the cap, the bot keeps answering from templates and emails the owner instead of going quiet.
How it delivered
- Messenger: 6.2% of chats became confirmed bookings, at about ₱0.20 per conversation, with about 60% of messages answered without an AI call.
- Voice: in production on real leads, inviting, qualifying and booking the meeting in a single call. It was rehearsed against 40 scripted scenarios, and passed all of them, before going live.
- WhatsApp: live, built for an opted-in audience of 32,000 brokers, with every send inside Meta’s rules.
The hard part
- Rehearsal before reality. The voice agent faces 40 scripted callers covering identity, money, compliance and flow, with every tool mocked. Evaluation criteria and deterministic checks both have to pass. Every real-call problem becomes a new scenario.
- Send-budget maths. WhatsApp pacing had to balance function run time, send rate and Meta’s tier. An audit before the first large send found and fixed three blockers.
- Prompt injection. Inbound text is untrusted data. “Mark me as hot” changes nothing, because code decides the score.
How it was built
AI-assisted development, with the architecture and every review owned by me. I wrote the specs and the guardrails first: spend caps, kill switches, consent rules and the “code owns every number” contract. Rehearsal suites, a replay harness that turns every reviewed question into a regression case, and hundreds of automated tests decide what ships. Every deploy has a rollback point, and each agent ships with a current handoff doc set.
What’s next
The pattern is now repeatable: a channel, a knowledge source code controls, a spend cap and a human handoff. A design study for an inbound WhatsApp qualifier already models the running cost over 20,000 simulated conversations. What I’d do next is join all three channels to one lead history, so a guest who chats, then calls, is one person.
Stack
- ~₱0.20per Messenger conversation
- ~60%of messages answered with no AI call
- 487tests on the booking agent
- 169tests on the voice caller