How to build an AI Chatbot on WhatsApp
AI chatbots help automate conversations and provide instant customer support. By integrating ChatGPT with BotBee and training the bot using FAQs, URLs, and files, you can build an intelligent chatbot without complex coding. This guide explains how to connect ChatGPT with BotBee step by step.
Step-by-Step Guide to Integrate ChatGPT with BotBee:
Step 1: Create an OpenAI Account:
- Visit platform.openai.com and sign up using your email address.
- Go to “Start Building” from the dashboard beside your profile icon.
- Fill out your relevant information and Click on “Create Organization.”

- Now Create a project. Also add the name of your API Key.

- Purchase the API Keys and Copy the API Key and Store it securely.

Step 2: Integrate with BotBee:
- Log in to the BotBee dashboard, Go to Control Panel and Choose “AI API Integration”.
- Click on AI Integration under it.
- Paste the copied API key, choose the prompt model as GPT-4.O mini, and click Save.

With the integration complete, the next step is to train your AI chatbot using FAQs, URLs, and files to improve its responses.
How to Train your AI Chatbot
Step 1: Initialize the AI Model:
• Log in to the BotBee Dashboard.
• Navigate to Bot Manager → AI Knowledge Base under AI section.
• Click on New Campaign and enter a name for your AI model.
• Under Prompt Message, let the default written prompt be there and paste your company or business information after that.
• Click Save.

Step 2: Ingest Training Data:
You can now add structured and unstructured data to train the chatbot.
Frequently Asked Questions (FAQs):
- Click the (+) Plus button.
- Add question-and-answer pairs.
- Click Save.

URLs:
- Click the (+) Plus button and select URL.
- Enter your business website link.
- Set Selector Type to Class.
- Click Generate FAQ, then Save.

Files:
- Click the (+) Plus button and select URL.
- Upload PDF or text files.
- Click Generate FAQ to extract knowledge.
- Click Save.

Google Sheets:
- Click the (+) Plus button and select URL.
- Upload your Google Sheet.
- Click Generate FAQ to convert the sheet data into training content.
- Click Save.

Step 3: Activate and Configure the AI Assistant:
- Go to Bot Manager → AI Agents and Intent Detection under AI Section.
- Enable the AI Agent toggle.
- Select the Training Campaign.
Intent Detection:
- Intent Detection enables the AI chatbot to understand what a user wants based on the message they send.
- Define example phrases for each intent, and the AI automatically recognizes similar user queries.
- Once an intent is detected, the chatbot can trigger a specific bot flow, assign the conversation to an agent, or generate an AI-driven response.
- This helps create faster, more accurate, and natural conversations without relying on exact keyword matches.
- Example: If users type "I want to track my order", "Where is my package?", or "Track my shipment", the chatbot detects the Order Tracking intent and starts the appropriate flow automatically.

- Select Fallback Only so the AI responds only when predefined flows don’t match.

- Enable Contextual Memory and set a limit (for example, 5 messages) By Enabling this your AI Agent will remember previous conversations too.
- You can assign the AI chats to specific Group or team member.
- Add Restricted Topics such as competitor names if required.
- You can also set business off hours and choose whether you want your AI Agent to work in off hours or not.
- Furthermore you can also add delay in replies.
- Select your created AI Campaign model.
- Click Save.

After completing these steps, your AI chatbot is fully trained and ready to deliver accurate, context-aware responses using your business data. You can continuously update FAQs, URLs, and files to improve its performance over time.
Reference Video:
If you prefer video tutorials here are the links:
English: https://youtu.be/xfzk_L77M2Y
Hindi: https://youtu.be/FoGLktCeEds
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?
( 2 Out of 4 Found Helpful )