Skip to main content

Authentication

This provider requires authentication.
  • webhook_url: Teams Webhook Url (required: True, sensitive: True)

In workflows

This provider can be used in workflows. As “action” to make changes or update data, example:
Check the following workflow examples:

Connecting with the Provider

  1. In the New Teams client, select Teams and navigate to the channel where you want to add an Incoming Webhook. 2. Select More options ••• on the right side of the channel name. 3. Select Manage Channel
For members who aren’t admins of the channel, the Manage channel option is available under the Open channel details option in the upper-right corner of a channel.
  1. Select Edit
  1. Search for Incoming Webhook and select Add.
  1. Select Add
  1. Provide a name for the webhook and upload an image if necessary. 8. Select Create.
  1. Copy and save the unique webhook URL present in the dialog. The URL maps to the channel and you can use it to send information to Teams. 10. Select Done. The webhook is now available in the Teams channel.

Notes

When using Adaptive Cards (typeCard="message"):
  • The sections parameter should follow the Adaptive Cards schema
  • themeColor is ignored for Adaptive Cards
  • If no sections are provided, the message will be displayed as a simple text block
  • Both sections and attachments can be provided as JSON strings or arrays
  • You can mention users in your Adaptive Cards using the mentions parameter

Workflow Example

You can also find this example in our examples folder in the Keep GitHub repository.
You can also find an example with user mentions in our examples folder.
The sections parameter is a JSON string that follows the Adaptive Cards schema, but can also be an object. If it’s a string, it will be parsed as a JSON string.

Using Sections

Using Custom Attachments

Using User Mentions in Adaptive Cards

You can mention users in your Adaptive Cards using the mentions parameter. The text in your card should include the mention in the format <at>User Name</at>, and you need to provide the user’s ID and name in the mentions parameter. Teams supports three types of user IDs for mentions:
  • Teams User ID (format: 29:1234...)
  • Microsoft Entra Object ID (format: 49c4641c-ab91-4248-aebb-6a7de286397b)
  • User Principal Name (UPN) (format: [email protected])
You can also mention multiple users in a single card:
In YAML workflows, you can provide the mentions as a JSON string: