Skip to main content

Notification settings

With notification settings, you can enable or disable notification channels at an account level. By default, all notification channels are enabled on an account. Organizations and projects in the account inherit the account-level settings.

When a notification channel is in the disabled state, no notification is sent for that channel, whether existing or new, until you enable the channel again.

You can enable or disable the following notification channels:

  • Slack
  • Microsoft Teams
  • Webhooks
  • PagerDuty

To disable a given notification channel, in Harness, go to Account Settings > Account Resources > Default Settings > Notifications, and then turn off the corresponding toggle.

With notification settings, you can add domain allowlists for notification channels at the account level. This feature enables you to specify fixed URL domains to which notifications can be sent. Expression URLs are not yet supported.

To add a domain filter to a notification channel, navigate to Account Settings > Account Resources > Default Settings > Notifications in the Harness platform and add the fixed URL domain to the corresponding notification setting.

You can add domain filter to the following notification channels:

  • Email
  • Slack
  • Microsoft Teams
  • Webhooks
  • PagerDuty

When a domain is added to a notification channel's domain allowlist, only recipients whose domains are present in the allowlist will receive notifications from that channel. This applies to both existing and new recipients until their domain is added to the channel's domain allowlist.

Get started with notifications

Learn how to notify users of different pipeline events using popular notification methods.

Prerequisites

Configure pipeline notifications

  1. Select the Notify icon on the right side of the Harness pipeline studio.
  2. In New Notification, add a name for your notification.
  3. In Pipeline Events, select the events (pipeline or stages) that will trigger the notification.
  4. For stage-based events, select the stage name that you want to trigger the notification and click Next.
  5. In Notification Method, select Email.
  6. For email notifications, simply type in the email addresses that you want to notify.
    • Enter multiple addresses as a comma-separated list. For example, john.doe@example.io,qateam@example.io.
  7. Additionally, use the user group that you created above to receive notifications.
  8. Select Finish and your notification is created.

When you run the pipeline, you'll receive notifications on the platform you set up.