Adaptive cards for Microsoft Teams

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

You can now post your own adaptive card as the Flow bot to a channel. An adaptive card is a way to present richly formatted content directly into a Microsoft Teams (Teams) conversation. Adaptive cards can contain components like images, graphs, richly formatted text, and more. To get started, select the new action on the Teams connector:

List of Teams actions

Adaptive cards use a common JSON format that you can use across many different channels. However, you don't need to author this JSON by hand - you can use the rich drag-and-drop designer on the Adaptive Cards website to build your card.

Adaptive card designer

Once you have added all of the elements that you want on the card, open the JSON pane at the bottom and copy everything there. Then, paste that content into the Message field on the action in the Microsoft Flow designer. When the action runs, a nicely formatted adaptive card appears in the Teams channel you selected:

Card in Teams channel

In addition to posting an adaptive card, you can also post a simple message as a bot to a Teams channel. These messages can come from the Flow bot instead of your user account. In addition, these messages can contain @mentions of other users, so they will be notified when you post. To create an @mention, you need to surround their email address or user ID with the <at> tag. For example:

Hello <at>stephen@example.com</at> - your request has been completed!