Creating An AI Chat Agent on WhatsApp
To create a WhatsApp bot, you'll need to complete three key stages: setting up the WhatsApp integration, setting up the chatbot agent, and setting up the WhatsApp widget.
Stage 1: Setting Up the WhatsApp Integration
- Log in to your Flowforge dashboard and navigate to Settings > Channels.
- Under WhatsApp, click on Set up.
- Enter the required details:
- Phone Number ID
- WhatsApp Access Token
- Facebook Secret Code
- To generate these details, create and configure your Meta (Facebook) Business Account and App. Refer to this tutorial for guidance.
Stage 2: Setting Up the Chatbot Agent (Excluding the Widget)
- Every chatbot agent has three building blocks:
- The Knowledge Base
- The Assistant (the brain of the chatbot)
- The Widget (the user interface)
- Refer to this tutorial for a detailed guide on preparing a Knowledge Base and setting up the Assistant.
Stage 3: Setting Up the WhatsApp Widget
- Navigate to AI Agents and click on Add a Widget under the Widgets tab.
- Choose the Assistant you want to connect the widget to and give a name and description to your widget.
- Select the widget type as WhatsApp.
- Enter your WhatsApp phone number and other account details gathered from Stage 1.
- Click Submit to create the widget.
- Once you've added a widget, you'll see the AI agent details.
Your WhatsApp bot is now ready to interact with users.