Skip to main content
All CollectionsFAQsAuthentications and integrations and connectionsGearset integrations
How do I add Gearset notifications to a Microsoft Teams channel?
How do I add Gearset notifications to a Microsoft Teams channel?

Update your Microsoft Teams channel during continuous integration, change monitoring or test monitoring when action is needed

Jacob Joshua avatar
Written by Jacob Joshua
Updated over a month ago

Many Salesforce teams now use the Microsoft Teams service to collaborate, chat, and hang out. Gearset supports sending notifications for change monitors, continuous integration jobs, and test monitors to a Microsoft Teams channel.

Note: As of this writing, the Workflow app does not support posting to private channels.

Creating a Microsoft Teams incoming webhook

The first thing you need to do is generate a URL that is unique to your Microsoft Teams channel so that Gearset can send notifications to it. 

Note: This process may change when Microsoft changes the Microsoft Teams user interface, so you can always refer to the Microsoft Teams documentation on docs.microsoft.com.  

  1. Go to the channel where you want to add the webhook and Open the Workflows app within the chat or channel by right-clicking on the conversation, or by clicking on More options (…).

  2. Select Workflows from the dropdown menu:

  3. Click Post to a channel when a webhook request is received.

  4. You can add a meaningful name at this point for the Workflow

  5. The channel name will be auto populated if you started within the channel otherwise you may have to select the correct one.

  6. Workflow created successfully. Now you can copy the webbook at this point.

  7. Select Done.

Sending updates to a Microsoft Teams channel from Gearset 

When you come to the section on configuring notifications tab of the job settings, you can now use the Microsoft Teams Workflow webhook URL and when the job runs you'll receive notifications from Gearset in that channel. Refer to our documentation for unit testing, change monitoring, backup job or continuous integration for instructions on how to configure those parts of Gearset.

What if I don't get a notification even after configuring it?

Microsoft Teams can be a little confusing. A good thing to check is what the webhook URL looks like. 

It should be similar to https://xxxxx.logic.azure.com:443/workflows/{id} and that is the URL that allows you to send notifications to the channel.

It should not look like https://logic.azure.com:443/workflows/{id} which is a direct link to the channel itself and isn't valid for sending notifications to.

If you have any problems configuring things, we're always here to help. You can reach us either via the in-app chat or by emailing [email protected].

Did this answer your question?