Skip to main content
Skip table of contents

Send MS Teams Notifications

With Teams Workflows, you can automatically send notifications to a designated MS Teams channel whenever there is a change in your Golive Environments. In this article, you’ll find step-by-step instructions on setting up Teams Workflows and Golive Automations to receive these notifications.

Requirements

  • Your Environments are configured in Golive.

  • You have set up an MS Teams channel where you want to receive Golive notifications.

Step 1: Configure Teams Workflows

  1. In your Teams application, open the Workflows App from the left navigation menu.

Info

If the icon is not visible, you may have to click the View more apps button (three dots icon).

  1. Enter a descriptive title for your flow, such as “Post Golive notifications to a Teams channel”.

  2. Click + New flow at the top right corner.

  3. Click + Create from blank.

  4. Add the trigger When a Teams webhook request is received to you flow.

  5. In the Who can trigger the flow? field, select Anyone.

  6. Click + New step.

  7. Add the action Post card in a chat or channel.

  8. In the Post as field, select User.

  9. In the Post in field, select Channel.

  10. In the Team field, select the team your target channel is part of.

  11. In the Channel field, select the channel where you want your notifications to be posted.

  12. In the Adaptive Card field, select the expression triggerBody().

  13. Click the Save.

  14. Open your trigger When a Teams webhook request is received and copy the HTTP POST URL value, as you'll need in the next step.

image-20240813-075519.png

Example of Teams Workflows configuration

Step 2: Configure your Golive Automation

  1. In Golive, click the Golive Menu button (gear and downward arrow icon).

  2. From the drop-down menu, select Automations.

  3. Click + Add Automation at the upper right corner.

  4. Select Send a MS Teams message and click Next.

  5. Choose the Event you want to trigger the notification and click Done.

Tip
If you need notifications for multiple events, create separate Golive Automation rules for each event.

  1. Click the New Automation title and enter a descriptive name. For example, “Notifications to Environments Teams channel on Environment status change”.

  2. To restrict the rule to specific Golive Environments, you can add a filter in the field Environment Filter field.

  3. In the Url field, paste the HTTP POST URL value you copied in Step 1.

  4. Make sure Teams Workflows is selected in the Integration Type field, because the Incoming Webhooks Connector is deprecated.

  5. Click Save next to the automation rule title.

  6. In the Test your Automation section on the right, select an Environment to test with.

  7. Click the Test button:

    1. If the test is successful: Click on the toggle in the upper left corner, in order to enable the Golive Automation rule.

    2. If the test is unsuccessful: Troubleshoot using the execution details in Golive and the run history in Teams Workflows

MS Teams Notifications.gif

Example of Teams Automation rule in Golive

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.