Skip to main content

Configuring Slack and MS Teams notification rules for errors

How to configure Slack and MS Teams channel notifications.

Stephen Chambers avatar
Written by Stephen Chambers
Updated in the last hour

Error monitoring provides the ability to deliver real-time notifications to Slack and MS Teams channels using custom notification rules that you configure and control. This ensures that critical issues, important to you, are detected and can be addressed quickly.

Adding a Slack and MS Teams channel(s)

You can configure the Slack and MS Teams notification channels that you want errors to be sent to by going to:

  • The Actions button dropdown

  • Click on Edit notification channels...

  • Choose Slack or Teams as your notification type

  • Add a friendly name for your channel

  • Enter in the required integration URL the notifications will be sent to (see below for information on how to generate MS Teams and Slack channel URLs)

  • Click Add

Generating the notifications URL for Slack and/or MS Teams

We've written step-by-step guides on how to generate the necessary integration channel URLs for Slack and MS Teams that you'll need to enter when configuring notifications:

Adding notification rules

Once a channel has been successfully added you can begin to create notification rules.

  • Click View errors for a particular Flow or Apex error that you want to inspect further.

  • In the right panel, click on Add notification rule.

  • Add a friendly name for your notification alert.

  • Gearset will automatically pre-populate some basic information if you wish to use it to help configure your rule. You can delete these if you wish to create a time based notification only.

  • Configure your rules based on email body contents only, a volume/frequency based rule, or a combination of email content and frequency.

  • Click Save notification rule.

When the notification rule settings are met, Gearset will send a notification to the channel that you've configured. For Flows this includes the Flow name, Flow element and problem type. You can see more details of the error in Gearset by clicking the View in Gearset link.

Did this answer your question?