Microsoft Teams
Overviewβ
The microsoft teams notifier allows to get notified on your favorite microsoft teams channel when an instance of GO Feature FLag is detecting changes in the configuration of your flags.About Microsoft Teams Notifierβ

Each notification lists the flags that were created, updated or deleted. For an updated flag, every change is described as a short sentence, for example:
βοΈ Flag dark-mode updated
* Version set to 2
* Targeting rule beta-users now matches beta eq true or company eq "acme" (was beta eq true)
* Targeting rule internal added: serves enabled when email ew "@example.com"
* Default rule now serves disabled 50%, enabled 50% (was disabled 90%, enabled 10%)
Microsoft Teams cards cannot display inline code, so names and values are shown as plain text. A flag shows at most 50 changes, and a last line counts the changes left out.
Configure Microsoft Teams Notificationβ
- First create a Webhook in the channel you want to send notifications to.
Need a hand? Click here to see how it's done - Copy the webhook URL
- Now you can configure your notifier
Configure the relay proxyβ
To configure your relay proxy to use the Microsoft Teams notifier, you need to add the following configuration to your relay proxy configuration file:
goff-proxy.yaml
# ...
notifiers:
- kind: microsoftteams
webhookUrl: "https://xxx.xxx/..."
# ...
| Field name | Mandatory | Type | Default | Description |
|---|---|---|---|---|
kind | string | none | Value should be microsoftteams.This field is mandatory and describes which notifier you are using. | |
webhookUrl | string | none | The complete URL of your incoming webhook configured in Microsoft Teams. |
Configure the GO Moduleβ
To configure your GO module to use the Microsoft Teams notifier, you need to add the following
configuration to your ffclient.Config{} object:
example.go
err := ffclient.Init(ffclient.Config
{
// ...
Notifiers: []notifier.Notifier{
µsoftteamsnotifier.Notifier{
MicrosoftTeamsWebhookURL: "https://xxx.xxx/..."
},
},
})
defer ffclient.Close()
| Field | Mandatory | Description |
|---|---|---|
MicrosoftTeamsWebhookURL | The complete URL of your Microsoft Teams webhook. |