> 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/flow-management/notification.md).

# Notification

Stay informed about the status of your workflows

## 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="https://1036205596-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fv9avy716UiAsS24zOznZ%2Fuploads%2FbBvqyjEozbCPsHjUKsqX%2Fimage.png?alt=media&amp;token=8b0774c5-c851-4eff-845a-b69485c73b33" 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="https://1036205596-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fv9avy716UiAsS24zOznZ%2Fuploads%2FStOJJJfzpRTxzrZWjYPn%2Fimage.png?alt=media&amp;token=f3e64dd5-3a5e-4859-adad-e06420fca44c" 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="https://1036205596-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fv9avy716UiAsS24zOznZ%2Fuploads%2F2Pn9Y4tXJ3P3TUn1EUEP%2Fimage.png?alt=media&amp;token=477b4c1e-92c6-4d6e-873e-f2c10224c2cd" 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="https://1036205596-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fv9avy716UiAsS24zOznZ%2Fuploads%2Frx4aJpnH3MPHrgG5AMHE%2Fimage.png?alt=media&amp;token=a6a9c782-86ec-4f36-be23-50d1130346df" alt=""><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}
