Build your own WhatsApp bot or buy one: costs and risks

A guide for companies and technical teams that run large groups and are considering building their own automation.

developmentcostgroup bot
Reading time: 4 min

How it works in practice

With the homemade bot down after an update, questions go unanswered. With 9bot, welcome messages and commands keep working.

Direct answer: Building your own WhatsApp group bot takes development hours, a server, monitoring and ongoing maintenance, because WhatsApp changes the app often. Buying a service swaps that cost for a subscription and moves maintenance to the vendor. The choice depends on the first-year cost, your team's time and how much control you need over data and features.

In short:

  • Own bot: development, server and ongoing maintenance.
  • Service: subscription, with maintenance handled by the vendor.
  • The calculator compares the first-year cost of both options.

Own bot or service: comparison

Own bot or service: comparison
CriterionOwn botService
Upfront costDevelopment hoursLow; try it before subscribing
Recurring costServer and maintenance hoursSubscription
Maintenance when WhatsApp changesYour teamVendor
Ready featuresOnly what you buildModeration, scheduling, reports and integrations
Control and customizationFullThrough settings, API and workflows
Ban riskDepends on how the bot is builtDepends on the vendor and the usage

Bots built with unofficial libraries can stop working after WhatsApp updates and put the number at risk if used for bulk messaging. See free or paid bot: risks and cost.

Want to automate your WhatsApp groups? Discover 9bot and set up alerts, commands and integrations in minutes. Free trial

Calculator: first-year cost

The cost fields start at 0 for you to fill in with your team's cost and the price of the subscription you are evaluating.

Team hours in year 1…
Own bot cost in year 1…
Subscription cost in year 1…
Result…

Estimate based on the numbers you enter. It does not include the team's opportunity cost or downtime incidents.

When each option makes sense

  • Own bot: when the feature is very specific to your business and the team has time to maintain it.
  • Service: when the needs are moderation, welcome messages, scheduling, reports and common integrations.
  • Both: a service for the group routine and your own integration through the API.

9bot runs on a dedicated server per customer, uses your own number and offers a REST API, an MCP server and workflows to connect systems. It has a single plan, Basic Pro, with a 7-day trial. See the official Groups API.

n8n, Python or Zapier to automate WhatsApp

All three routes use the official API (Business Platform). n8n has an official WhatsApp Business Cloud node to send messages and templates and to upload, download and delete media; anything else goes through the HTTP Request node.

n8n, Python or Zapier to automate WhatsApp
Criterionn8nOwn PythonZapier
WhatsApp integrationOfficial WhatsApp Business Cloud nodeDirect API callsPrebuilt connectors
CodeLittle, visualAll of itNone
HostingSelf hosted or cloudSelf hostedVendor cloud
FlexibilityMedium to highMaximumLow to medium

What each can do in groups depends on the API, covered in the official WhatsApp API for groups.

Stop managing your WhatsApp group manually: set up commands, alerts and automations with 9bot. 50% OFF: Automate my group

FAQ

Is it worth building your own WhatsApp bot?
Yes, when the feature is unique to your business and there is a team to maintain it. For group routines, a service is usually simpler.
How much does it cost to build a WhatsApp bot?
It depends on development hours, server and maintenance. The calculator adds these costs for the first year.
Can a self-built bot get banned?
Yes, if it uses unofficial libraries for bulk messaging or spam-like behavior. The risk depends on how it is used.
Can 9bot connect to my own systems?
Yes, through the REST API, the MCP server and workflows.
Can n8n build a WhatsApp bot?
Yes, for flows on the official API. The WhatsApp Business Cloud node sends messages and templates and manages media; other calls use the HTTP Request node.
Should I use n8n or write Python?
n8n is faster for simple visual flows; Python gives full control but requires maintaining code and a server.
Are WhatsApp bots illegal?
WhatsApp does not ban automation as such: under the WhatsApp Business Messaging Policy, businesses on the official WhatsApp Business Platform may use automation to reply within the 24 hour customer service window, as long as they also offer a clear way to reach a person, such as a human agent, phone, email or support form. What the WhatsApp Terms of Service forbid is bulk messaging, auto messaging and access through unauthorized automated means. The WhatsApp Help Center says it bans accounts and takes legal action against companies linked to that kind of abuse. Whether a specific use also breaks a law depends on the rules of each country.
Can I create my own WhatsApp bot?
Yes. The official route is the WhatsApp Cloud API: according to Meta's developer docs, you register as a Meta developer, create an app with the WhatsApp use case linked to a business portfolio, add a phone number and set up a webhook to receive messages. For groups there is a limit: Meta's Groups API is only open to Official Business Accounts and allows up to 8 participants per group, so it does not cover large community groups. Details in the official WhatsApp Groups API guide.
How much does a WhatsApp bot cost on the official API?
Besides development and hosting, a bot on the official API pays Meta for each delivered message. According to Meta's pricing page, Meta charges only for messages sent by the business to the user, at rates that vary by message category (marketing, utility, authentication or service) and by the country code of the recipient; messages users send to the business are not charged. Rates follow Meta's published rate card, so check the current table for your market before adding this line to the calculator above.
What is the 1000 message limit on WhatsApp?
Two different numbers get mixed up. The messaging limit is how many unique users a business can reach outside a customer service window in a moving 24 hour period: per Meta's docs, new business portfolios start at 250, and the limit can rise to 2,000, 10,000, 100,000 and unlimited. The 1,000 figure is about pricing: since October 1, 2026, Meta does not charge for the first 1,000 service messages per business phone number each month and starts charging at the 1,001st. Both rules apply to the WhatsApp Business Platform, not to the regular app.
How can I send 10,000 messages on WhatsApp?
Only through the WhatsApp Business Platform and only to people who agreed to receive your messages, as the Business Messaging Policy requires. Outside the 24 hour customer service window you can only start conversations with approved message templates, and the messaging limit counts unique users per 24 hours, not messages. To reach 2,000 you verify your business or deliver 2,000 template messages with a high quality rating within 30 days; Meta then raises the limit to 10,000 automatically if quality stays high and you used at least half of the current limit in the last 7 days. Sending that volume from the regular app or an unofficial bot is the bulk messaging the WhatsApp Terms forbid.