Triggers (mini-app 2.0)
Â
Triggers are used to transfer information. When you send data from your app to users' chatbots, you use triggers:
Â
Create Trigger
To create a trigger, follow steps 1 to 6 in the following screenshot:
Â
Click on Add Item to specify what information to send back to the chatbot. For example, a payment status:
Â
You can send as many items as you need. When there are too many items, you might want to use a JSON variable to package them. And specify the JSON variable as an item here instead.
Â
TIP - The app field you select here must be an existing field. You are unable to create a new field here. Please create it in the App Fields section.
Â
Fire Trigger
Â
Wherever you need to notify an event or send data to chatbots, use a Fire Trigger action.
Â
Use Trigger
Â
Thereafter, users can set up a flow to deal with the payment paid event, e.g. mark the order as paid, send a receipt, etc.