teams.webbook action
This trigger action will transmit arbitrary text to a specific Teams channel.
Action
This trigger action is found under the Teams.
Canvas
When dragged onto the canvas, the appearance of the action is a rectangle with two routing points.
The left routing point (red) is the failure route. This route will be taken if there is an error during execution.
The right routing point (green) is the success route. This route will be taken if action executes successfully.
Form
Parameters
Name | Type | Required | Description |
---|---|---|---|
Webhook URL | String | Yes | The target URL of the message. For more information on generating the webhook target URL, see Getting a connector webhook URL |
Title | String | Yes | The title of the webhook displayed in Teams. |
Message | String | Yes | The message displayed in Teams under the specified title. |
Facts | Array | Additional information passed between the deviceWISE Cloud and Teams in the form of Key/Value pairs. | |
Thing identifier | String | Thing you want to associate to this action. When you associate a Thing, a button will be displayed along with the message. Clicking the button will take you to the corresponding Thing in the deviceWISE Cloud | |
Connection identifier | String | Connection you want to associate to this action. When you associate a Connection, a button will be displayed along with the message. Clicking the button will take you to the corresponding Connection in the deviceWISE Cloud |
- In Microsoft Teams, select a team and a channel for that team (the channel you want notifications sent to).
- Click the ellipsis on the right side of the highlighted channel name.
A shortcut menu is displayed. - From the shortcut menu, click Connectors
- Search for Webhook
Incoming Webhook connector is displayed - Do one of the following:
- If the Incoming Webhook is not installed, Click Add
Incoming Webhook screen is displayed and click Install to install it. - If the Incoming Webhook is already installed, click Configure
- If the Incoming Webhook is not installed, Click Add
- Give the webhook a name and a custom icon. Then, click Create.
- Click on Copy next to the webhook URL. Paste it in the Webhook URL field while defining the teams.webhook action.