# Send an App Notification

{% hint style="info" %}
The steps given below are used to configure app notifications in both web and mobile applications.
{% endhint %}

## Selecting the communication type

For configuring the type of alert, under **Select communication type**, enter/select the values for the following fields:

<figure><img src="/files/fLHINV6deRUh0pdWaRv2" alt=""><figcaption><p><em>Send an App Notification</em></p></figcaption></figure>

| Select communication type | Select **Notification** as the type of alert that you want to configure |
| ------------------------- | ----------------------------------------------------------------------- |
| Notification title        | Enter a title for your notification                                     |
| Notification body         | Enter the text that you want to send in the notification                |

{% hint style="info" %}
**Note**: To fetch and send out dynamic values in the alerts, use the following syntax:`[[$<key of the field>]]`

Please refer to the above image for an example of the use of keys for dynamic values. In this example, **e** is the key that is obtained from the backend, the dynamic value of which will be sent out in the alert.
{% endhint %}

## Selecting the receivers for your app notification

For configuring the receivers of the alert, under **Select receivers**, select the required options from the fields below:

<figure><img src="/files/LN6f9v5i7HRsrNb5kVfJ" alt=""><figcaption><p>Selecting the receivers</p></figcaption></figure>

| Field                                                           | Description                                                                                |
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| Users who are present in company defined roles                  | You must select the roles to which the Notification alert is to be sent.                   |
| Email IDs and Phone Numbers from a particular field in the form | You must select the fields, to the values of which you want to send the Notification alert |

## Display configurations

For configuring the display for the app alert, under **Display Configurations**, select the required options from the fields below :

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

| Field                                       | Description                                                                                                                                                                |
| ------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Priority Name                               | Enter a name for priority to be displayed with the associated notification                                                                                                 |
| Choose color                                | Select a color for the Priority label that will be diplayed on the card from the color palette at the right. This field will be autopopulated based on the color selected. |
| Set Alert Notification Ringtone             | Select a ringtone for the app alert                                                                                                                                        |
| Set Alert Notification Ringtone Frequency   | Select the frequency at which the app alerts are to be sent                                                                                                                |
| Can user swipe to dismiss the notification? | This feature is applicable to mobile phones only. Select Yes if you want to allow the user to be able to dismiss the notification from the lock screen.                    |

## Setting a condition for your alerts

Now the last stage is where we configure the notification alerts to be sent out based on a predefined condition.&#x20;

Refer to the steps to configure a condition for alerts [**here**](https://docs.senpiper.com/alarm-builder/setting-up-an-alarm/add-new-alarm/defining-the-communication-type/pages/-MhrvLO7WH40juxnOipm#3.-setting-a-condition-for-your-alerts).


---

# 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.senpiper.com/alarm-builder/setting-up-an-alarm/add-new-alarm/defining-the-communication-type/send-an-app-notification.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.
