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.
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.
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 (…).
Select Workflows from the dropdown menu:
Click Post to a channel when a webhook request is received.
You can add a meaningful name at this point for the Workflow
The channel name will be auto populated if you started within the channel otherwise you may have to select the correct one.
Workflow created successfully. Now you can copy the webbook at this point.
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].