# Triggers

Triggers are used to transfer information. When you send data from your app to users' chatbots, you use triggers:

![mini-app2](https://docs.uchat.com.au/assets/img/app2-39.486b7ccb.png)

### Create Trigger <a href="#create-trigger" id="create-trigger"></a>

To create a trigger, follow steps 1 to 6 in the following screenshot:

![mini-app2](https://docs.uchat.com.au/assets/img/app2-40.4c2db39e.png)

Click on **Add Item** to specify what information to send back to the chatbot. For example, a payment status:

![mini-app2](https://docs.uchat.com.au/assets/img/app2-41.03a736b3.png)

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.

{% hint style="info" %}
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.
{% endhint %}

### Fire Trigger <a href="#fire-trigger" id="fire-trigger"></a>

![mini-app2](https://docs.uchat.com.au/assets/img/app2-51.d7c91504.png)

Wherever you need to notify an event or send data to chatbots, use a **Fire Trigger** action.

### Use Trigger <a href="#use-trigger" id="use-trigger"></a>

![mini-app2](https://2144409983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHbDmB8MlZRo4hzrDiO0X%2Fuploads%2FZe9K5HyCSGVkl8gzTmO6%2FRapidbott%20Basics.png?alt=media\&token=93045248-8e34-482e-997c-e7184c38307b)

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.

![mini-app2](https://docs.uchat.com.au/assets/img/app2-43.f2ab57d8.png)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rapidbott.com/help-center/mini-apps/mini-app-2.0/triggers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
