# Deliver your alerts to MS Teams (Domotz Contact Channel)

In order to link Domotz to Teams and deliver alerts to it, you need to create a webhook and then add it to your Domotz account.

## Step 1 - Create a webhook in MS Teams

- Open **Microsoft Teams** and click the **Apps** icon in the left sidebar.
- Search for and open the **Workflows app**.
- To create the alerts workflow, search for the template "Send webhook alerts to a channel".
- Configure the required parameters: **Channel location** (your Team) and **Channel** (where alerts will be posted). Create a Webhook Alert in a Workflow 1. Navigate to the "Workflows" section. 2. Go to the "New workflow" page. 3. Locate the section titled "Send webhook alerts to channel." 4. Under "Parameters," find "Team the channel is in" and type or select the appropriate team. 5. Below, find "Channel" and type or select the desired channel. 6. Click "Save" to store the configuration or "Back" to return without saving.
- Click **Save**.
- Copy the generated webhook URL and follow to Step 2 below.

You can refer to the Microsoft official documentation here: [Microsoft Teams guide](https://support.microsoft.com/en-us/office/create-incoming-webhooks-with-workflows-for-microsoft-teams-8ae491c7-0394-4861-ba59-055e33f75498).

## Step 2 - Add the webhook to the Integration section in Domotz

Now that you have have the URL, you can add it to the Microsoft Teams contact channel on Domotz.

You can add it from the **Integrations** section:

Accessing Software Integrations in a Help Center

1. In the left sidebar, select "Integrations" under the "Setup" section.
2. At the top of the main window, click on "Software Integrations" to view available options.
3. To learn more or manage a specific integration, such as "Slack" in the "Messaging" category, click the arrow icon next to the integration description.

Adding a Microsoft Teams Incoming Webhook

1. Enter a name for the webhook in the "Name" field.
2. Note that "Microsoft Teams Incoming Webhook" is a required field, indicated by an asterisk.
3. Click "Add" to complete the process.
4. If needed, you can cancel the operation by selecting "Cancel."

Give this contact channel a **Name**, **Paste the URL** into the "Microsoft Teams Incoming Webhook field", and **Save**.

Now, you can use the Microsoft Teams to receive alerts within your Shared Alert Profiles and Sensors.

Please check the following link for more details: [https://help.domotz.com/admin-global-features/shared-alerts-webhooks-ticketing-systems/](https://help.domotz.com/admin-global-features/shared-alerts-webhooks-ticketing-systems/ )
