Your choice depends on whether it only needs to answer questions or also check your calendar, record an order, or send a lead's details to your CRM.
For greetings and away messages, turn on automated messages in the WhatsApp Business app. To check your calendar or CRM during a conversation, you'll need Meta's API and connections to those systems. You can guide customers through a conversation with buttons or use an AI model to interpret what they write. Below, you'll find what's free, what Meta charges, and how to build a WhatsApp AI chatbot in n8n.
Can I integrate a chatbot with WhatsApp?
Yes. Chatbot integration with WhatsApp uses Meta's API to receive and send messages. WhatsApp Business is the free app you use on your phone or computer to talk to customers from your business number. It supports fixed replies. To send auto-replies that interpret messages, a WhatsApp chat bot needs the WhatsApp Business Platform, Meta's API.
For years, you had to choose between using a number in the app or through the API. Eligible accounts can now connect an existing app number to the API through Embedded Signup, a setup known as coexistence. If you want to keep your number and continue replying from your phone, check that your provider supports coexistence for your account.
To set up the API, you need a Meta business portfolio and an app in Meta's developer dashboard. Before launch, you'll also need to complete verification and any required app review. Chatbot platforms handle much of this setup for you; with n8n or custom code, you do it yourself. You can start this tutorial with Meta's test number. Meta setup, coexistence.
When you add a chatbot to WhatsApp through the API, you connect it to your business number, and the software that answers runs on a server. Start by deciding whether you need those connections or the app's built-in replies will do.
Four ways to set up a WhatsApp chatbot
| Option | What it does | What you pay for | When it fits |
|---|---|---|---|
| Automated replies in WhatsApp Business | Greeting and away messages, plus quick replies you send using a shortcut | No charge for these built-in features | You receive a small number of messages and give the same answers repeatedly |
| WhatsApp chatbot platform | A flow builder for button-based conversations, a shared team inbox, and, depending on the plan, AI replies | Platform subscription and Meta messaging fees | You want to avoid coding and the platform's workflow suits your business |
| n8n with Meta's API | Your own workflow with an AI agent that checks your systems and decides when to notify a person | n8n Cloud or hosting for the free self-hosted Community Edition, the AI model, and Meta messaging fees | The chatbot needs access to your calendar, CRM, or ERP, and you want control over each step |
| Custom code | Whatever you build, usually in Python | Hosting, model usage, and Meta messaging fees | You have a developer and need the chatbot built into your software |
To decide what the best WhatsApp chatbot tools are for your business, check which systems you need to connect and who will maintain the workflow. A no-code WhatsApp chatbot builder can be the best option for a button-based flow, while n8n gives you control over the connections to your software.
You may already have what you need. If customers message you at night and get no reply, the app's free away message can answer them. Open Business tools, turn on the away message, and choose when it should go out. Set up the greeting there too. During business hours, you can send a saved quick reply when someone asks about your hours. These features send fixed text; they don't interpret questions. WhatsApp app features.
Meta Business Agent uses your business information to answer questions with AI and can be a simpler way to get started. It's available to eligible businesses in selected markets, so check whether your account has access. Also check which product you're enabling: the API's Meta Business Agent category has separate usage charges, while app offers and subscriptions have their own terms. The best WhatsApp AI chatbot for your business will depend on the connections and control you need. Meta Business Agent, API pricing.
For an open-source WhatsApp chatbot builder, you can start with a project on GitHub or write your own in Python. Before connecting your business number, check that it uses Meta's official API. To reduce the risk of having your WhatsApp bot account banned, check how it connects and avoid unofficial tools that automate WhatsApp Web. Those tools can lead to account restrictions under WhatsApp's rules. Messaging policy.
Can you get a WhatsApp chatbot for free?
WhatsApp Business includes greetings, away messages, and quick replies at no charge. If you receive few inquiries and fixed replies cover them, these features may be all you need for a free chatbot for WhatsApp Business. They won't interpret what customers write.
WhatsApp chatbot pricing changes when you use the API. Meta charges for delivered messages based on their category and the recipient's market. Its developer documentation lists these rules, effective October 1, 2026, and checked November 26, 2026:
- Meta doesn't charge for messages customers send to your business.
- Service replies within 24 hours of the customer's latest message are free for the first 1,000 delivered service messages per business number each month. Meta charges after that allowance.
- Templates are approved message formats for promotions, reminders, or verification codes. Meta charges for them by category and recipient market.
- A customer arriving through a qualifying click-to-WhatsApp ad can open a free entry point window. Meta doesn't charge for marketing, utility, authentication, or service messages while that window is open.
- Meta Business Agent messages have their own usage charge, including inside that free entry point window.
Use Meta's current USD rate card for US recipients when budgeting; sending to another country can mean a different rate. Meta's current pricing rules and rate cards.
You'll also need to budget for the AI model and software. You can use n8n's Community Edition as a free WhatsApp chatbot builder on your own server, but hosting the bot still costs money. Many platforms advertise free WhatsApp chatbots with limits on contacts or monthly conversations, so check the plan before choosing one. A free plan can help you test the idea with customers; for daily use, allow for messaging fees, model usage, and someone's time to maintain it. n8n plans.
For an AI chat bot on WhatsApp, free software still leaves you with the cost of running the model. To estimate your first month in dollars, count delivered messages by category, then add model usage, hosting, and maintenance time.
How to build a WhatsApp chatbot with AI in n8n
In this WhatsApp chatbot example, a small business gets questions about services, hours, and prices. The chatbot looks up the answers in the business's service spreadsheet. When someone requests a quote, it collects the details and notifies the person who prepares it.
- WhatsApp messageCustomer text or voice message
- Is the team handling it?If the number is in the spreadsheet, route it to a person
- Agent with memoryBusiness information, Notify sales and Hand off to a person
- WhatsApp replyBack to the original sender
The steps below show how to create a WhatsApp AI chatbot for your business without writing code. You'll create your WhatsApp bot by connecting nodes, the boxes in an n8n workflow, using Meta's official API and an AI model. With n8n as your no-code WhatsApp AI chatbot builder, you choose how messages reach the agent and which tools it can use.
Before you start, you'll need:
- n8n Cloud or an n8n installation on your company's server.
- A Meta developer account and your company's business portfolio.
- A phone number for the chatbot: a new one, or your existing WhatsApp Business app number if eligible for coexistence.
- An API key for your chosen AI model and, if you want to handle voice messages, access to a transcription service.
- A spreadsheet with the information the chatbot can share: services, estimated prices in USD, hours, and service areas.
Step 1. Create your WhatsApp app in Meta
To create your chatbot in WhatsApp Business, open Meta's developer dashboard and create an app with the WhatsApp use case. Select your company's business portfolio, then create or connect the WhatsApp Business account. In API Setup, select the sending number. The temporary test token expires, so for ongoing use with n8n, generate a system-user access token with the necessary permissions and an appropriate lifetime. Meta's getting-started guide.
Step 2. Connect n8n to WhatsApp
The bot's integration with WhatsApp needs two credentials in n8n. WhatsApp Trigger uses your Meta app's client ID and client secret. To send messages, the WhatsApp Business Cloud node uses the access token from step 1 and your WhatsApp Business Account ID. n8n credentials.
Step 3. Receive incoming messages
Create a workflow, add WhatsApp Trigger as the first node, and set it to listen for message events. WhatsApp supports one webhook URL per app, so switching between test and production replaces the previous URL. Also, activating the workflow doesn't automatically subscribe the app to your WhatsApp Business account. Check that subscription in Meta.
Send a text from your test phone and open the workflow execution in n8n. Check that it includes both the message and the sender before connecting it to the agent. Repeat the test when you switch to the production URL. WhatsApp Trigger.
Step 4. Add the agent and its memory
Add AI Agent after the trigger and connect your chosen model. Pass the incoming text to the agent, but keep the sender's number elsewhere in the workflow, outside the text the model reads. You'll need that number to retrieve the conversation and send the response.
Then add Simple Memory. Under Session ID, select Define below and use the sender's number as the Key. The chatbot can then retain earlier messages, so it doesn't have to ask for the same name again. Alternate messages from two test numbers to check that their conversations stay separate. Simple Memory.
Step 5. Write the instructions
Under Options, click Add Option and select System Message. Describe the job as you would to someone joining the team:
You handle WhatsApp inquiries for [company]. Reply in US English,
using short messages that sound like someone on the team.
1. Answer questions about services, hours and prices using only
the Business information tool. If the answer isn't there,
say you'll check with the team.
2. When someone wants a quote, ask one question at a time:
what they need, when they need it, where, and a contact name.
3. Once you have those details, confirm the summary with the
customer and use the Notify sales tool.
4. For a complaint, a large order, an urgent request, anything
you can't resolve, or a request to speak to the team, use
Hand off to a person. Tell the customer that a team member
will help them in this same chat.
5. Introduce yourself in your first message: "I'm [company]'s
AI assistant. I can help with hours and pricing or connect
you with the team."Step 6. Give it information and a way to notify the team
Give the agent three tools, each with a description it can use to decide when to call that tool.
Start with Google Sheets. Choose the operation for getting rows and point it to your information spreadsheet. Name it Business information, set Tool Description to Set Manually, and enter "Services, estimated prices, hours, and service areas."
Next, add a node that sends the quote summary to the person responsible by email or Slack, or creates a lead in your CRM. Name it Notify sales. Use the sparkle button on the subject and message fields to let the agent fill them from the summary.
Finally, add Hand off to a person, a separate workflow called through Call n8n Workflow Tool. This workflow records the customer's number in a spreadsheet of conversations the team is handling and sends the person responsible a summary.
Now return to the beginning of the workflow and add a check immediately after the trigger. Use Google Sheets to look up the sender's number in the handoff spreadsheet. Turn on Always Output Data in the node settings so the workflow continues when there's no match. If the number is listed, route the message to the team and bypass the agent. Once a team member finishes the conversation, remove the number so the chatbot can handle the next inquiry. Customers then have a way to reach a person, as Meta requires for automated replies. Meta's messaging policy.
Step 7. Reply to the customer
After the agent, add WhatsApp Business Cloud and select Send, changing the operation if it defaults to Send Template. Send the agent's response to the original sender. Within 24 hours of the customer's latest message, you can reply with free-form text; after that, use a Meta-approved template. Whether you're allowed to send free-form text is separate from whether Meta charges for it. n8n WhatsApp node, Meta's messaging policy.
Step 8. Handle voice messages too
If your customers send voice messages, a text-only workflow will leave those inquiries unanswered. Add a branch for audio and retrieve the audio URL with the WhatsApp node's Download operation under Media. Then use HTTP Request to download the file from that URL. Authenticate with the same WhatsApp credential and choose a file response. Send the file through a transcription node, such as OpenAI's Transcribe a Recording operation, and pass the text to the agent as you would a written message. Audio transcription in n8n.
Step 9. Test it and go live
To check how customers will use your WhatsApp AI chatbot, try Meta's test number with examples based on messages your business usually receives. Replace names, phone numbers, and orders with fictional data. Include a pricing question, a vague request, a complaint, someone asking to speak to a person, and a message at 11 p.m. Record a test voice message too.
For each test, check the reply and what the chatbot remembered. Did it ask for missing details and hand the conversation to the team when needed? Once the results match your expectations, complete Meta's applicable verification requirements, switch to your final number, and activate the workflow. Review a sample of conversations every day at first.
How to build a WhatsApp AI agent that does more than answer
The WhatsApp AI bot you've just built already makes a few decisions: what to answer, when to ask for more information, and when to notify someone. With different tools, it could also check your calendar and book an appointment, create a CRM lead from the conversation, or look up an order in your ERP. It could send a reminder the next day if the customer hasn't replied, provided you have the appropriate opt-in and use a template when outside the service window.
When we design a WhatsApp agent, we connect it to the software the company already uses, so there's no need to change CRMs. We also set it up to collect the details the team needs in the order a person would ask for them. Unusual situations, such as an angry customer or an exceptionally large order, go to a person who has access to the conversation.
Meta's rules distinguish general-purpose AI assistants from businesses using AI to support their own customers. According to its developer documentation, since January 15, 2026, general-purpose AI providers have been allowed only where Meta is legally required to permit them. An assistant that answers questions about your services is a different use case. Keep it focused on your business and give it access only to the systems it needs to help the customer. Meta's AI provider policy.
Meta's rules and customer privacy
Before the chatbot talks to customers, review messaging permissions, AI disclosure, and data handling:
- A customer message opens a 24-hour window for free-form replies. To send later messages, such as promotions or reminders, Meta requires opt-in and approved templates where applicable. Honor requests to stop receiving messages.
- Use the AI introduction in step 5 so people know who they're talking to and how to reach your team. This is a design recommendation; check any disclosure requirements that apply in your state and industry.
- Names, phone numbers, and conversation details pass through several services. Choose business terms that define each provider's role, collect only what the task needs, and review applicable privacy notices and rights. If your business is covered by California's CCPA, provide the required notice at or before collection. If you're a HIPAA-covered entity and a provider handles protected health information on your behalf, assess whether a business associate agreement and other safeguards are required before connecting that data.
Meta's messaging policy, California DOJ on the CCPA, HHS on business associates. CCPA and HIPAA requirements depend on whether your business and the data it handles fall within their scope.
When it makes sense to have someone build your WhatsApp chatbot
Building it yourself can make sense if the chatbot answers questions and notifies someone, message volume is manageable, and you have time to review it. Consider bringing in help if it needs to book appointments, write to your CRM or ERP, handle many customers at once, or process information that requires a model hosted on your own server.
At DelegIA, we build WhatsApp AI agents that connect your business number to the calendar or CRM you already use. Before turning the agent on, we agree on which questions it will answer, when it will hand the conversation to your team, and which model it will use for each task. We then test it with sample conversations. The workflow, accounts, and instructions belong to your company, and the model receives only what it needs for each response.
On a free initial call, we can review the messages you receive and discuss which WhatsApp inquiries an agent could handle.
Sources
- Meta, WhatsApp Business Platform pricing developers.facebook.com. Consulted November 26, 2026.
- Meta, Cloud API getting started developers.facebook.com. Consulted November 26, 2026.
- Meta, coexistence and Embedded Signup developers.facebook.com. Consulted November 26, 2026.
- WhatsApp Business Messaging Policy whatsappbusiness.com. Consulted November 26, 2026.
- WhatsApp Business app features whatsappbusiness.com. Consulted November 26, 2026.
- Meta Business Agent whatsappbusiness.com. Consulted November 26, 2026.
- Meta, rules for AI providers developers.facebook.com. Consulted November 26, 2026.
- n8n, WhatsApp Trigger docs.n8n.io. Consulted November 26, 2026.
- n8n, WhatsApp Business Cloud docs.n8n.io. Consulted November 26, 2026.
- n8n, WhatsApp credentials docs.n8n.io. Consulted November 26, 2026.
- n8n, Simple Memory docs.n8n.io. Consulted November 26, 2026.
- n8n, plans and Community Edition n8n.io. Consulted November 26, 2026.
- California DOJ, CCPA www.oag.ca.gov. Consulted November 26, 2026.
- n8n, audio transcription docs.n8n.io. Consulted November 26, 2026.
- HHS, HIPAA business associates www.hhs.gov. Consulted November 26, 2026.


AI agent vs chatbot: how assistants fit in
How to build an AI agent for your business
What is n8n, and what can it automate in an agency?