AI WhatsApp Agent for Appointment-Based Businesses
A WhatsApp assistant that answers customers in Arabic and English, books visits and hands urgent chats to a person. It answers only from the business’s own information, and the team sees and controls everything from one console.
- Arabic + Englishpicked from each message
- 3–7 sreply time on a real WhatsApp number
- 169automated checks passing
- OfficialWhatsApp Cloud API (Meta)
What Needed Solving
Customers message on WhatsApp in Arabic and English, at any hour. The same questions about prices, hours and free times come in again and again, and urgent chats wait behind routine ones.
Needed: an AI agent that answers FAQs in both languages, takes booking requests and alerts the team, hands chats to a person when needed, and stays on-topic and on-brand.
How We Solved the Hard Parts
Two languages in one chat
The agent picks the language from each message and switches when the customer switches. Search understands Arabic spelling variants.
Never guess an answer
It answers only from the business’s own FAQs, price lists and files. Questions it can’t answer go to an “Unanswered” list for the team.
Urgent chats can’t wait
Safety rules run before the AI: pain, complaints or “a real person” go straight to staff with a red alert, and the AI pauses.
WhatsApp’s 24-hour rule
Confirmations and reminders outside the 24-hour window go out as Meta-approved templates, submitted from the console.
Voice notes
Voice notes are turned into text, understood and answered like any other message.
Cost and reliability
Daily and monthly AI spend caps, Meta’s signature checked on every message, and tested under 144 parallel requests.
From a Customer’s Message to the Team
- 1
Customer writes
On WhatsApp or the website chat: text, buttons or a voice note, in Arabic or English.
- 2
Message arrives
Meta sends it to our server. We check Meta’s signature and answer within a second.
- 3
Safety rules first
Pain, emergencies, complaints or “a real person” go straight to the team, before any AI.
- 4
AI agent decides
It searches the knowledge base, checks free times, books, or hands over. It never guesses.
- 5
Reply and team update
The answer goes back on WhatsApp. The console updates live and staff alerts fire.
- AnswerFrom FAQs, price lists, PDF, Word, Excel or web pages the team added.
- Booking requestReal free times, name taken, request to the front desk, reminder before the visit.
- Hand overA person replies from the inbox on the same number, then hands back to the AI.
What the Customer and the Team See
Click any screen to see it larger.
-
1The customer asks in Arabic. The AI answers in seconds from the clinic’s own price list, and the team sees the new chat live.
-
2Booking in a few messages: real free times, the customer’s name, and the request goes to the front desk with an instant alert.
-
3Staff confirm with one click. The customer is told straight away, in their language.
-
4Urgent? A person takes over. Pain, complaints or “I want to talk to someone” go to the team with a red alert.
-
5Staff reply from the team inbox: same chat, same WhatsApp number, and back to the AI when done.
-
6A reminder before the visit, sent automatically.
-
7The team controls what the AI knows: FAQs, price lists, PDF, Word, Excel and web pages, in Arabic and English.
-
8WhatsApp message templates approved by Meta, for reminders and confirmations any time.
-
9Live monitor and analytics: WhatsApp and AI health, every event, costs, and unanswered questions.
Everything in the Current Version
For customers
- Replies in Arabic or English, matching each message
- Answers prices, hours, branches, insurance and payment
- Books visits with real free times
- Voice notes understood and answered
- A person whenever it matters
- Booking confirmations and reminders on WhatsApp
- Same agent in the website chat
For the team
- Live team inbox: take over, reply, hand back
- Booking board: confirm, suggest a time, decline
- Bell, pop-ups, sound and desktop alerts
- WhatsApp alerts to staff phones
- Start chats with approved templates
- Owner and front-desk roles
- Works on phones
AI and knowledge
- Searches again in other words or the other language
- Never guesses: unknown questions go to an “Unanswered” list
- Knowledge from FAQs, PDF, Word, Excel, CSV, text and web pages
- Meaning-based plus keyword search
- Brand voice, tone, allowed and blocked topics
- Works without AI too (answers from the FAQ)
Safety and control
- Safety rules before the AI
- Off-topic requests politely refused
- Daily and monthly AI spend caps
- Meta’s 24-hour rule handled with templates
- Media and voice-note rules the business can switch
Reliability and security
- Meta signature checked on every webhook
- Error log with plain-language fixes
- Each client is a separate sandbox
- Admin console on its own private link
- Keys never shown or logged
Business setup
- White-label: name, colors and logo
- Services, prices, branches, hours and free times
- Templates submitted to Meta from the console
- Reminder timing (2–48 h) and staff phones
- Analytics: chats, languages, bookings, handovers, costs
Tools We Used and Why
| Part | Tool | Why |
|---|---|---|
| Meta WhatsApp Cloud API (official) | Direct from Meta, no reseller in between; business-purpose bots are allowed under Meta’s 2026 rules. | |
| AI | OpenAI with tool calling (any model can be switched in) | Strong Arabic and English; it calls “search”, “check times”, “book” and “hand over” as actions instead of guessing. |
| Knowledge | Own RAG: embeddings plus keyword search, Arabic normalization | Answers only from the business’s approved information. |
| Voice notes | OpenAI speech-to-text | Voice notes are very common on WhatsApp in the Gulf. |
| Backend | PHP 8.3 and SQLite | Small, fast and cheap to run; moves to the client’s own server if they prefer. |
| Console | Plain HTML, CSS and JavaScript | Loads fast on a phone; no app to install. |
The clinic, names and chats on these screens are examples, not a real customer.
Related service: Conversational AI development services
Want a System Like This for Your Business?
Tell us what you want built. We reply with a short plan for your build.
- Email us[email protected]
- Call us+1 (307) 888-9667
- US-registered LLCYou own the code we build