


2026-03-31
by Uri Walevski
Try Mentat, a personal AI assistant on WhatsApp with its own computer, browser, and phone.
Try itThere are two ways to get a bot on WhatsApp. The official way through Meta's Business API, and the unofficial way through WhatsApp Web automation. Both work. Both have real tradeoffs. Picking the wrong one for your use case will cost you weeks.
Meta offers the WhatsApp Business API. It's designed for businesses to send and receive messages through an approved, hosted channel, with messages flowing through Meta's infrastructure.
Setting this up by hand used to be painful: creating a Meta Developer app, configuring a business portfolio, generating a permanent System User token, and wiring webhooks. Because prompt2bot is an official Meta Tech Provider, that part is now a 1-click flow that takes about a minute. You log in with Facebook inside Meta's popup, pick a fresh number (or keep using your existing WhatsApp Business mobile app on the same number via Coexistence), and prompt2bot configures the webhook, Cloud API registration, calling, and default template automatically.
We have a step-by-step guide that covers both the 1-click setup and what you need to start from scratch (no Facebook Business Page or company verification documents required to begin).
Once it's working, it's solid. Meta's infrastructure is reliable. Your bot won't get disconnected randomly. There's no session to keep alive, no browser to babysit. The connection is persistent and stable. You're also much less likely to get your number banned, since you're operating within Meta's official channel. Replying to incoming customer messages within Meta's 24-hour customer service window is also free.
The limitations are real though. The Business API doesn't support group chats. Your bot can only have 1-on-1 conversations. It also can't initiate contact with users who haven't messaged it first (outside of pre-approved message templates). So if your use case involves participating in a group or cold-messaging someone, the official API simply won't work.
The alternative is automating WhatsApp Web. This is how regular WhatsApp works on your desktop browser, except instead of you clicking around, a bot is reading and sending messages programmatically.
There are open source libraries for this. Baileys, whatsapp-web.js, wppconnect. They reverse-engineer the WhatsApp Web protocol and give you a programmatic interface. You pair a phone number the same way you'd link a new device, and the library handles the rest.
The upside is full access. Groups work. Initiating conversations works. Everything a normal WhatsApp user can do, the bot can do. There's no approval process, no message templates, no waiting for Meta to green-light your business.
The downside is stability. WhatsApp Web sessions disconnect. The process can crash, the server can reboot, and you need to re-pair. WhatsApp also actively tries to detect and block automated usage, so there's always some risk of getting your number banned. The risk is lower than people think if you behave like a normal user (don't blast thousands of messages, don't add random contacts to groups), but it's not zero.
Running this yourself means keeping a process alive 24/7, handling reconnections, managing proxies, and dealing with the occasional breaking change when WhatsApp updates their protocol. It's a part-time job.
This is where managed WhatsApp Web services come in. Instead of running the automation yourself, you use a service that handles the session management, reconnection, proxying, and isolation for you. You get a webhook and an API. The messy infrastructure is someone else's problem.
Supergreen is the cheapest option we've found. Each account runs in its own isolated container with its own proxy. You connect a phone number, get a pairing code, and start receiving webhooks. No server to maintain, no Docker containers to manage.
There are other providers too. The space has a few options at different price points. The key thing is that any managed service that gives you a webhook and an API for sending messages can plug into prompt2bot.
If your bot does 1-on-1 customer conversations, like a 24/7 WhatsApp customer support agent or automated appointment scheduler, go official. Setup takes about a minute in one click, replies inside 24 hours are free from Meta, and you get a stable connection that Meta won't randomly kill.
If your bot needs to be in groups (like a WhatsApp group task tracker), or needs to message people first without pre-approved templates, go unofficial through a managed service. You trade a bit of stability for full WhatsApp functionality.
prompt2bot supports both the official WhatsApp Business API and unofficial WhatsApp Web integrations. For the official API, connect in one click at /connect-whatsapp (or ask Bob in chat for a direct link), and we handle tokens, webhooks, registration, calling, and the default template automatically. Manual Meta Developer App tokens are still supported under Advanced if you prefer managing your own app. For unofficial, you connect through Supergreen or any other managed service that provides a webhook interface.
If you need help choosing between the two approaches for your use case, reach out on Discord. We help teams with this regularly and can walk you through it.
← All posts