How to Build a WhatsApp Chatbot
Chatbots have become an essential tool for businesses to provide instant responses, automate customer support, and improve user engagement. With BotBee, creating a WhatsApp chatbot does not require coding knowledge. Using its visual drag-and-drop flow builder, you can design interactive conversations, share media, collect user information, and even connect users to human agents.
In this article, you’ll learn step by step how to build a WhatsApp chatbot using BotBee and understand the key features involved explained in simple terms.
Step-by-Step Guide to Creating a WhatsApp Chatbot:
Step 1: Start in the Bot Manager:
- Begin by logging into your BotBee dashboard.
- Navigate to Bot Manager .
- Under Automations, Navigate to Keyword Replies.
- Click on Create.

- This opens the Visual Drag and Drop Flow Builder, where you design your chatbot’s conversation.
Step 2: Set Triggers:
- Triggers define when your Chatbot should start responding.
- Click on “Start Bot Flow” and Add keywords such as “hello”, “hi”, or “hey”.
Trigger Matching Options:
- Exact Keyword Match: The chatbot starts only when the user types the exact keyword (e.g., typing hello exactly).
- String Match: The chatbot starts even if the keyword appears within a longer message (e.g., hello there, hi bot, can you help?).
(Note: String Match is recommended for a smoother user experience, as users don’t need to type precise words.)
- Name your bot under the title section and Click on “Save”. (Example: BotBee)
- Add/Remove Label: You can add visiting leads to a label and even remove them if they are existing.
- Subscribe/Unsubscribe to Sequence: You can add sequence to the customers or even remove them when there are coming to your chatbot. Sequence Messages are the follow up messages tha allow you to send messages to users automatically at scheduled time intervals instead of all at once.

- Assign Conversation to a group: You can assign the visiting leads to a specific group or team role.
- Assign Conversation to a user: You can assign the visiting leads to a specific team member also.
Data & Integrations:
Save to Custom Field: You can save the data of the subscriber coming to the chatbot in custom field to send it to third party platform.
Forward Data to Webhook: You can also send the data directly to a webhook URL by just pasting the Outbound webhook.
Sync Data to Google sheets: You can also send the data directly to your google sheets.

- Drag and Drop from “Compose Next Message”, a Menu will open showing which box you want to add next.

Text Element:
- The Text Element in BotBee is designed only for sending plain text messages.
- Buttons cannot be added inside or after a Text Element.

Image Element:
- The Image Element is used to send an image to the user on WhatsApp.
- It can contain only an image in jpg or png format.
- Maximum supported file size is 16MB.


Video Element:
- It can contain only a video in mp4 format.
- Maximum supported file size is 16MB.

Audio Element:
- The Audio Element allows you to send an audio message to the user.
- It can contain only an audio file mp3 format.
- Maximum supported file size is 16MB.

File Element:
- The File Element is used to send documents or downloadable files.
- It can contain only one file in doc, docx, pdf, txt, ppt, pptx, xls, xlsx format.
- Maximum supported file size is 16MB.

Interactive Element:
- The Interactive Element is used to create actionable messages that allow users to interact with your chatbot.
- You can add text and an image together.
- You can add buttons for quick user responses. (Upto 3 buttons)
- You can add lists for multiple selectable options. (Upto 10 list objects)
- The Header Section is important and is required to be filled.
- You can display e-commerce catalogs for product-based interactions.
(Note: You can’t end a Chatbot just after an Interactive element.)

CTA URL Element:
- The CTA (Call-To-Action) URL Button is used to redirect users to an external link.
- Opens a website, payment page, form, or booking link.
- Works as a clickable action button.
- Best for payments, registrations, website visits, and external forms.

Location Element:
- The Location Element allows you to get physical location of the user.
- By clicking on the button users can share their location.
- Helps business who provide home appointments.

HTTP API Element:
- The HTTP API element allows your chatbot to connect with external systems and services using API requests.
- Sends and receives data from third-party platforms.
- Fetches live information such as order status, booking details, user records, or CRM data.
- Enables system-to-system communication in real time.
- Works as a backend integration layer for automation.
- Best used when your chatbot needs to interact with external software, databases, or business systems.

Google Sheet Data Fetch element:
- The Google Sheet Data Fetch element is used to retrieve data directly from a connected Google Sheet and send it to the user in real time.
- Fetches data from a specific Google Sheet and column.
- Displays dynamic information such as prices, availability, schedules, or booking details.
- Updates automatically when the Google Sheet data changes.
- Does not support buttons on its own.

WhatsApp Flows element:
- The WhatsApp Flows element is used to collect structured information from users through a form-like interface, similar to a Google Form.
- Displays a multi-field form inside WhatsApp.
- Allows users to fill in details and submit them in one flow.
- Supports structured inputs like text fields, selections, and other form components.
- Helps collect information in an organized and user-friendly way.
- Best used for registrations, bookings, feedback forms, and detailed data collection without long chat conversations.

How to Create a WhatsApp Flows Form:
Step 1: Access WhatsApp Flows:
- Go to Bot Manager and select your bot account.
- Navigate to Data Collection.
- Click on WhatsApp Flows.
- Click the Create button to start a new flow.

Step 2: Configure Flow Details:
- Fill in the basic details of your form.
- Name: Give your flow a unique and identifiable name.
- Category: Select a relevant category (for example, Appointment Booking)
- Screen Name: Enter a unique screen name using only lowercase letters, No spaces, No special characters.
- Form Title: Enter the title that users will see on the form.
Step 3: Set the Bot Reply:
- Choose the message users will receive after submitting the form.
- Select an existing Bot Reply from the dropdown.
- If a reply does not exist, Click the Add button.
- This opens the Visual Flow Builder.
- Create a simple Text Element reply (for example, “Thank you! We’ve received your details.”)
- Save it, refresh the Flow page, and select the newly created reply.
Optional Features:
- You can select the HTTP API Campaign via which you want to send the form data to your third party platform.
- You can select the google sheet in which you want the form data of customers to be stored.

Step 4: Design the Form:
- Use the drag-and-drop builder to create your form layout.
- Add elements from the sidebar to the canvas:
- Header: Add a label to describe the section
- Text Fields: Use for details like Name, Phone Number, Email ID, Budget.
- Text Area: Use for longer inputs such as Address.
- Radio Buttons: Use for multiple-choice options like Rate our Product.
- Submit Button: Add a button to allow users to submit the form.
- Once all fields are added, click Save.

Step 5: Preview and Publish the Flow:
- Preview: Use the preview option to see how the form looks on a mobile screen by going on “Actions” and clicking on “Eye” icon.
- Publish: Click Publish to make the flow live.
(Note: Once a WhatsApp Flow is published, it cannot be edited.)
That’s it your WhatsApp Flow is ready now! Let’s continue with other elements now.
User Input Flow:
- The User Input Flow element is used to collect information directly from the user.
- Collects personalized details such as name, phone number, email ID, or other inputs.
- Asks questions one at a time and stores user responses.
- Supports different input types like text, phone number, email, and multiple choice.
- You can import these personalized details directly to your Google Sheets or any other Third Party Applications.

Condition Element:
- The Condition Element allows you to branch the chatbot flow based on predefined rules.
- It evaluates System Fields and Custom Fields to decide the next action.
- Supports All Match (all conditions must be true) and Any Match (at least one condition must be true).
- Users are automatically directed to the True or False path based on the condition result.
- Ideal for personalizing conversations and automating decision-making.
- Example: If Order Amount > ₹500, the chatbot offers free delivery; otherwise, it informs the customer about the delivery charge.

AI Reply Element:
- The AI Reply element enables automatic, intelligent responses using AI.
- Responds to free-text user messages.
- Understands user intent instead of fixed keywords.
- Provides dynamic, conversational replies.
- Reduces the need for predefined flows for every question.

Template Message:
- Uses pre-approved WhatsApp templates.
- Allows businesses to re-engage users after 24 hours.
- Supports notifications, alerts, reminders, and updates.
- Required for outbound communication beyond the session window.
- Essential for follow-ups, confirmations, and business notifications on WhatsApp.

Sequence Messages:
- Sequence Messages allow you to send messages to users automatically at scheduled time intervals instead of all at once.
- Messages can be sent after a specific delay (for example, after 1 hour, 1 day, or 30 days max.)
- Useful for sending follow-ups, reminders, onboarding messages, or notifications.
- It can work within the 24-hour WhatsApp session window as well as outside the 24-hour window using approved template messages.
- Sending messages inside the 24Hr window is free but Sending messages after 24Hr window is paid.
- There are two methods on how we Create a Sequence.

Methods 1: From Chatbot Flow Builder:
Within 24 hours window:
- Click on the message after which you want the sequence and click on “Subscribe to Sequence” and add New Sequence.
- Enable the Inside 24Hr Option and write your message along with the scheduled time.
- You can also enable condition to send logic based messages in sequence.

Anytime (Outside 24Hr Window):
- Click on the message after which you want the sequence and click on “Subscribe to Sequence” and add New Sequence.
- Enable the Anytime Option and write your message along with the scheduled time.
- A Message Template is needed for Anytime messages.
- You can also enable condition to send logic based messages in sequence.

For Further information on how to create a message template refer this video: https://youtu.be/4Vy3SeGFKhI?si=NFhiIBunLZRoZJR2
Method 2: From Bot Manager:
- Go to Bot Manager, Navigate to Follow Up Sequence under Automations.
- Click on Sequence then Create.

- A new flow builder will open after that, make the sequence as mentioned above in the Method 1.
- To add this sequence in your Chatbot, Save your sequence.

You’ve now explored all the key elements needed to build a fully functional WhatsApp chatbot from messaging and interactions to data collection and automation giving you a strong foundation to create effective and engaging chatbot experiences.
Reference Video:
If you prefer video tutorials here are the links:
English: https://youtu.be/TU9WJnaV9Bg?si=SXLWTNducSKi2WiO
https://youtu.be/9Nh3NBCk6EI?si=encySGcIAwNGiGrE
Hindi: https://youtu.be/bDMmpseuNUY?si=P0m6R7VsZwkUXp99
Tamil: https://youtu.be/_DAj3uzc1Lk?si=dNmGNNlBrHTWx7FQ
Still Need Help?
If you face difficulties during onboarding:
- Take a screenshot or screen recording.
- Share details with our support team.
Our team will review the onboarding step and guide you further.
Contact: 08069645300
Found this article helpful?
( 3 Out of 5 Found Helpful )