Triggers (mini-app 2.0)

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.



    • Related Articles

    • What is Mini-App

      Mini-Apps is packaged External Request. In an external request action, you need to configure all the parameters, set inputs and outputs which can be a hassle. Besides, users without coding knowledge might don't know how to call an API correctly. ...
    • Mini-App

      The mini app store is a great way to integrate with 3rd party systems. OCP also offers developers the options to build the mini app visually with our flow builder. OCP's official mini app store has more than 60 mini apps to integrate with 3rd party ...
    • Mini Apps

      How to install mini apps On your home Page Scroll Down and See the Mini-Apps on your left-hand side. Within the Mini Apps section, you'll find two main categories: "Install Mini Apps" and "Purchase Mini Apps." Also a button “+Install App” Installed ...
    • Overview (mini-app 2.0)

      Create New App Follow steps 1 to 7 in the above screenshot to create a version 2 app and enter the app builder. Process Overview Usually, an app is built in the following order: Steps What to do Steps What to do Settings set up basic app info Auth ...
    • Mini-App Sales

      If you have published paid mini app in your workspace, and you have sales for the mini app. You can find below purchase history in your “Mini-App Sales” You can see the buyer’s name & email, and also the payment receipt. The payment will go to your ...