> For the complete documentation index, see [llms.txt](https://docs.storware.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.storware.eu/backup-and-recovery-71/administration/settings/notification-rules.md).

# Notification Rules

## General

Storware Backup & Recovery allows a Notification Rules feature to create a semi-custom rule that will send notifications triggered by an event specified in a rule.\
Go to Settings on the left menu and then click on the Notification Rules button.

![](https://content.gitbook.com/content/pLZqcHnyZSrAssyuc8UU/blobs/dpQfLoZLXLsZsNyTSQwl/administration-settings-notification_rules_1.png)

### Creating new Notification Rule

To create a new rule, simply click on **Create** button. A new window will appear.

![](https://content.gitbook.com/content/pLZqcHnyZSrAssyuc8UU/blobs/3iF8N8T7GxqmPszaPM0m/administration-settings-notification_rules_2.png)

Fill in a name for your rule, set your notification to active and add one or more conditions from a list.

![](https://content.gitbook.com/content/pLZqcHnyZSrAssyuc8UU/blobs/AsAq4aPxHyE4Xj1cwb1L/administration-settings-notification_rules_3.png)

For some conditions, you will need to provide more information, for example, choose TaskType.

![](https://content.gitbook.com/content/pLZqcHnyZSrAssyuc8UU/blobs/wZ7eEmlhkbEEvpFpwZMy/administration-settings-notification_rules_4.png)

The last step is to add an action with related recipients.\
Click **Add Action** button, choose **Action Type** from a list, add one or more recipients passing their email addresses.

![](https://content.gitbook.com/content/pLZqcHnyZSrAssyuc8UU/blobs/x3yP1o4wWaHQNE4CjAtj/administration-settings-notification_rules_5.png)

After an event that will trigger a notification, all recipients who have been added to the notification rule will receive an email notification.

![](https://content.gitbook.com/content/pLZqcHnyZSrAssyuc8UU/blobs/T5GzivOMhSKblHgqFnOi/administration-settings-notification_rules_6.jpg)

### Slack integration

From Storware Backup & Recovery version 5.0, there is a possibility to send notifications to the Slack channel. Follow these steps to authorize platform in your Slack workspace:

1\. Go to [this page](https://api.slack.com/apps) and create a new Slack app in the workspace where you want to post messages. Select From scratch option and Enter the **App Name** and **Workspace** in which you want to use this app.

![](https://content.gitbook.com/content/pLZqcHnyZSrAssyuc8UU/blobs/wfO227P4KRbuxS2gz6XM/administration-settings-notification_rules-slack_integration-1.png)

2\. From the Features page, toggle Activate Incoming Webhooks on. Click Add New Webhook to Workspace.

![](https://content.gitbook.com/content/pLZqcHnyZSrAssyuc8UU/blobs/mh0GJ3tLZeSK5fatHU6C/administration-settings-notification_rules-slack_integration-2.png)

3\. Pick a channel that the app will post to, then click Allow.

![](https://content.gitbook.com/content/pLZqcHnyZSrAssyuc8UU/blobs/SNvKwJkdB19D7IaLWg62/administration-settings-notification_rules-slack_integration-3.png)

4\. Copy the Webhook URL and use its Notification rules. Select Action Type as SLACK and paste the URL in the **Name** field.

![](https://content.gitbook.com/content/pLZqcHnyZSrAssyuc8UU/blobs/soPD6VzwfFXHNAdny5s8/administration-settings-notification_rules-slack_integration-4.png)

![](https://content.gitbook.com/content/pLZqcHnyZSrAssyuc8UU/blobs/4cCtHHI0qTvds2A3K0h6/administration-settings-notification_rules-slack_integration-5.png)

### Configuration of Push Notification

To configure a push notification, provide URL of endpoint address, where you want to receive notifications and add if needed custom headers that will be added to POST request with notification.\\

![](https://content.gitbook.com/content/pLZqcHnyZSrAssyuc8UU/blobs/WEEtZyDwJ2j9ccm5chPh/administration-settings-notification_rules_push_configuration_1.png)

Body of notification will contain two fields:

* **subject**
* **messages** - list of notification messages that have been generated base on notification policy and triggered during run of program

To check how your notification will be looking please click on button **Show preview for push notifications**

![](https://content.gitbook.com/content/pLZqcHnyZSrAssyuc8UU/blobs/iB74hmWmX43DQysXTZlQ/administration-settings-notification_rules_push_configuration_2.png)
