AI Customer Support Agent for Web Form, Gmail & WhatsApp
An AI "digital employee" that answers customer support questions across a web form, Gmail and WhatsApp, and hands off to a human team when it should. Load-tested with 200+ messages and no lost messages.
I built an AI customer support agent as a demo for a fictional SaaS company called Flowmint. Customers can write through a web form, Gmail or WhatsApp. The agent finds the answer in a knowledge base, replies on the same channel, and passes the conversation to a human team (Billing, Sales, Support) for refunds, special pricing, or when a customer asks for a person.
One agent for three channels, with replies formatted for each (a clean HTML email, a short WhatsApp message, a private web tracking page)
Safety rules written in code: it can only quote approved prices, and refunds always go to a human
Remembers returning customers on email and WhatsApp
Private ticket tracking page with a secret tracking code
If the AI service is busy, it switches to backup AI models, and to a knowledge-base answer if all are limited
I load-tested the agent for 24 hours with 200+ messages across all three channels, using simulated customers plus real emails and WhatsApp messages I sent myself.
212 messages in, 212 replies out, none lost
Only 3.3% needed a human
In a separate Kubernetes test, I stopped the worker three times while messages kept arriving, and every message was still answered exactly once
Areas I'm improving: faster replies with a paid AI plan, and spam protection for the web form.
Tech stack:
Python, FastAPI, OpenAI Agents SDK, Kafka, PostgreSQL, Next.js, Docker, Kubernetes, Gmail API, WhatsApp Cloud API.