Guides

How do you create an AI agent for WhatsApp?

To create an AI agent for WhatsApp: pick a process, register your number on Meta's WhatsApp Business Platform, define what it can answer and do, give it your information, connect it to your systems, get templates approved, test with real cases and keep a person for exceptions. At HapWork we do it with you from 750 USD per month.

  • Updated:
  • By Daniel Felipe Zamora Acevedo, CEO of HapWork
  • 8 min read
How to create an AI agent for WhatsApp: HapWork.

Short answer

To create an AI agent for WhatsApp: pick a process, register your number on Meta's WhatsApp Business Platform, define what it can answer and do, give it your information, connect it to your systems, get templates approved, test with real cases and keep a person for exceptions. At HapWork we do it with you from 750 USD per month.

Steps
8: process, number, rules, information, systems, templates, testing and measurement.
Channel
WhatsApp Business Platform (Meta's API).
Key rule
Outside 24 hours, only approved templates and with opt-in.
Price
The market salary of the equivalent role, without payroll taxes or benefits, from 750 USD per month.
First month
Free. Billing starts on day 30, with no setup fee.

More questions? What is an AI employee.

Steps to create an AI agent for WhatsApp

  1. Pick a process. Start with what floods your WhatsApp today: frequent questions, order status, appointments, quotes or collections.
  2. Connect the number to the WhatsApp Business Platform. You need a Meta Business portfolio and a number registered on the platform (WhatsApp API), directly or through a provider.
  3. Define what it can answer and do. Write the rules: what information it can share, what actions it can take and which cases always go to a person.
  4. Give it your information. Catalog, prices, policies, hours and approved answers; without them the agent makes things up or falls short.
  5. Connect it to your systems. CRM, ERP, inventory, scheduling or Excel, so it looks up real data and logs what it did.
  6. Get templates approved to message first. Outside the 24-hour window you can only start a conversation with Meta-approved templates and the customer's opt-in.
  7. Test with real cases and define escalation. Review real conversations, adjust the rules and decide who handles what the agent escalates.
  8. Measure and adjust. Each week review escalated conversations, errors and what was resolved without intervention.

What do you need before you start?

  • A Meta Business portfolio and a number you can register on the WhatsApp Business Platform. If you already use that number in the app, check with Meta or your provider the options to use it on the platform.
  • A business profile with real contact details, as WhatsApp policy requires.
  • Your process rules in writing and a person responsible for exceptions.
  • Access to the systems the agent must look up or update.

How do you build a WhatsApp chatbot?

There are three levels, from least to most capable:

  1. With the WhatsApp Business app: turn on the greeting message, the away message and quick replies under Tools. It is free and covers the basics.
  2. A menu or flow bot: with a chatbot tool connected to the WhatsApp Business Platform, you build options and buttons for the most repeated questions.
  3. An AI chatbot or agent: follow the steps above: it understands free text, looks up your systems and escalates to a person.

If the bot must take orders and save them to Excel or your ERP, it is no longer just a chatbot: you need an agent connected to that system.

Can you build one for free or with ChatGPT, Claude, Gemini or n8n?

You can try for free with the WhatsApp Business app and build a prototype by connecting the WhatsApp API to an AI model with automation tools such as n8n or Make. To run it with real customers, count Meta's messages, model usage, hosting, care with the access you grant and, above all, the time of someone who maintains it and reviews conversations.

Build it yourself, use a platform or add a Happy?

OptionWho builds and runs itWhen it fits
Build it yourself (API + model + automations)Your technical teamYou have someone to maintain it and the process is simple
Chatbot or agent platformYour team, with the provider's toolYou want control and have time to configure it
Custom projectA provider delivers it; then you maintain itYou need something very specific and have a technical team
HapWork HappyHapWork designs, builds and runs it on your processYou want a complete role on WhatsApp without building a technical team

WhatsApp rules you cannot skip

  • You may only message people who gave you their number and their opt-in to receive your messages.
  • To start a conversation you need a Meta-approved template.
  • You can reply freely within the 24-hour window that each customer message opens.
  • You must respect requests to stop receiving messages.

More in AI agent for WhatsApp and WhatsApp Business API.

How much does it cost to create one?

It depends on the tool or build, Meta's messages and integrations; the detail is in how much a WhatsApp chatbot costs. With HapWork, a Happy on WhatsApp costs from 750 USD per month, first month free and no setup fee.

Sources

Documentation and public websites checked on Nov 26, 2026:

Frequently asked questions

How do you create an AI agent for WhatsApp?

Pick a process, register your number on Meta's WhatsApp Business Platform, define rules, give it your information, connect it to your systems, get templates approved, test with real cases and keep a person for exceptions.

How do you build a WhatsApp chatbot?

The basics are free in the WhatsApp Business app (greeting, away messages and quick replies). For flows or AI, you connect a tool to the WhatsApp Business Platform.

Do I need the WhatsApp Business API?

To automate full conversations and connect systems, yes: you use Meta's WhatsApp Business Platform, directly or through a provider.

Can I create an AI agent for WhatsApp for free?

You can try for free with the WhatsApp Business app or a prototype. In real operation there are Meta messages, model usage and maintenance.

Does HapWork build the agent for me?

Yes. HapWork designs, builds and runs a Happy on your process, from 750 USD per month, with the first month free.