How can we help?
< All Topics
Print

How Triggers & Actions work?

Botbaba gives you the ability to select triggers and associate them with a series of actions.

Triggers

Triggers are events that occurs in your experience while executing the chatbot. These events can are:

• Payment Success:
The trigger executes when the payment is done successfully using botbaba’s native payment gateway integrations.
• Payment Failed:
The trigger executes when the payment is not done successfully using botbaba’s native payment gateway integrations.
• Chat Complete:
The trigger executes when the chat is completed.
• Chat Incomplete:
The trigger executes when the chat is not completed for 30 mins.
• Cart Abandon:
The trigger executes when visitors add items to the cart, but exit without completing the purchase.
Note: Cart Abandon is triggered after 30 minutes

Actions

Actions are events you can force to occur in reaction to a trigger.

Actions in botbaba:

  • HTTP Request
  • Send WhatsApp Message
  • Send Telegram Message
  • Send Email

Steps to add Triggers & Actions in Botbaba

Note: You can use Dynamic (the user defined variables inside a bot flow) and Global Variables in any of the Actions

Step 1:

Click on ACTIONS and select Triggers & Actions.

Step 2:

Click on Add New.

Step 3:

Action Name:

Give an appropriate action name to your Trigger.

Trigger:

Select the trigger on which you want to perform some action from the dropdown list.

Check the Active button to activate the trigger.

Step 4:

Select an action you want to perform when an event occurs.

Then click on Add Action and fill the details

HTTP Request

Enter the endpoint URL.

Write the content you want to send

Add Request Headers if any.

Click on Save Action and your trigger is created successfully.

WhatsApp Message

Enter the number(s) you want to send the message on

Write The action message you want to send.

Select the block from where you want to resume the chat after the WhatsApp Message is sent.

Click on Save Action and your trigger is created successfully.

Telegram Message

Enter the chat ID on which you want to send the notification on.

Token – “bot1115233676:AAGGvBlnPI7xxxxxxxxxxxxxxxxxxxxxx”

  • Every telegram bot has a unique Bot identification Id

Write The action message you want to send.

Click on Save Action and your trigger is created successfully.

Send Email

Enter the Email ID on which you want to send the Email when a specific trigger occurs.

Enter the Subject of the Email which you want to send.

Write the Body of the Email.

Click on Save Action and your trigger is created successfully.

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Previous Passing external values to the bot using the bot URL
Next How to obtain auth token or API key?
Table of Contents