The days of developing chatbots requiring significant coding abilities are long gone. Without writing a single line of code, platforms like ChatBot enable you to create conversational bots for a variety of communication channels. Isn’t that exciting?
This guide will walk you through the process of creating a lead generating bot using the Kahoot Spams Bot. You’ll discover how to test your brand-new bot and how to effortlessly integrate it into your website.
What is included within:
How to design a chatbot for lead generating
How to do a chatbot test
How to integrate a chatbot into a website
Let us begin!
How to construct a chatbot
To use the ChatBot framework to construct a bot, you must must have an active ChatBot account. To get started, visit chatbot.com and register as a new user.
ChatBot provides a free seven-day trial period during which you may construct your bot. By completing a brief onboarding lesson, you may extend your trial by an additional seven days.
Let us go on our trip!
Following account creation, you’ll be sent to the ChatBot dashboard, where you may start a new tale. To begin, click the Create bot button. how-to-create-a-chatbot
Assign your new tale the title “lead generation bot.”
After generating your first tale, you’ll be sent to the Visual Builder for ChatBot. By default, we’ve created a simple discussion tree to assist you in getting started.
To modify the Bot answer block, click on it. We’ve already developed four different welcome message alternatives. You may keep them as-is or alter them as desired.
How does a bot respond? The Bot response block is where your chatbot delivers a message to a user. You may either ask the user a question or let them to choose from a list of prepared responses.
Then, from the left-hand menu, drag an Image answer underneath the initial text message. Then, submit the picture that you want viewers to see.
Your picture is complete!
Then, from the menu, select another Text answer and put it below your picture. After that, type your message.
Following that, provide a Quick reply answer. Here, you may inquire about the user’s interest in subscribing to your newsletter. You may entice the customer to do so by giving a promo code, for example.
Now you must configure your buttons to allow people to choose whether or not to leave their email address. To see the contents of the first button, click on it. In the Button title area, type the button’s name. Following that, change the Button type to Send message. When you’re finished, save your settings.
Now you must create a secondary button for people who do not want to subscribe to your newsletter. Select the field for the Add button.
Enter the title for the button. Then, choose the Send message button type and save the configuration.
When you are finished, click save to close.
Now it’s up to the user. To continue the dialogue, from the main menu, choose the User input block and drag it after the Bot answer block.
What is the term “user input”? You may gather user replies using the User input section. This block allows you to specify the kind of user messages that will elicit a response from the bot. To generate User input, you must first establish Keywords and User statements. These are many matching systems from which you may pick.
To open the edit window for the inserted User input, click on it and enter the block’s name. Then specify the message types that will trigger the chatbot’s subsequent response. This may be done in the Keywords or User comments sections.
Use the Keywords matching method if you want your bot to reply to a certain term. If you anticipate that users may respond with lengthier sentences, use User says.
When you are through with your answer, click save and close.
Now you must obtain the user’s email address. Drag and drop the Question block from the main menu after the User input block.
Click on the Question block and provide a name for it.
Now, in the Question variations area, insert your question. Additional versions may be added here. This way, when the user provides the wrong email format, the bot will use different words to ask about the proper email form again. This will help your chatbot sound more natural. how-to-create-a-chatbot
Now, in the Validate response with entity field, choose Email from system entities. Because of that, your chatbot will know whether or not the user provided the proper format of their email address.
Next, in the Save response to attribute field, set up the default email attribute. This way, if the user provides the correct email address, ChatBot will assign this email address to the user.
Next, in the Action on failure block, you can choose what your bot should do if a user fails to type the correct format of their email.
If you choose Go to the failure block, the bot won’t save the wrong email address format, and it will ask the user again about providing the proper format of their email.
Then, choose Retry after filled so that your bot will keep trying until it gets the proper answer. When you’re ready, click save and close. how-to-create-a-chatbot
Now, you need to thank the user for their email address and provide them with the promised coupon code. To do so, drag Bot Response from the main menu, and drop it after the Success block.
Type in the block’s name.
Now, add an Image response and upload an image you want to use.
Lastly, add some text responses, and enter your messages. Remember to add the coupon code! When you’re ready, click save and close.
Now, you need to prepare the bot’s message in case the user doesn’t want to sign up for your newsletter. To do this, drag User input from the main menu, and drop it after the Welcome message.
Click on the User input block and type in the block’s name. Then, enter the user responses using Keywords or User says. Type in all the possible replies your users might send. When you’re ready, click save and close.
Now, you can end the conversation. Drag Bot response from the main menu, and drop it after User input with the refusal to sign up to your newsletter.
Click on the Bot response block. Choose the text type response, and enter the bot’s message. Then, click save and close.
Lastly, below the welcome message, you can see Default fallback. In ChatBot, each story comes with four variants of a Default fallback message. You can click on it and edit its content the way you wish.