Slack / Microsoft Teams Notifications

env0 can send notifications for deployment events to your Slack or Microsoft Teams workspace.
You can define several Notification Targets, corresponding to different channels.
You can also associate these Notification Targets to different env0 projects, controlling which events go to which channel.

Prerequisites - Slack

To start using Slack notifications with env0, you must first install the Slack Incoming Webhooks integration.

  1. Navigate to the Incoming WebHooks page in the Slack App Directory.
  2. Click on "Add to Slack"
  3. Select the channel you'd like env0 to post to, and click "Add Incoming WebHooks Integration"
  4. Save the "Webhook URL" you will be shown.

Prerequisites - Microsoft Teams

To start using Microsoft Teams notifications with env0, you must first install the Microsoft Teams Incoming Webhooks integration.

  1. In Microsoft Teams, choose More options (⋯) next to the channel name and then choose Connectors.
  2. Scroll through the list of Connectors to Incoming Webhook, and choose Add.
  3. Enter a name such as env0 for the webhook name, you may also configure the env0 logo as the image for your webhook, and choose Create.
  4. Copy the webhook to the clipboard and save it. You'll need the webhook URL for sending information to Microsoft Teams.
  5. Choose Done.

Configuring Notifications

Add a Notification Target

:lock: Only organization Admins can set up new Notification Targets.

  1. Navigate to your Organization Settings, and open the Notifications tab
  2. Click on Add Notification Target
  3. Enter any name you'd like, chose the Slack or Microsoft Teams type, and enter the Webhook URL you saved earlier under Webhook URL
  4. Click Add Notification Target to save

Configure your project to send notifications

:lock: Only project Admins can configure project notifications

  1. Navigate to your Project Settings, and open the Notifications tab.
  2. Find the Notification Target you've previously added and click on the edit icon (:pencil2:) next to it.
  3. Select the events you'd like to get notified of, from this project to this notification target.
  4. Click Save