Estimated reading time: 5 minutes
I'm here to help you create a chatbot with BotStar through following my step-by-step guide throughout 14 parts of Mini Course. You will learn how to build a chatbot "My Happiness Restaurant" for a food business. At the end of this course, you can create your own chatbot.
Oh! Wait! You might ask the question: "No, I don't want to build a bot in Food Business. How can I just build a generic chatbot?". Don't worry! I just pick the "Food Business" theme as an example to create a sample bot. It helps me illustrate the details in a more explanatory way. However, you can apply the 14 lessons to bulid your own bot for any business usecase.
Let's start the first lesson, I will guide you to use the available template (as the expected result) after this course!
Activity: To start the first lesson of this mini course, you will learn how to install a pre-built template to have an overview of a chatbot. This activity takes about 5 to 10 minutes.
After the very first lesson, you'll set up a chatbot clone from our template "BotStar Mini Course Template" with just some clicks within 5 minutes.
What you will do:
Change bot name, primary language, timezone.
Change a restaurant name by using Global Variables.
Change the chatbot content as you expect
Publish your chatbot on Messenger or Website
Some related documents:
How to install and customize a template
Here is the expected result after installing our pre-built template:
Note: Chatbots created by yourself can be exported into templates and reused. However, bots created from templates can only be cloned to use internally.
Install a template
To use a template, you can follow these steps:
Click Create a New Bot, then choose one of existing templates and click Clone.
After that, a template setting site will show up. Let's input Bot name, select Primary Language and Bot Timezone. You can also edit the Greeting Message which will be shown to first-time users, select to display Read Receipt and Typing Indicator.
Greeting Message is often used to shortly introduce your business or the purpose of your chatbot.
Read Receipt will tell users that the message has been received and read.
Typing Indicator allows you to set duration for the typing action. This helps bot mimic the typing action of human and also give time to users to digest the information.
Also, you can customize the Global variables. This feature helps you repeat text (such as brand name, contact number or address, etc.) Global variables can be used at any place where you want to replace a text with. Beware that if the value of your variable is too long, the output message will be cut off by our system. If you want to create global variables for your bot, you can change global variables as shown below:
In case you want to change Global Variable, go to Build > Global Variables and create a row for each variable. Name is how you call the variable and Value is the text which is shown to the users. After filling the fields, click on Save button.
Set up the connection of bot with Facebook Messenger and Website (optional). Click Connect Facebook Account to connect with a Facebook account and/or fill in Website box with the URLs of destination websites. Please keep in mind that a BotStar chatbot can connect to only one Facebook account. However, a chatbot can run on many websites.
Click Next to review the "Free Template License", then click Create Bot to finish cloning this template.
If you want to change anything above, enter Configuration > General or Behaviors
After creating a chatbot from our template, you can edit the bot content as you want and test your chatbot on Preview
Publish your chatbot on Messenger
Go to Connect > Facebook Messenger, if you had already linked your Facebook Account, a list of Facebook pages you manage will show here. Choose one to link your bot with and click Assign.
Please keep in mind that you can customize your bot's accessibility, usability and audience filtering.
Accessibility: You can manage the "Whitelisted Domain", which is a list of third-party domains that are accessible in the Messenger webview.
Usability: Disable Message Composer so your user can interact with your bot only via buttons, quick replies or webviews. End users won't be able to type their response.
Audience Filtering: Users from any of the whitelist countries will see your bot on discovery surfaces on Messenger platform. Otherwise, Blacklisted countries users won't be able to see your chatbot.
Click on Publish button on the top right-hand menu bar.
Here's the result after you publish your chatbot on Messenger
Nicely done! You've successfully built a chatbot from our template and publish it on Messenger. Besides, you can also publish your chatbot on Website and Wordpress. Feel free to satisfy your curiosity by digging deeper into them.
OK! We've finished the first lesson of Mini Course, but this is just the simplest lesson. You will learn how to create a chatbot by yourself in the next lessons. I still have a lot of interesting things to share. Stay tuned for the next lesson!