Custom WhatsApp AI chatbot development
AI agents on WhatsApp that are connected to your actual business systems, not limited to pre-written replies. They look up orders, book appointments and capture leads from live data, follow your policies, and pass the conversation to your team when a person is needed.
What is a custom WhatsApp AI agent?
A custom WhatsApp AI agent is a conversational system that connects WhatsApp Business to your existing software, so customers can check orders, book appointments, ask for support and complete other actions in plain language. Unlike a menu-based chatbot, it works from live business data, enforces your policies in code, and hands complex conversations to your staff.
Most WhatsApp chatbots are decision trees: press 1 for order status, press 2 for returns. Customers type what they want instead, often in Hinglish, and the bot breaks. A custom agent reads the message, works out what the customer needs, calls the right tool against your system, and replies with a real answer.
What a WhatsApp agent can handle
Order support
Order status, courier tracking, returns, exchanges and cancellations from live Shopify (or other store) data.
- Finds orders by the customer's WhatsApp number
- Follows your return window and exchange rules
- Logs every action on the order
Bookings
Appointments for clinics, salons and service businesses, straight into your calendar.
- Offers real free slots
- Reads the booking back before confirming
- Moves and cancels on request
Lead capture
Answers product and service questions, qualifies the enquiry and puts it in your CRM or sheet.
- Asks your qualifying questions
- Sends hot leads to your team at once
- Follows up on schedule
Human handoff
When a conversation needs a person, your team gets it with a summary.
- Staff reply from Telegram on their phone
- One command hands the chat back to the agent
- Angry customers and payments always go to a person
Any language your customers use
English, Hindi and Hinglish, in the same conversation.
- Replies in the customer's language
- Understands typos and mixed scripts
Other channels
The same agent and tools can serve Telegram or a chat widget on your website.
- One set of business rules
- One conversation log
See it working
I built a WhatsApp support agent for a demo D2C apparel store on Shopify. It finds orders by the customer's WhatsApp number, shares tracking, handles returns and exchanges within a 7-day window, and hands off to staff over Telegram. In 31 scripted test conversations it gave no wrong answers.
Watch the demo and read how it's built.
Why not an off-the-shelf WhatsApp chatbot?
| Template chatbot tools | Custom AI agent | |
|---|---|---|
| Conversation | Menus and keyword triggers | Understands free text, including Hinglish |
| Data | Static answers or a basic integration | Live reads and writes to your store, calendar or CRM |
| Business rules | Written into prompts or flows | Enforced in code the model can't bypass |
| Handoff | Usually a shared inbox | Summary to your team on Telegram or your helpdesk |
| Ownership | Rented per seat or per message | Runs on your accounts; you own the code |
Template tools are fine for broadcasts and simple FAQs. A custom agent is worth it when customers ask about their own orders or bookings and the answer has to be right.
How it's built
- WhatsApp Cloud API (Meta's official WhatsApp Business Platform), on your own business account and number.
- An orchestration layer in n8n or code that runs the agent, its tools and the conversation log.
- Tools for each action, such as
lookup_orderorbook_slot, that check permissions and policy before anything happens. - Postgres for conversation history, so you can see what the agent resolved and where it handed over.
- Any major model provider, chosen for cost and quality on your conversations.
Customer data stays in your systems. The agent only shares an order with the number that placed it, and never invents a status or promises a refund your policy doesn't allow.
Delivery process
Discovery call
Free, 30 minutes. We look at where your team's time goes and pick the automation with the clearest payoff.
Scoped proposal
A fixed scope, a fixed price and the success measure we'll hold the build to, within a few days.
Build and test
Built on your real systems, with weekly demos, and tested against scripted conversations before customers see it.
Launch and improve
Live with logging and human handoff in place, then tuned on what customers actually ask.
What affects the cost
I don't sell fixed packages, because the work depends on your systems. The main factors are how many systems the agent connects to, how many actions it can take (answering questions is simpler than processing returns), your conversation volume, and whether you also want voice. Running costs are WhatsApp conversation fees from Meta, model usage and hosting, all billed to your own accounts. More on project costs.
Frequently asked questions
Do I need the WhatsApp Business API?
Yes. Automated agents run on the WhatsApp Business Platform (Cloud API), not the WhatsApp Business phone app. I help you set it up on your own Meta business account and number, and the number can still be used for broadcasts.
Can the agent connect to Shopify?
Yes. The demo agent reads orders, fulfilments and tracking from Shopify and logs returns and exchanges on the order. Other stores, CRMs and databases with an API work the same way.
Can a WhatsApp AI chatbot transfer conversations to a person?
Yes. When the agent hits something outside its job, it notifies your team (for example on Telegram) with a summary. Staff reply from their phone, and hand control back to the agent when the issue is resolved.
Will the chatbot make things up?
It only states what your systems return. Policies such as return windows are enforced inside the tools, and every agent is tested against scripted conversations, including attempts to trick it, before launch.
Can it reply in Hindi and Hinglish?
Yes. Agents reply in the language the customer writes in, including English, Hindi and Hinglish in the same conversation.
Do you build Telegram bots too?
Yes. The same agent and tools can run on Telegram, web chat or other messaging channels, and Telegram is often used for the staff side of human handoff.
How long does it take?
A focused first agent, such as order support, usually goes live in a few weeks from kickoff, including testing on real conversations.
Related
WhatsApp Shopify support agent
Order status, returns and exchanges on WhatsApp from live Shopify data, with Telegram handoff.
Read more Voice agentsAI voice agents and receptionists
Phone and browser voice agents that answer calls, look things up and take action while the caller waits.
Read more GuideProject costs and ROI
What drives the cost of a custom AI project, the running costs, and an ROI estimator.
Read moreTell me what you'd like to automate.
Book a free 30-minute call. We'll look at where your team's time goes, and I'll tell you honestly whether AI is the right fit.