# Trigger

This tab opens automatically when you select a block type with a trigger function, such as **"Start"** and **"Trigger"** blocks.

<div data-with-frame="true"><figure><img src="/files/dGhPfvlMRcJP4jhKoFTS" alt="" width="563"><figcaption></figcaption></figure></div>

## Trigger

{% hint style="warning" %}
**It is recommended to always specify a precise trigger within blocks or build your logic by using the "Variable" field.**

Blocks with no trigger specified will trigger on any message from the user (client).

<img src="/files/dFrMtAwQZMl4qst7r1GN" alt="" data-size="original">
{% endhint %}

## Math type

In this field, the value of the variable is compared to the value being checked.

{% hint style="info" %}
The variable works together with the trigger. In other words, both the trigger and the variable must be met.
{% endhint %}

{% hint style="success" %}
You can study the topic of variable comparison in detail [in this article.](/chatbot/functions/variables.md)
{% endhint %}

## Advanced settings

<div data-with-frame="true"><figure><img src="/files/xgQzuXdBcBenoeA57cT5" alt="" width="563"><figcaption></figcaption></figure></div>

In the advanced settings, there are the following fields:

* Ignore triggers (Phrases to ignore)
* Priority
* Prevent repeated responses
* Callback-Only trigger

<div data-with-frame="true"><figure><img src="/files/E1zyFr50VSi4Kx38CNnl" alt="" width="375"><figcaption></figcaption></figure></div>

### Ignore triggers

This field specifies words or phrases that the block will ignore, even if the Trigger matches.

### **Priority**

Priority of block activation (trigger checking). Each element in the builder has its own activation priority. By default, the highest priority is assigned to the Primary Trigger Check block.

### Prevent repeated responses

Enable the "Prevent repeated responses" toggle so that the block triggers for the client only one time.

<div data-with-frame="true"><figure><img src="/files/IBR6c9XmmTaTLs9NMlYh" alt="" width="452"><figcaption></figcaption></figure></div>

{% hint style="info" %}
To prevent repeated entry into a block with the "Prevent repeated responses" toggle enabled, pay attention to the connectors that may lead to this block.
{% endhint %}

<div data-with-frame="true"><figure><img src="/files/9yV6eLns3YH0sLNQf0yV" alt="" width="375"><figcaption></figcaption></figure></div>

### Callback-Only trigger

&#x20;This toggle is available only in conditional blocks within the Advanced block settings.

<div data-with-frame="true"><figure><img src="/files/mBgJE6iLCT1mjA4RdHZX" alt="" width="413"><figcaption></figcaption></figure></div>

If the toggle is **ON**, the will trigger only upon receiving a callback in the chat with the client.\
If the toggle is **OFF**, blocks will trigger according to the settings in the Trigger field.


---

# 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.mavibot.ai/chatbot/builder/setting/trigger.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.
