# Alarm Triggers

The quickest way to create an alarm trigger, is to click on the widget of a tag that you wish to create an alarm for. In this example below, I am clicking on the Site 1/Flare Temp widget to enable the Notifications for that tag.

&#x20;![](/files/Ek6tgI7pr6LCon5wuoHs)(Click to enlarge)

* To create an alarm notification for a tag that is not displayed on a dashboard - Navigate to the tag in the Tags tree, and click on the tag. This will display the popup items as below, then click on the Notifications option with the bell icon.

<div align="left"><figure><img src="/files/UFgRoFNGmcpwNk2JvAqj" alt=""><figcaption></figcaption></figure></div>

### Setup a Notification Trigger

In this example, the notification will:

* Trigger when the Flare Temp rises above 1900F
* With the Orange severity of "Alarm"
* It will repeat 2 times, for a total of 3 messages, 5 minutes apart. (Repeat is stopped by acknowledging the alarm.)
* It will message Bob Ross by his preferred Contact Preferences

<div align="left"><figure><img src="/files/ICIkLggBTDCBeWKg4wOY" alt=""><figcaption></figcaption></figure></div>

### Triggers

{% tabs %}
{% tab title="Current Value" %}
This trigger takes the current live value of a tag and compares it to the next items in the trigger.

<figure><img src="/files/W0QtiidZb8PM0xgM4xft" alt=""><figcaption></figcaption></figure>

&#x20;It's options for comparison are:

* **Fixed Value** [(Jump to)](#compared-value)
* **Value of** [(Jump to)](#compared-value)
  {% endtab %}

{% tab title="Max Change over" %}
Instead of a live value, this trigger operates on a *rate of change*. This allows for alarming, or automatic reporting, triggered by something like a sudden change in temperature or pressure.

<figure><img src="/files/sz7ZP2PUMKLTvQDSoFRi" alt=""><figcaption></figcaption></figure>

&#x20;It's options for comparison are:

* **Fixed Value** [(Jump to)](#compared-value)
* **Value of** [(Jump to)](#compared-value)
  {% endtab %}

{% tab title="Is NA" %}
When data is not being updated to InSite the tag will report "NA". A trigger on a tag for NA can alert personnel that there is an issue with the system, control panel, or data connection.InSite offers the ability to create custom triggers&#x20;
{% endtab %}

{% tab title="Custom Formula" %}
InSite offers the ability to create your own custom trigger using your own formula, and written similar to Javascript. When the Custom Formula option is selected it will auto-populate with the data entered in any previous selection.&#x20;

<figure><img src="/files/yjqs5CNG9Nb483aIjDge" alt=""><figcaption></figcaption></figure>

This option also allows for a custom message to appear in your Notification email/text and on the Notifications screen on InSite!

<figure><img src="/files/ZOFx7GaWmYAQA2Re0qVd" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### Comparators

{% tabs %}
{% tab title=">" %}
Greater Than
{% endtab %}

{% tab title="<" %}
Less Than
{% endtab %}

{% tab title=">=" %}
Greater Than OR Equal To
{% endtab %}

{% tab title="<=" %}
Less Than OR Equal To
{% endtab %}

{% tab title="=" %}
Equal To
{% endtab %}

{% tab title="!=" %}
NOT Equal To
{% endtab %}
{% endtabs %}

### Compared Value

* **Fixed Value**: A static value that is entered by a user

![](/files/FhEnxmuWb19tqeO87Cde)

* **Value of**: This value is provided by a selected tag, allowing for two separate tags to be compared in an alarm trigger.

![](/files/aQRtWfUFXHT44dOEiMAk)

### Report Trigger

A trigger does not need to have a recipient. Leaving the recipients blank is a way to create a trigger that is simply used in a report's settings.

* [Click Here to learn more about Reports triggered On Event.](/reports/edit-report.md#the-reports-trigger)


---

# 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.kesinsite.com/alarm-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.
