> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paradime.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Send Elementary alerts to Slack

> send Elementary data observability alerts to Slack after your Bolt runs

This template creates a schedule to execute your dbt™ models and tests, then sends Elementary data observability alerts to Slack. It helps data teams monitor data quality issues and pipeline failures with automated notifications directly in their Slack channels.

<Check>
  **Key Benefits**

  * Automated data quality monitoring with Elementary's comprehensive observability
  * Real-time alerts delivered directly to Slack channels
  * Catch data issues early with integrated testing and alerting workflow
  * Centralized team collaboration around data incidents
</Check>

<Warning>
  **Prerequisites**

  * Scheduler Environment is connected to your data warehouse provider
  * Elementary dbt package installed in your project
  * Slack bot token configured
  * Environment variable `$SLACK_TOKEN` configured in Paradime
  * Slack channel name specified
</Warning>

### Default Configuration

**Schedule Settings**

| Setting           | Value                     | Explanation                                                                    |
| ----------------- | ------------------------- | ------------------------------------------------------------------------------ |
| **Schedule Type** | `Standard`                | Ensures consistent execution for production workloads with integrated alerting |
| **Schedule Name** | `elementary slack alerts` | Descriptive name indicating Elementary alerting to Slack                       |
| **Git Branch**    | `main`                    | Uses your default production branch for stable monitoring                      |

**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 --slack-token $SLACK_TOKEN --slack-channel <slack_channel_to_post_at>`: Sends Elementary alerts to your Slack channel

<Info>
  **Environment Variable Configuration**

  Before using this template, you must configure the `$SLACK_TOKEN` environment variable and specify your Slack channel:

  1. Navigate to Settings > Environment Variables in Paradime
  2. Add a new variable named `SLACK_TOKEN`
  3. Set the value to your Slack bot token
  4. Save the configuration
  5. Replace `<slack_channel_to_post_at>` in the command with your actual Slack channel name (e.g., `#data-alerts`)

  For detailed Slack app setup and token generation instructions, see our [Slack alerts guide](/integrations/elementary-data/sending-alerts/slack-alerts).
</Info>

**Trigger Type**

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

<Info>
  For custom Trigger configurations, see [Trigger Types](/products/bolt/creating-schedules/trigger-types) documentation.
</Info>

**Notification Settings**

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

<Info>
  Elementary alerts are sent directly to Slack and are separate from Bolt's email notifications.
</Info>

***

<Info>
  For advanced Elementary configurations and test types, refer to the [Elementary documentation](https://docs.elementary-data.com/).
</Info>


## Related topics

- [Send Elementary alerts to MS Teams](/products/bolt/creating-schedules/templates/observability-templates/send-elementary-alerts-to-ms-teams.md)
- [Slack Alerts](/integrations/elementary-data/sending-alerts/slack-alerts.md)
- [Sending Alerts](/integrations/elementary-data/sending-alerts/index.md)
- [Alerts Configuration and Customization](/integrations/elementary-data/sending-alerts/alerts-configuration-and-customization.md)
- [Observability Templates](/products/bolt/creating-schedules/templates/observability-templates/index.md)
