> For the complete documentation index, see [llms.txt](https://docs.mydbsync.com/cloud-workflow/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mydbsync.com/cloud-workflow/create-your-workflow/actions/flow-management/notification-1.md).

# Notification

## Configure notifications <a href="#configurenotifications" id="configurenotifications"></a>

This page describes how to configure notifications to send task status updates to various communication channels.

### Supported channels <a href="#supportedchannels" id="supportedchannels"></a>

You can send notifications to the following channels:

* Email
* Slack
* Google Chat

### Notification triggers <a href="#notificationtriggers" id="notificationtriggers"></a>

For each channel, you can configure notifications to fire for the following events:

* **Process Started**: Fires when a task begins execution.
* **Process Completed**: Fires when the task finishes successfully.
* **Process Errored**: Fires on failure or partial error.
* **Connector Disconnected**: Fires when a connector is disconnected.

### Configure email notifications <a href="#configureemailnotifications" id="configureemailnotifications"></a>

To send task status updates to an email inbox, do the following:

{% stepper %}
{% step %}
In the **Channels** menu, click **Email**.
{% endstep %}

{% step %}
Under **Receive notification when**, select the events that you want to trigger a notification.
{% endstep %}

{% step %}
In the **Preferred email** field, enter the primary email address.
{% endstep %}

{% step %}
Optional: In the **Add more recipients** field, enter additional email addresses separated by commas.
{% endstep %}

{% step %}
Click **Save Configuration**.

<div data-with-frame="true"><figure><img src="/files/C4bjXyj4KBQyr2TO4k8D" alt=""><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}

### Configure Slack notifications <a href="#configureslacknotifications" id="configureslacknotifications"></a>

To send task status updates to a Slack channel or direct message, do the following:

{% stepper %}
{% step %}
In the **Channels** menu, click **Slack**.
{% endstep %}

{% step %}
Under **Destination**, select the target workspace and channel.
{% endstep %}

{% step %}
Under **Notify me when**, select the events that you want to trigger a notification.
{% endstep %}

{% step %}
Optional: Turn on any of the following features:

* **Include task deep link**: Appends a direct link to the task in DBSync so recipients can navigate instantly.
* **@mention on error**: Tags a specific person when a process error occurs.
* **Include record count**: Shows the number of synced records in the notification message.
  {% endstep %}

{% step %}
Customize the **Payload template** as described [here](#customizethepayloadtemplate).
{% endstep %}

{% step %}
Click **Save Configuration**.

<div data-with-frame="true"><figure><img src="/files/Q7liuJf4X4xFl6jlj71a" alt=""><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}

### Configure Google Chat notifications <a href="#configuregooglechatnotifications" id="configuregooglechatnotifications"></a>

To send task status updates to a Google Chat space, do the following:

{% stepper %}
{% step %}
In the **Channels** menu, click **Google Chat**.
{% endstep %}

{% step %}
Under **Destination**, select the target workspace and space.
{% endstep %}

{% step %}
Under **Notify me when**, select the events that you want to trigger a notification.
{% endstep %}

{% step %}
Optional: Turn on any of the following features:

* **Include task deep link**: Appends a direct link to the task in DBSync so recipients can navigate instantly.
* **@mention on error**: Tags a specific person when a process error occurs.
* **Include record count**: Shows the number of synced records in the notification message.
  {% endstep %}

{% step %}
Customize the **Payload template** as described [here](#customizethepayloadtemplate).
{% endstep %}

{% step %}
Click **Save Configuration**.

<div data-with-frame="true"><figure><img src="/files/yAChrOlqftIJkmc4gdZb" alt=""><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}

### Customize the payload template <a href="#customizethepayloadtemplate" id="customizethepayloadtemplate"></a>

For supported channels, you can customize the structure and content of the notification message.

To customize the message, do the following:

{% stepper %}
{% step %}
In the **Payload template** field, enter your custom message. You can include the following variables:

* `{{event_type}}`
* `{{task_id}}`
* `{{task_name}}`
* `{{status}}`
* `{{timestamp}}`
* `{{record_count}}`
* `{{connectors}}`
  {% endstep %}

{% step %}
Optional: To revert to the default message structure, select a payload type from the list, and then click **Reset**.
{% endstep %}

{% step %}
Optional: To verify your configuration, click **Send Test Notification**.

<div data-with-frame="true"><figure><img src="/files/G2vi3KsIyzcrUlT5QKQu" alt=""><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}
