For creating a simple Chatbot for an Ecommerce website. Follow the steps below:
1. Unlock Flow Builder
The very first step you need to do is request the Alendei Team to Unlock the Flow
Builder.
2. Create a New Flow
Now, go to Flow Builder and click Create
Flow to create the flow for your WhatsApp Chatbot.
3. Add Keywords that will trigger the Chatbot
Clicking the button will open the Flow Builder. Here, you can build the complete flow for your WhatsApp Chatbot.
To start creating your flow, you first need to add Keywords to the "Flow start" element that will trigger the Chatbot flow.
Enter common keywords like Shop, products, and e-commerce depending on what your users enter most to ensure the chatbot gets triggered.
In the below image, we've added multiple keywords that will
trigger the chatbot, like 'hi', 'Hello' etc.
Regex-based conditioning: Regex-based conditioning allows you to trigger the Chatbot flow using regular expressions (regex), which are strings of words. This makes your Chatbot more accessible to end-users by triggering it anytime the user sends a message containing the words specified in your regex.
For example, let's consider you run a plant gifts shop and have set up regex-based conditioning by entering the keyword 'Plant gifts'. If a user sends you a message with the phrase 'Plant gifts' in it, your Chatbot will trigger. For instance, if a user sends 'I want to buy plant gifts', the Chatbot will be triggered since it contains the words specified in the regex.
You can create & test your Regex through this website: https://regex101.com/
4. Choose an element from the Content Block
Next, drag & drop another element from the Content block or stretch a thread from the "Flow Start" element and choose another element.
Since we need to provide multiple options to the user, we've
chosen the "List" element.
5. Enter body text and relevant buttons
6. Use relevant elements & link them carefully
You need to be careful about is choosing the correct elements from the Content block and linking it to the right element using threads.
7. Your Chatbot is ready to go LIVE
In the below image, you can see that we have created a chatbot in which the end goal is to showcase the relevant products to the users and hot deals currently active.
You can see that we have different responses based on the user's reply. If they reply with 'View all products', they'll receive a Multi-product message with all your products, and if they respond with 'Hot deals', they'll receive a single-product message mentioning the hot deal.
You can make as many changes as you want in the Chatbot.
After creating the Chatbot, press 'Save Changes' to save your progress.
8. Enable the Chatbot
Last, return to 'Flow Builder' and enable the Chatbot you've
just created.
9. Test the Chatbot
This is how the chatbot will work whenever a user enters the keyword that triggers the Chatbot.
This is just an example. You can create a flow with 100s of
elements in just one Chatbot.