Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 8IGYPEM+uwwnrwVtW8MvmP
Power Automate - Building Flows
Unanswered

Post adaptive card to team - using HTTP connection with Webhook and get a response

Like (0) ShareShare
ReportReport
Posted on 8 Dec 2021 18:47:58 by 1,095

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.

  • fchopo Profile Picture
    7,968 Super User 2025 Season 1 on 09 Dec 2021 at 10:39:32
    Re: Post adaptive card to team - using HTTP connection with Webhook and get a response

    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

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
Churchy Profile Picture

Churchy 6

#2
Chriddle Profile Picture

Chriddle 4 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 4

Overall leaderboard
Loading started
Loading complete