How to build a WhatsApp bot in 5 simple steps
Learn how to build a WhatsApp bot in 5 simple steps with CodeWords. No code, no developer needed — go from idea to live bot in under 30 minutes.
Building a WhatsApp bot used to require a developer, a Meta Business Manager account, and several days of setup. In 2026, the whole thing takes 10–30 minutes and no code at all. This guide walks you through five straightforward steps to go from idea to live bot — written for people who've never built automation before.
TL;DR
- You don't need technical skills. Modern tools let you describe your bot in plain English and handle the rest for you.
- Five steps, 10–30 minutes total. From opening CodeWords to your first live reply.
- Start simple, then expand. A basic FAQ bot is worth launching. You can always add integrations later.
Before you start: what kind of bot do you want?
Take two minutes before you open any tools and write down one sentence: what should your bot do?
"Answer questions about my bakery's menu and opening hours."
"Book appointments for my dental practice."
"Help customers track their orders and handle return requests."
"Give me a daily summary of my tasks and emails."
This single sentence will guide your system prompt and your connection choice. If you're not sure, start with a simple FAQ bot. You can always expand it.
Step 1: go to CodeWords and describe your bot
Time: 2–5 minutes
Go to CodeWords and describe what you want your bot to do. You're talking to Cody, the AI automation assistant — just type in plain English, exactly like you'd explain it to a new employee.
Be specific. Instead of "I want a customer service bot," try: "I want a WhatsApp bot for my bakery in Leeds. It should answer questions about our menu, tell people our opening hours (Tues–Sat 8am–5pm), let them know about our weekly specials, and tell them how to place a custom cake order."
The more context you give Cody, the better the result. Include: your business type, the main questions customers ask, your opening hours, your location, and any specific things the bot should or shouldn't do.
Cody will generate an initial system prompt and connection configuration based on your description. You can tweak it in the next steps.
Step 2: choose your connection type
Time: 2–5 minutes
You have two options for connecting a WhatsApp number to your bot:
Personal Device — this connects your own phone number via the WhatsApp app on your phone. It's the fastest way to get started. There are no template restrictions, no daily message caps, and no approval process. The trade-off is that your phone stays connected — if you lose the connection, the bot goes offline.
Personal Device is ideal for: testing your bot, personal productivity bots (self-chat assistants), small businesses, and anyone who wants to start today.
Business API — this connects a dedicated business number via Meta's official API. It's more stable (server-side, not tied to your phone), has higher reliability for commercial use, and gives you access to WhatsApp's Business features like message templates and verified business badges. The trade-off is setup takes a bit longer and outbound messages must use pre-approved templates.
Business API is ideal for: customer-facing bots at scale, any business sending more than 50 messages per day, and situations where uptime reliability is critical.
If you're unsure, start with Personal Device. You can always migrate to Business API later.
Step 3: write your system prompt
Time: 5–10 minutes
The system prompt is the set of instructions that tells your bot how to behave. Think of it as the employee handbook for your AI.
A good system prompt covers:
Who the bot is: "You are Bella, the friendly AI automation assistant for Blossom Bakery. You help customers with menu questions, orders, and anything else related to the bakery."
What it knows: list the key information — menu items, prices, opening hours, contact details, location, policies. The more accurate this section is, the better the bot performs.
What it should do in specific situations: "If someone asks to place a custom cake order, tell them to call 0113 XXX XXXX or visit the shop in person. We don't take custom orders over WhatsApp."
How it should speak: "Keep replies friendly and concise. Use the customer's name if they've shared it. Don't use jargon."
What to do when it doesn't know something: "If you're not sure, say so honestly and offer to take their contact details so the team can follow up."
Cody will have generated a draft prompt in Step 1. Review it, edit any details, and add the specifics that only you know.
Step 4: connect your integrations (if needed)
Time: 0–10 minutes — skip if building a basic FAQ bot
If your bot needs to do more than answer questions — like check calendar availability, look up order status, or create a CRM record — you'll connect integrations in this step.
CodeWords connects to 3,000+ tools via Composio. Common integrations include:
- Google Calendar — for booking and availability checks
- HubSpot — for logging leads and contacts
- Shopify — for order status lookups
- Stripe — for payment information
- Google Sheets — for logging data in a simple spreadsheet
For a basic FAQ bot, skip this step entirely. You can always come back and add integrations once the core bot is working.
Cody will help you configure each integration by asking what you want the bot to do with it. No API keys to manage manually — credentials are stored as encrypted secrets.
Step 5: test your bot
Time: 5–10 minutes
Before your bot goes live to real customers, test it yourself. Send it the questions customers typically ask. Try the edge cases — weird phrasing, misspellings, questions that are slightly outside its scope.
A good testing checklist:
- Ask every FAQ it should know the answer to
- Ask something it shouldn't know — check it handles the gap gracefully
- Test the handover: tell it you want to speak to a human and see what happens
- If it has integrations, test the full booking or lookup flow end to end
- Send it an ambiguous question and see if it asks for clarification or guesses
Share the bot with two or three people who don't know how it was built and ask them to try it naturally. Fresh eyes catch things you'll miss.
When you're happy with the results, your bot is live. Anyone who messages your connected WhatsApp number will get an automated response.
After launch: monitor and iterate
Your first version of the bot will be good. Your third version will be much better.
Read through real conversations regularly — especially in the first two weeks. Look for:
- Questions the bot didn't answer well
- Moments where it gave incorrect information
- Places where the conversation died unexpectedly
- Edge cases you didn't anticipate
Each of these is an update to your system prompt. A five-minute tweak often dramatically improves a specific failure mode.
Industry-specific guidance is available for dental practices, aesthetics businesses, auto repair and MOT shops, bakeries, and accounting firms.
Ready to start? Build your WhatsApp bot on CodeWords — describe what you want and Cody handles the rest.