I need help to understand how to post an adaptive card with two buttons to microsoft teams channel using the connection HTTP and post in teams with a webhook link.
I dont know JSON atall...
i use microsoft teams App Studio to build a card.
But all the cards i build give the error "text or summary is required".
This card for example:
{
"contentType": "application/vnd.microsoft.card.thumbnail",
"content": {
"title": "Thumbnail Card",
"subtitle": "Subtitle",
"text": "Text",
"images": [
{
"url": "https://statics.teams.cdn.office.net/evergreen-assets/apps/teams_dev_app_largeimage.png"
}
],
"buttons": [
{
"type": "openUrl",
"title": "Button 1",
"value": "https://www.microsoft.com"
},
{
"type": "openUrl",
"title": "Button 2",
"value": "https://www.azure.com"
}
]
}
}
And next step is to understand how i can get a response.
If user press button 1, then send this mail and if user press button 2 then send another mail.
Hi @Oskarkuus
In order to create an Adaptive Card I recommend you this resource: Adaptive Cards
In the samples section, you'll find a card with with actions, like this: Samples and Templates | Adaptive Cards
In this excellent article by @TomaszPoszytek you can check how to build this in Power Automate: Adaptive Cards Templating • Tomasz Poszytek, Business Applications MVP
Hope it helps!
Ferran
Churchy
6
Chriddle
4
Super User 2025 Season 1
stampcoin
4