# Send Elementary alerts to MS Teams

This template creates a Bolt schedule to send Elementary data observability alerts to Microsoft Teams. It helps data teams monitor data quality issues and pipeline failures with automated notifications directly in their Microsoft Teams channels.

{% hint style="success" %}

#### Key Benefits

* Automated data quality monitoring with Elementary's comprehensive observability
* Real-time alerts delivered directly to Microsoft Teams channels
* Catch data issues early with integrated testing and alerting workflow
* Centralized team collaboration around data incidents
  {% endhint %}

{% hint style="warning" %}

#### Prerequisites

* Scheduler Environment is connected to your data warehouse provider
* Elementary dbt package installed in your project
* Microsoft Teams webhook URL configured
* Environment variable `$CHANNEL_WEBHOOK` configured in Paradime

For this Elementary schedule to work, you will additionally need to configure the `$CHANNEL_WEBHOOK` environment variable. Check our full guide [here](https://docs.paradime.io/app-help/integrations/observability/elementary-data/sending-alerts/microsoft-teams-alerts#id-2.-create-teams-webhook).
{% endhint %}

***

### Degault configuration

**Schedule Settings**

<table><thead><tr><th>Setting</th><th width="262">Value</th><th>Explanation</th></tr></thead><tbody><tr><td><strong>Schedule Type</strong></td><td><code>Standard</code></td><td>Ensures consistent execution for production workloads with integrated alerting</td></tr><tr><td><strong>Schedule Name</strong></td><td><code>elementary ms teams alerts</code></td><td>Descriptive name indicating Elementary alerting to MS Teams</td></tr><tr><td><strong>Git Branch</strong></td><td><code>main</code></td><td>Uses your default production branch for stable monitoring</td></tr></tbody></table>

**Command Settings**

The template uses a sequence of commands that test, and monitor your data pipeline:

* `dbt test`: Runs configured data tests including Elementary's anomaly detection
* `edr monitor --teams-webhook $CHANNEL_WEBHOOK`: Sends Elementary alerts to your Microsoft Teams channel

{% hint style="info" %}

#### Environment Variable Configuration

Before using this template, you must configure the `$CHANNEL_WEBHOOK` environment variable:

1. Navigate to Settings > Environment Variables in Paradime
2. Add a new variable named `CHANNEL_WEBHOOK`
3. Set the value to your Microsoft Teams webhook URL
4. Save the configuration

For detailed webhook setup instructions, see our [Microsoft Teams alerts guide](https://docs.paradime.io/app-help/integrations/observability/elementary-data/sending-alerts/microsoft-teams-alerts#id-2.-create-teams-webhook).
{% endhint %}

**Trigger Type**

* **Type**: Scheduled Run (Cron)
* **Cron Schedule**: `0 */2 * * *` (Every 2 hours for regular monitoring)

{% hint style="info" %}
For custom Trigger configurations, see [Trigger Types](https://docs.paradime.io/app-help/documentation/bolt/creating-schedules/trigger-types) documentation.
{% endhint %}

**Notification Settings**

* **Email Alerts**:
  * **Success**: Confirms pipeline completion (Elementary alerts sent separately to Teams)
  * **Failure**: Alerts when the schedule fails to complete
  * **SLA Breach**: Warns when execution exceeds expected duration

{% hint style="info" %}
Elementary alerts are sent directly to Microsoft Teams and are separate from Bolt's email notifications.
{% endhint %}

***

{% hint style="info" %}
For advanced Elementary configurations and test types, refer to the [Elementary documentation](https://docs.elementary-data.com/).
{% endhint %}

***
