Help Center
Help Center
Help Center

icon picker
Automation

2 articles
You can build a workflow using our very own easy-to-use ChatBot builder.
Below are the steps involved in creating a Workflow:
Step 1: From your BotSpace Dashboard’s Homepage, click on ‘Automation’.
GIF Recording 2024-01-31 at 6.50.45 PM.gif
Step 2: From the Workflows Page, click on ‘Create flow’.
GIF Recording 2024-02-02 at 3.08.22 PM.gif
Step 3: Enter the Flow Name and Flow Description.
Screen Shot 2024-02-02 at 3.09.59 PM.png
Step 4: Once you have entered the Flow Name and Description, click on ‘Create’.
Screen Shot 2024-02-02 at 3.11.56 PM.png
This is how our Workflows Page looks like. ​
Screen Shot 2024-02-02 at 3.13.39 PM.png
Now, let’s understand how to set up triggers. ​Before we do that, let us understand what triggers are?
Trigger is basically enabling of the entire workflow when certain activites are performed. For examples, if someone sends us some text which contain certain keywords, or if a contact is created, etc.
We have 6 different types of Triggers:
Incoming text message
Incoming template message.
Label added
Label removed
Marked as closed
Contact created
We will understand the setup of all the types of triggers below:
1.) Trigger for Incoming Text Message.
In this case, the entire workflow will get triggered if a user sends us a message on Whatsapp and if the message includes certain keywords (eg - Hi, Hellow, etc.)
Step 1: Click on ‘Set up triggers’.
GIF Recording 2024-02-02 at 3.26.22 PM.gif
Step 2: Click on ‘Incoming text message’.
GIF Recording 2024-02-02 at 3.27.47 PM.gif
Step 3: Now, enter the keywords which you want to exist in the text message that will trigger the entire Workflow.
Once done, click on ‘Save’.
GIF Recording 2024-02-02 at 3.34.35 PM.gif
Congrats! You have successfully set up triggers using Incoming Text Messages.

2.) Trigger for Incoming Template Message.
In this scenario, the entire workflow will get triggered with the chosen Template Message.
Step 1: Click on ‘Set up triggers’.
GIF Recording 2024-02-02 at 5.49.53 PM.gif
Step 2: Click on ‘Incoming template message’.
GIF Recording 2024-02-05 at 4.26.49 PM.gif
Step 3: Select the Template that you want to use in your Workflow.
Once selected, click on ‘Save’.
GIF Recording 2024-02-05 at 4.28.49 PM.gif
Congrats! You have successfully set up triggers using Incoming Template Messages.
3.) Trigger for a Label added to a Contact.
In this scenario, whenever a label is added to a contact, the entire workflow will be triggered.
Step 1: Click on ‘Set up triggers’.
GIF Recording 2024-02-02 at 5.49.53 PM (1).gif
Step 2: Click on ‘Label added’.
GIF Recording 2024-02-05 at 6.38.58 PM.gif
Step 3: Now, enter the label, upon addition of which to a contact, the entire workflow will be triggered.
GIF Recording 2024-02-05 at 6.39.29 PM.gif
Congrats! You have successfully set up triggers using ‘Label added’.
4.) Trigger for Label removed from a contact.
In this scenario, whenever a label is removed from a contact, the entire workflow will be triggered.
Step 1: Click on ‘Set up triggers’.
GIF Recording 2024-02-02 at 5.49.53 PM (1) (1).gif
Step 2: Click on ‘Label removed’.
GIF Recording 2024-02-05 at 6.47.08 PM.gif
Step 3: Now, enter the label, upon removal of which from a contact, the entire workflow will be triggered.
GIF Recording 2024-02-05 at 6.50.25 PM.gif
Congrats! You have successfully set up triggers using ‘Label removed’.
5.)Trigger for when a Chat is marked as closed.
In this scenario, whenever a chat is marked as closed, the entire workflow will be triggered.
Step 1: Click on ‘Set up triggers’.
GIF Recording 2024-02-02 at 5.49.53 PM (1) (1) (2).gif
Step 2: Click on ‘Marked as closed’.
GIF Recording 2024-02-05 at 6.54.39 PM.gif
Step 3: Enter the Resolution Label. Then, click on ‘Save’. NOTE - Resolution Label is basically the reason behind marking the Chat as closed.
Screen Shot 2024-02-05 at 6.58.34 PM (7).png
Congrats! You have successfully set up triggers using ‘Marked as closed’.
6.) Triggers for when a Contact is created.
Step 1: Click on ‘Set up triggers’.
GIF Recording 2024-02-02 at 5.49.53 PM (1) (1) (2).gif
Step 2: Click on ‘Contact created’.
GIF Recording 2024-02-05 at 7.14.38 PM.gif
Step 3: Click on ‘Save’.
GIF Recording 2024-02-05 at 7.15.07 PM.gif
Congrats! You have successfully set up triggers using ‘Contact created’.

Now that we know how to set up triggers, let us now understand how to set up actions.
Below are the entire list of Actions that will occur when triggers go off.
I.) Message Actions.
1.) Send Text Message
In this scenario, whenever a trigger goes off, a text message will be sent to the recipient.
Step 1: Click on the ‘+’ icon.
GIF Recording 2024-02-13 at 6.21.37 PM.gif
Step 2: Click on ‘Send text message’.
GIF Recording 2024-02-13 at 6.22.03 PM.gif
Step 3: Click on the Text Message action and edit the message and click on ‘Save’.
GIF Recording 2024-02-13 at 6.22.58 PM.gif
There you go! This is how ‘Send text message’ action is set up.
2.) Send Template Message.
In this scenario, whenever a trigger goes off, a template message will be sent to the recipient.
Step 1: Click on the ‘+’ icon.
GIF Recording 2024-02-13 at 6.21.37 PM.gif
Step 2: Click on ‘Send template message’.

GIF Recording 2024-02-13 at 6.28.36 PM.gif
Step 3: Click on ‘Select a template’.
GIF Recording 2024-02-13 at 6.29.07 PM.gif
Step 4: Select the Template that you want to send to the recipient.
GIF Recording 2024-02-15 at 4.07.33 PM.gif
There you go! This is how ‘Send template message’ action is set up.
3.) Send Image Message.
In this scenario, whenever a trigger goes off, an image message will be sent to the recipient.
Step 1: Click on the ‘+’ icon.
GIF Recording 2024-02-13 at 6.21.37 PM (1).gif
Step 2: Click on ‘Send image message’.
GIF Recording 2024-02-15 at 6.22.16 PM.gif
Step 3: Click on the Image Message Tab.
GIF Recording 2024-02-15 at 6.22.47 PM.gif
Step 4: Enter the Link to your Media file and the caption for your image and then, click on ‘Save’.
Screen Shot 2024-02-15 at 6.23.26 PM.png
There you go! This is how ‘Send image message’ action is set up.
4.) Send Video Message.
In this scenario, whenever a trigger goes off, a video message will be sent to the recipient.
Step 1: Click on the ‘+’ icon.
GIF Recording 2024-02-13 at 6.21.37 PM (1) (1).gif
Step 2: Click on ‘Send video message’.
GIF Recording 2024-02-15 at 6.27.50 PM.gif
Step 3: Click on the Video Message Tab.
GIF Recording 2024-02-15 at 6.31.57 PM.gif
Step 4: Enter the link to your Media File and the caption for your video and then, click on ‘Save’.
GIF Recording 2024-02-15 at 6.33.33 PM.gif
There you go! This is how ‘Send video message’ action is set up.
5.) Send Audio Message.
In this scenario, whenever a trigger goes off, an audio message will be sent to the recipient.
Step 1: Click on the ‘+’ icon.
GIF Recording 2024-02-13 at 6.21.37 PM (1) (1).gif
Step 2: Click on ‘Send audio message’.
GIF Recording 2024-02-15 at 6.36.48 PM.gif
Step 3: Click on the Audio Message Tab.
GIF Recording 2024-02-15 at 6.46.23 PM.gif
Step 4: Now, enter the link to your Media file and the caption for your audio and then, click on ‘Save’.
GIF Recording 2024-02-15 at 6.46.53 PM.gif
There you go! This is how ‘Send audio message’ action is set up.
6.) Send Document Message.
In this scenario, whenever a trigger goes off, a document message will be sent to the recipient.
Step 1: Click on the ‘+’ icon.
GIF Recording 2024-02-13 at 6.21.37 PM (1) (1) (1).gif
Step 2: Click on ‘Send document message’.
GIF Recording 2024-02-15 at 6.59.25 PM.gif
Step 3: Click on the Document Message Tab.
GIF Recording 2024-02-15 at 6.59.48 PM.gif
Step 4: Now, enter the link to your Media file and the caption for your documents and then, click on ‘Save’.
GIF Recording 2024-02-15 at 7.00.41 PM.gif
There you go! This is how ‘Send document message’ action is set up.
7.) Send Quick Reply Message. ​In this scenario, whenever a trigger goes off, a quick reply message will be sent to the recipient. A quick reply message can have upto 3 quick reply buttons.
Step 1: Click on the ‘+’ icon.
GIF Recording 2024-02-21 at 4.13.00 PM.gif
Step 2: Click on ‘Send quick reply message’.
GIF Recording 2024-02-21 at 4.13.36 PM.gif
Step 3: Now, click on the Quick Reply Message Tab.
GIF Recording 2024-02-21 at 4.14.19 PM.gif
Step 4: Please enter the response variable name, title of your message and the quick reply messages.
GIF Recording 2024-02-21 at 4.18.12 PM.gif
There you go! This is how ‘Send quick reply message is set up!
image.png
8.) Send List Message.
In this scenario, whenever a trigger goes off, a List Message will be sent to the recipient. List Message shows all the items along with separate sections too. List Messages can be used when you require more than 3 Menu options because a Quick Reply Message supports only upto 3 reply buttons.
Step 1: Click on the ‘+’ icon.
GIF Recording 2024-02-21 at 4.13.00 PM.gif
Step 2: Click on ‘ Send list message’.
GIF Recording 2024-02-21 at 4.27.38 PM.gif
Step 3: Click on the List Message Tab.
GIF Recording 2024-02-21 at 4.28.09 PM.gif
Step 4: Now, enter the response variable name, message header and body, items and all other required details.
GIF Recording 2024-02-21 at 4.42.25 PM.gif
There you go! This is how ‘Send quick reply message is set up!
Now, we are completed with all the message actions.
II.) Input Actions.
1.) Ask a Question.
In this scenario, whenever a trigger goes off, a question will be asked from the recipient.
Step 1: Click on the ‘+’ icon.
GIF Recording 2024-02-21 at 4.13.00 PM.gif
Step 2: Click on ‘Ask a question’.
GIF Recording 2024-02-21 at 7.18.16 PM.gif
Step 3: Click on the Question Tab.
GIF Recording 2024-02-21 at 7.18.52 PM.gif
Step 4: Enter your question, type of response you want it to be, variable name, check/uncheck the fall message option and lastly, enter the Fallback Message.
Note - A Fallback message is used when an answer provided by the recipient do not match with the type of response you selected. This is when a Fallback Message would be sent to the recipient.
GIF Recording 2024-02-21 at 7.21.07 PM.gif
You have now successfully set up the ‘Ask a question’ action.
III.) Branch Actions.
1.) If/then Branch.
In this scenario, whenever a trigger goes off, an If/then Branch action will take occur, wherein if the condition is met, you can set up further actions for it and if the condition is not met, you can set up a different set of actions.
Step 1: Click on the ‘+’ icon.
GIF Recording 2024-02-21 at 4.13.00 PM.gif
Step 2: Click on ‘Ask a question’.
GIF Recording 2024-02-21 at 7.51.00 PM.gif
Step 3: Click on the If/Then Branch Tab.
GIF Recording 2024-02-21 at 8.00.30 PM.gif
Step 4: Fill all the required details and click on ‘Save’.
GIF Recording 2024-02-21 at 7.57.26 PM.gif
There you go! You have now successfully set up the ‘If/then branch’ action.
2.) Value Equals Branch.
In this scenario, whenever a trigger goes off, a Value Equals Branch will occur wherein if the Variable is equal to the Value, you can set up further actions for it and if the condition is not met, you can set up a different set of actions.
Step 1: Click on the ‘+’ icon.
GIF Recording 2024-02-21 at 4.13.00 PM.gif
Step 2: Click on ‘Value equals branch’.
GIF Recording 2024-02-22 at 11.18.18 AM.gif
Step 3: Click on the Value Equals Branch button.
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.