> 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-7.3/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/aAlfZI37JR0ShCZIy4qK/blobs/DvFgFIiQyK1001WoQlCo/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/aAlfZI37JR0ShCZIy4qK/blobs/xdE9hW6BcdiZ0hOESlop/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/aAlfZI37JR0ShCZIy4qK/blobs/a69iEToxNMQ6pY57eTfM/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/aAlfZI37JR0ShCZIy4qK/blobs/4OvvblEb79u4yX3EN7Qv/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/aAlfZI37JR0ShCZIy4qK/blobs/A7wBFCteAwqWUtkQgL4S/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/aAlfZI37JR0ShCZIy4qK/blobs/sR4Unu2FJzwiRF80ScBU/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/aAlfZI37JR0ShCZIy4qK/blobs/lCJnQeqz2L4a2Dgvxq06/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/aAlfZI37JR0ShCZIy4qK/blobs/jDhmhTbW0qe0k1L2OSTp/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/aAlfZI37JR0ShCZIy4qK/blobs/M06qnIUC8VLHPRFQupAf/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/aAlfZI37JR0ShCZIy4qK/blobs/OHwBtHW0RRcoTBn5rx2X/administration-settings-notification_rules-slack_integration-4.png)

![](https://content.gitbook.com/content/aAlfZI37JR0ShCZIy4qK/blobs/czsP0sJA4PyNLUiKUjbH/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/aAlfZI37JR0ShCZIy4qK/blobs/0matTOPo9xXAb2d6EHgQ/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/aAlfZI37JR0ShCZIy4qK/blobs/A3lZSAa4rGYPPDb2Q9Pk/administration-settings-notification_rules_push_configuration_2.png)
