Conditions within your Chatammo account are a recent addition and very much welcomed. But let’s go through exactly how to use conditions within your chatbot.
Chatbot Drag And Drop Builder
So let’s begin with the Chatammo flow builder, which has a visual drag and drop working area, to make building your chatbots a whole lot simpler, and can see exactly where your chatbot is going.
The Conditions Chatbot Element
We have recently installed a brand new element to give our flow builder more power again, called ‘condition’
The condition element means you can now create rules for your chatbot to follow, and give the chatbot more intelligence to be able to bring your conversation marketing to a new level.
For example, if your subscriber is male the chatbot could refer to them as Mr. If you have already collected the user information the chatbot will not ask the user for the information again. Likewise, if the chatbot does not have the user’s information it will ask the user for what is needed.
Building A Condition And Rules-Based Chatbot
What I would like to do in this article is show how I would build a condition and rules-based chatbot within the flow builder.
So first if we head over to the visual flow builder, and add your trigger element to the editor. By double-clicking on the trigger you will be able to add the data.
Enter the word condition for the bot we are about to build, then press the Ok button.
This will mean if the subscriber types condition the chatbot flow will begin.
To make the chatbot perform the trigger needs to be connected to something, so we are going to connect this to the start bot flow.
On the start bot flow double click and in the form field give your chatbot a title. In this example, I am going to use the title of ‘condition demo’ in the title field.
The other fields are optional, so we will keep them blank for this demo. Now click the Ok button to save your work.
Adding Your Chatbots Condition
Next, we are going to add the condition element.
This is simply done by dragging and dropping the element and then connecting it.
Double click on the condition element, and head to your left within the form field. There will be two radio buttons
*Note if you select any match, at least one condition has to be true.
if you select all match, all of the conditions have to be true.
Because we are only configuring one condition, you can select either of these choices.
You will now see the system field and custom field, both of these fields contain initial fields to configure the conditions. By clicking the + you can add more fields and add more conditions to them, Likewise, you can delete extra conditions by clicking the remove button.