---
title: Notifications
description: >-
  Set up notification rules that send a recurring Slack or Microsoft Teams
  summary of Cloud Cost Recommendations matching a scope you define.
breadcrumbs: Docs > Cloud Cost Management > Cloud Cost Recommendations > Notifications
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Notifications

## Overview{% #overview %}

A notification rule sends a recurring Slack or Microsoft Teams summary of [Cloud Cost Recommendations](https://docs.datadoghq.com/cloud_cost_management/recommendations.md) matching a scope you define, without taking any action on your resources. Use a notification rule when you want visibility into new savings opportunities without configuring Datadog to make changes automatically.

Notification rules are different from [Cost Optimization Automations](https://docs.datadoghq.com/cloud_cost_management/recommendations/cost_optimization_automation.md), which act on recommendations directly on a recurring schedule.

## Prerequisites{% #prerequisites %}

- The **Cloud Cost Management - Cloud Cost Management Write** permission to create or edit a notification rule.
- A Slack workspace or Microsoft Teams tenant with the Datadog app installed. See [Slack integration](https://docs.datadoghq.com/integrations/slack.md) or [Microsoft Teams integration](https://docs.datadoghq.com/integrations/microsoft_teams.md). For a private Slack channel, add the Datadog Slack app to that channel before you select it as a destination.

## Set up a notification rule{% #set-up-a-notification-rule %}

To set up a notification rule:

1. Navigate to [Cloud Cost > Optimize > Automations](https://app.datadoghq.com/cost/optimize/automations).
1. Select the Notification tab.
1. Click Set New Notification.
1. Enter a name for the notification rule.
1. In the Define scope section, use the Team, Recommendation Type, and Env filters to restrict the notification to matching resources. Click + Filter to add more filters. Leave the filters empty to include all resources.
1. (Optional) In Monthly savings range, set a minimum, a maximum, or both. Only recommendations with estimated monthly savings in this range are included. Each notification lists the five recommendations with the highest savings in the selected scope.
1. In the Set schedule section, select the notification frequency, execution day, execution time, and timezone.
1. In the Set destination section, select Slack or Microsoft Teams, then select a workspace and channel (Slack) or a tenant, team, and channel (Microsoft Teams). For Slack, you can optionally add @-mention targets to mention specific users in the notification message.
1. (Optional) In the Customize message section, choose which details to include:
   - Notification details: Notification name, Total est. savings, and Custom text. Custom text supports up to 500 characters and the dynamic fields `{{total_savings}}`, `{{rec_count}}`, and `{{digest_date}}`.
   - Recommendation details: Why, Risk, and Effort. Recommendation type and estimated savings are always included.
   - Tags: In Include tags, select or enter up to 10 tag keys, such as `env` or `service`. Each recommendation shows only tags with matching keys. Leave the field empty to include all tags.
1. (Optional) Review the notification in the Preview panel. See Preview a notification.
1. (Optional) Click Test Notification to send a one-time message to the selected destination.
1. (Optional) Turn off the Enabled toggle to create the rule without activating it.
1. Click Save.

## Preview a notification{% #preview-a-notification %}

While you configure a rule, the Preview panel updates as you edit:

- Recommendations: The recommendations that match the rule's scope and monthly savings range.
- Notification message: The Slack or Microsoft Teams message that the rule sends, including your message customization. Previewing does not save the rule or send a message.

To see the message in your channel before you save the rule, click Test Notification.

## Manage notification rules{% #manage-notification-rules %}

The Notification tab lists every notification rule in your organization. From this page you can:

- Toggle a rule on or off without deleting it
- Edit a rule's name, scope, savings range, schedule, destination, or message customization
- Delete a rule

## Further reading{% #further-reading %}

Additional helpful documentation, links, and articles:

- [Cloud Cost Management](https://docs.datadoghq.com/cloud_cost_management.md)
- [Cloud Cost Recommendations](https://docs.datadoghq.com/cloud_cost_management/recommendations.md)
- [Cost Optimization Automations](https://docs.datadoghq.com/cloud_cost_management/recommendations/cost_optimization_automation.md)
