The WhatsApp Business API with an AI chatbot built in
OnlySocial connects your number to the WhatsApp Business API through Embedded Signup, then puts an AI salesperson, approved templates and broadcasts on top of it. Your team answers in one inbox, the bot handles the routine questions, and you can keep the WhatsApp Business app on the same number.
Connect the WhatsApp Business API without a developer
The WhatsApp Business API is how Meta lets businesses send and receive WhatsApp messages from software instead of a single phone. It opens up shared inboxes, automation and messaging at scale, but the usual setup involves a developer account, webhooks and a hosting provider. OnlySocial handles that part for you. Open the WhatsApp channel, start Embedded Signup, sign in with your Meta account and pick the number you want to use.
Once the number is connected, every new chat lands in the same inbox as your Instagram, Messenger, TikTok and Telegram messages. You can assign chats by hand or share new ones across the team with round-robin, add labels and notes, and filter by channel, assignee, tag or unread. Alerts reach you by email, in the app or on WhatsApp itself, so a waiting customer doesn't sit unnoticed.
What you need before you start
Have a Meta account with access to your business, a phone number you can verify, and your business details ready. If the number already runs the WhatsApp Business app, choose coexistence during signup so the app keeps working.
Coexistence: keep the WhatsApp Business app on the same number
Many small businesses have run their sales on the WhatsApp Business app for years, and moving to the API used to mean giving that up. Coexistence removes the trade-off. You keep the app on your phone, the number stays the same, and past chats sync into OnlySocial with their history. A shop owner can still reply from the counter while the team and the AI work from the shared inbox.
Coexistence also makes the switch easy to test. Connect the number, let the AI draft replies for a week while your staff approve them, and watch how it handles real questions. When you trust it, let it answer alone on chosen topics. Nothing changes for your customers, who keep messaging the number they already have saved.
When the API on its own makes more sense
If several people answer the same number all day, or you plan to run broadcasts and flows at volume, connecting the number to the WhatsApp Business API alone keeps every reply in one shared inbox with a full history.
An AI WhatsApp chatbot that knows your products
The Salesbot is a WhatsApp chatbot that answers from your own products and policies. Train its knowledge base with files, web pages or your sitemap, and it learns your prices, sizes, delivery times and return rules. When a customer asks a question, it replies in plain language, qualifies the lead, sends the right product link and can take the payment with a link from Stripe, PayPal, Razorpay, Paystack, MyFatoorah or Mercado Pago.
You decide how much it does on each channel. The AI can answer alone, draft replies for your team to send, or hand chosen topics such as refunds or complaints to a person. Human handoff rules make the bot step aside as soon as a teammate replies. For service businesses it can book the call or appointment straight into Google Calendar or Zoom. The full feature set is on the AI sales chatbot page.
- Answers from your knowledge base, not a fixed script
- Sends product links, payment links and booking pages in the chat
- Hands refunds, complaints or any topic you choose to your team
- Bring your own AI key from OpenAI, Claude, Gemini or DeepSeek
Build and track WhatsApp templates
WhatsApp lets you reply freely within 24 hours of a customer's last message. Outside that window, and for anything you start yourself, Meta asks for an approved message template. OnlySocial lets you build WhatsApp templates in the app, submit them to Meta and track their approval status, so you can see which ones are ready to use and which still need changes.
Use WhatsApp templates for order updates, appointment reminders, back-in-stock alerts and follow-ups after a quote. Variables fill in each customer's name or order details, and buttons let people reply with one tap. WhatsApp Forms and catalog messages go further, letting customers fill in details or browse products without leaving the chat.
Tips for templates that get approved
Keep each template to one clear purpose, say who you are in the first line, and avoid vague promotional wording. Mark marketing and utility messages correctly, and give a clear way to opt out of promotions.
Send WhatsApp broadcasts to the right segment
WhatsApp broadcasts reach many contacts at once with an approved template. In OnlySocial you pick a segment by tag, custom field, source, channel or opt-in, choose the template, and send now or schedule it for later. Opt-outs are handled for you, and the suppression list keeps people who said no from getting the next campaign. Read more on the WhatsApp broadcast page.
Because every chat becomes a contact, your segments build themselves. Someone who asked about a product gets a tag, someone who paid moves along the pipeline board, and someone who filled in a form on your link in bio page arrives as a new contact. WhatsApp broadcasts then go to the people who care about that offer, instead of the whole list.
A simple broadcast routine
Tag contacts by interest as they chat, keep one segment per offer, and send a short template with a single button. Schedule it for the hour your customers usually reply, then read the replies in the inbox and let the AI answer the routine ones.
Bring more people into your WhatsApp chats
A connected number only helps if customers message it. OnlySocial gives you ref links and QR codes that open a chat with a preset message, and a WhatsApp popup for your website. Click-to-WhatsApp ads can trigger a flow as soon as someone taps the ad, and purchases made in the chat are reported back to Meta so you can see which ads turned into sales.
Comment-to-DM works across your social channels too. A keyword in an Instagram or Facebook comment can send a private message that moves the conversation to WhatsApp. The visual flow builder chains these steps together with conditions, delays, tags and AI replies, and roughly 30 automation templates give you a starting point for common sales and support flows.
See how your WhatsApp chats turn into sales
Salesbot reports show your conversations, automation results and ad attribution in one place. Each step in a flow shows how many people reached it, so you can spot where customers drop off and fix that message. Pipeline stages show how many chats became leads and how many paid.
For deeper reporting, the Messaging and CRM API and webhooks send messages, contacts, payments and bookings to your own tools, and Zapier, HubSpot and Google Sheets connect without code. Developers can find the docs on the social media API page.
Pair these reports with your social posts. The social media scheduler plans the posts that send people to your number, and the WhatsApp Business API side shows what they did once they got there, from the first question to the paid order.
How to set up the WhatsApp Business API in OnlySocial
- Step 1
Start Embedded Signup
Open the WhatsApp channel in your workspace, sign in with Meta and choose your number. Pick coexistence if you want to keep the WhatsApp Business app running on it.
- Step 2
Train your WhatsApp chatbot
Add files, web pages or your sitemap to the knowledge base, connect your payment provider or calendar, and set which topics always go to a person.
- Step 3
Submit your templates
Write the templates you need for reminders, updates and offers, submit them to Meta and track approval from the templates screen before you use them.
- Step 4
Reply, automate and broadcast
Answer chats in the inbox with AI drafts, add flows for common questions, and schedule broadcasts to segments of contacts who opted in.
WhatsApp Business app compared with the API in OnlySocial
The free app works well for one person on one phone. The WhatsApp Business API in OnlySocial adds a team, automation and reach, and coexistence lets you keep both.
| Feature | OnlySocial with the API | WhatsApp Business app |
|---|---|---|
| Shared team inbox | Yes | Partly |
| AI replies from your products | Yes | No |
| Approved message templates | Yes | No |
| Broadcasts to segments with opt-out | Yes | Partly |
| Payment links and booking | Yes | Partly |
| Flows and click-to-WhatsApp ads | Yes | No |
| Keep the app on the number | Yes | Yes |
What OnlySocial customers say
Rated 4.4 out of 5 from 61 reviews on Trustpilot. Read every review
… the chatbot feature is a fantastic touch, especially for small business owners who want to stay responsive to customer inquiries without being chained to their phones or computers.
I am truly impressed by the sales bot feature for truly automating business workflows to secure leads, engage them, & close deals.
The platform truly shines with its intuitive interface and efficient scheduling tools, which make managing social media accounts straightforward and time-saving. Features like Automated Sales & Support with AI and a powerful Link in Bio Builder add extra value …
WhatsApp Business API FAQ
Something else? The help and API docs cover every feature.
What is the WhatsApp Business API?
The WhatsApp Business API is Meta's way for businesses to use WhatsApp from software. It supports shared inboxes, chatbots, templates and broadcasts that the phone app can't handle. OnlySocial connects your number through Embedded Signup, so you get those tools without building anything. See pricing for the plans that include WhatsApp.
Can I keep using the WhatsApp Business app with the API?
Yes. Choose coexistence when you connect and you keep the WhatsApp Business app on the same number, with your chat history synced into OnlySocial. You can reply from your phone or the shared inbox, and the AI can work alongside both.
How does a WhatsApp chatbot reply to customers?
The Salesbot reads your knowledge base, built from files, web pages or your sitemap, and answers in plain language. It can qualify the lead, send a product or payment link, or book a call. You choose per channel whether it answers alone, drafts replies for approval, or hands certain topics to a person.
Why do I need WhatsApp templates?
WhatsApp only lets you message freely within 24 hours of a customer's last message. To start a chat or follow up later, you need an approved template. OnlySocial lets you build WhatsApp templates, submit them to Meta and track whether each one is approved.
How do I send WhatsApp broadcasts without spamming people?
Send WhatsApp broadcasts only to contacts who opted in, and pick a segment by tag, field or source so the offer fits. OnlySocial handles opt-outs and keeps a suppression list, so people who said no stay off future campaigns. Our social CRM page explains how segments are built.
Can customers pay inside a WhatsApp chat?
Yes. The chatbot or your team can send a payment link from Stripe, PayPal, Razorpay, Paystack, MyFatoorah or Mercado Pago in the chat. Payments move the contact along your pipeline, and the payments and booking page covers the setup.
Does the WhatsApp Business API work with my other channels?
Yes. WhatsApp chats sit in one inbox with Instagram, Messenger, TikTok, Telegram, SMS and live chat messages, plus comments from your social networks. One contact record keeps the history across all of them, and the same flows and AI can run on every channel.
How much does the WhatsApp Business API cost?
Meta charges for some conversations, such as marketing templates, at rates that depend on the country. OnlySocial plans are listed on the pricing page. Replies inside the 24-hour customer service window are the cheapest way to talk, which is why fast answers from the AI also help keep costs down.
Connect your WhatsApp number today
Create a workspace, start Embedded Signup and let the AI draft your first replies. You can keep the app on your phone while you try it.
