Creating my first Bot
Hello Cosmonaut!! In this article, I'm going to show you an example of how to create your first bot on the platform! I will also give you valuable tips on good practices.
Last updated
Was this helpful?
Hello Cosmonaut!! In this article, I'm going to show you an example of how to create your first bot on the platform! I will also give you valuable tips on good practices.
Last updated
Was this helpful?
To make it easier, we can separate the creation of the Bot into 3 parts, namely:
Set a Bot Requirement
Create a Flowchart
Insert the Bot on the Plataform
Register users on the platform.
This will be the scope of our bot:
Let's work on it now!
Follow this step-by-step:
After accessing the platform, click on the new bot button. (as the image below)
Name your bot, for example: Enroll Bot.
Flows:
After following step 2, the bot will open a screen that displays the Flows it has. By default, a tool will always come with 3 flows already created, namely:
- Welcome
- Exception
- Delete
*From here our Bot will be separated by streams.
Flow: Welcome
Change the Welcome Flow main message to "Welcome to our platform":
Flow : Filter
Create another Stream named Filter;
Insert a filter with a function to identify if the user is registered or not in the tool
Flow: Registered User
Create a new Stream with the registered user name;
Create a message and inform the user that he or she is already registered: