# 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.

![](/files/8y33nkX492qVgIN2MtGx)

### Creating new Notification Rule

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

![](/files/ugZjpKfTCr3ZXlkffQXR)

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

![](/files/nZYnBepFhCPxmuZPwNSS)

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

![](/files/L01O3ysL7OrM40p3ame3)

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.

![](/files/V2KIauDIJHvvsXzRdfc5)

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

![](/files/xU6pKxl5d5jkOmzDm0u6)

### 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.

![](/files/47bsVC96yNRWYJYbSVt2)

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

![](/files/52BHUyGTZkLa4lFP7Es1)

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

![](/files/FeO1QDnBHoiuvslqqhgi)

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

![](/files/ronUpo0IkqslmVC45Sk6)

![](/files/spNzC18Bsv589oKgRXiE)

### 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.\\

![](/files/iDGxPoHNkiqchrsZ8KGB)

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**

![](/files/zHVcVPIFjIFLdZwEOUDm)


---

# 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.storware.eu/backup-and-recovery-71/administration/settings/notification-rules.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.
