MS Teams
Learn about how to use MS Teams provider for chat notifications
MS Teams does not need any API Key or Client ID to send notifications. Our current implementation is based on the Incoming Webhook URL. It is a URL that you can use to send messages to a specific channel. This URL needs to be stored on the subscriber entity
Similar to Discord, the credential for this provider needs to be stored in the subscriber entity.
Creating incoming webhook URL
Checkout step by step instructions on microsoft team's documentation on how to create an incoming webhook url.

Storing webhook url on subscriber entity
The URL generated above will be the target channel of a subscriber that you want to integrate with. To make this connection, you have to:
- Copy the URL that you generated above
- Update the subscriber credentials with this URL using the MS Teams provider id. You can do this step by using the
@novu/nodelibrary, as shown below:
Checkout the API reference for more details.
subscriberIdis a custom identifier used when identifying your users within the Novu platform.providerIdis a unique provider identifier. We recommend using our ChatProviderIdEnum to specify the provider.- The third parameter is the credentials object, in this case, we use the
webhookUrlproperty to specify the MS Teams channel webhook URL or by calling theUpdate Subscriber Credentialsendpoint on Novu API. Check endpoint details here.