How to answer WhatsApp customers with an AI agent
Create an AI agent from a template, teach it your prices and policies, connect your WhatsApp Business number through Meta's official API and test it.
On this page
An AI agent on WhatsApp reads each customer message and answers from what you taught it: your hours, prices, delivery areas, policies. When a conversation needs a person, your team picks it up in the inbox.
This guide uses Ñomongeta and WhatsApp's official Cloud API. It takes four steps: create the agent, teach it, connect the number, test.
Before you start
- A Facebook account with a business portfolio in Meta.
- A phone number that can receive a text or a call with Meta's code: one that isn't on WhatsApp yet, or the number of your WhatsApp Business app, which you can keep using on your phone.
- A payment method in Meta, for the template messages WhatsApp charges for.
- A Ñomongeta workspace. Start one from the Ñomongeta page.
1. Create the agent
- Open Agents and press New agent.
- Choose Template and pick the WhatsApp concierge. It writes short replies like a person texting, answers from your knowledge, and offers a person when it doesn't know.
Prefer to write it yourself? Describe it drafts the agent from a sentence or two. The first agent guide compares the three ways.
2. Teach it your business
- In Configure, say in plain words who the agent is, who it talks to and what it may not do. Hard rules, such as never promising a refund, go in Guardrails.
- In Knowledge, press Add document and paste your FAQ, price list or policies, or upload a file (.txt, .md, .csv, .json, .pdf or .docx).
- Press Save changes. Each save is a version you can go back to.
How the agent finds the right document is in Knowledge base.
3. Connect your WhatsApp number
- Go to Channels → Add channel → WhatsApp Business (Cloud API).
- Under Which number?, choose A number for the API, or My WhatsApp Business app number to keep the number in the Business app too.
- Pick your agent under Answers with.
- Press Continue with Facebook. In Meta's window, choose your business portfolio and your number; Meta sends it a code.
- Back in Ñomongeta, confirm an API number with its 6-digit PIN and press Register number. A number kept in the Business app skips this step.
When the number shows Live, the agent is answering.
4. Test it
Before you tell customers, write to the number from another phone and ask what they would ask. You can also talk to the agent in the playground beside its tabs (Test on a phone). Adjust the instructions, save, try again.
When a person should answer
Anyone on your team can open the conversation in the inbox and press Take over; the agent stays quiet until they press Return to bot. The WhatsApp concierge can also hand over by itself: when it can't help, or the customer asks for a person, it can move the conversation to your team's queue. Agents made another way get the same from the handoff tool in Skills & tools, or from a Hand to a person step in a flow. See Conversations and inbox.
Related
Still stuck?
Ask us. We read every message.