# 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="https://4216568905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mc6E3BSGr4i8kVdH38k%2Fuploads%2FMC13JPxDwfZoVsZmlbl1%2Fimage.png?alt=media&#x26;token=f3940894-133f-4008-9c3c-510801d2a475" 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="https://4216568905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mc6E3BSGr4i8kVdH38k%2Fuploads%2FZVKe8jbeWflvcUi6pa3g%2Fimage.png?alt=media&#x26;token=6384da37-cff3-4283-83f9-faa173719a06" 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="https://4216568905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mc6E3BSGr4i8kVdH38k%2Fuploads%2FBFEP98WylD2utKEBfRmI%2Fimage.png?alt=media&#x26;token=492d13b6-8a01-4116-a1cf-ae67cc4c0b1b" 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/..#3.-setting-a-condition-for-your-alerts).
