Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 91Rz3rfiRetYkDwtV1oeqR
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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

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

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 292 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 245 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 212

Overall leaderboard
Loading started