# Notifications

In the **Setup** → **Notifications** chip, you can configure the notifications sent to users for these specific Data Watcher events:

* cut-off ended with an error
* cut-off warning (when the cut-off is about to expire)
* flow completed successfully
* flow in error

Moreover, a default template can be configured.

To create a new notification, follow these steps:

1. Click the **NEW** button.
2. In the **New notification channel** window, enter the name and description of the notification channel you are configuring.
3. Select a template for each event listed. Note that templates must be already configured. Refer to the [Email Templates](/data-watcher-1.21/setup/email-templates.md) page for details.
4. Select a connection in the **Select connection** panel on the right. If no connections are listed, create a new connection by clicking the + button and filling in these fields:
   1. **Name**: name of the connection you are creating
   2. **System Sender Email**: address sending the notification message via email
   3. **Host**: address of the SMTP server
   4. **Port**: port of the SMTP server
   5. **Authentication**: enable this button if you want authentication. The Username and Password fields will appear. Enter the user identifier for connection and its password.
   6. **StartTLS**: enable this button if you want to use the STARTTLS protocol.
   7. **Max Connections**: maximum number of connections
   8. **Maximum Retries**: maximum number of reconnection attempts
   9. **Retry Interval**: number of seconds waited before retrying a connection
5. Confirm by clicking the **Create** button. The connection will be added to the list. Select it to confirm.
6. Click the **Create** button to confirm. Your notification email will appear in the result list.

When Data Watcher is in a bundle with Data Mover, the email notification channel is configured as explained on the [Configuring a new Email Notification Channel](/data-mover-1.21/notification-channels/configure-a-new-email-notification-channel.md) page.


---

# 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.primeur.com/data-watcher-1.21/setup/notifications.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.
