---
title: "Create another Teams notification method"
description: "The Teams notification method in Opsview supports sending notifications to only one Teams channel per method. To notify additional channels, create separate Teams notification methods by defining new webhook URL variables and configuring each method accordingly."
url: "https://docs.itrsgroup.com/docs/faq/opsview/4922676849309-opsview-create-another-teams-notification-method/index.html"
---
The Teams notification method only supports sending notifications to a single Teams channel. If you would like to send notifications to additional channels, you must create additional Teams notification methods.

To create an additional Teams notification method, you need to first create a variable to specify the webhook URL. After creating the variable, you can make a new notification method that uses the `notify_by_microsoft_teams` command with the new variable. You need to repeat this process for each Teams channel you want to receive notifications.

## Prerequisites

- You have the webhook URL for the Teams channel

### Process

1. Log in to the UI as an administrator and navigate to **Configuration** > **Variables**.
2. Click **Add new** in the top left of the page to create a new variable. Input the following settings:

| Field | Value |
| --- | --- |
| **Name** | <variable name, e.g. `TEAMS_2`> |
| **Label Arg1** | Webhook URL |
| **Default Arg1** | <insert the webhook URL of the Teams channel> |

3. Click **Submit Changes**
4. Navigate to **Configuration** > **Notification Methods**.
5. Click **Add new** in the top left of the page to create a new notification method. Input the following settings:

| Field | Value |
| --- | --- |
| **Name** | <method name, e.g. Teams 2> |
| **Enable** | ☑️ |
| **Run On** | <Orchestrator or Collector, as appropriate for your system> |
| **Command** | `notify_by_microsoft_teams -p '%<VARIABLE_NAME>:1%'` |

Replace `<VARIABLE_NAME>` with the name set in step 2, e.g. for `TEAMS_2` you would input `notify_by_microsoft_teams -p '%TEAMS_2:1%'`

Leave all non-specified fields empty.

#### Testing

You can test the new notification method configuration in the **Test** tab of the notification method creation dialog.

6. Click **Submit Changes**.
7. [Apply changes](https://docs.itrsgroup.com/docs/faq/opsview/4920514560797-opsview-apply-changes/index.html).


