web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to get and save ad...
Power Automate
Answered

How to get and save adaptive card responses to a list

(0) ShareShare
ReportReport
Posted on by 61

I have made a flow for when a new item is created it sends an adaptive card to teams where someone can respond. I have used the "Post adaptive card and wait for a response" connector and that sends the card fine in teams but how do I get the response. On the adaptive card it has 2- 3 buttons (depending on the type it can have different options) and can have 1 - 2 input boxes how do I get the comments from the input boxes and save it in a list. Thank you in advance. 

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Dave373927 ,

     

    I made a sample for you:

     

    Create a list in sharepoint. ‘Text1’ and ‘Text2’ match text input in adaptive card, and Choices match buttons in adaptive card.

    vxiaochenmsft_0-1669180873135.png

     

     

    Create a flow.

    vxiaochenmsft_1-1669180873138.png

     

     

    Trigger a flow when a new item is created.

    vxiaochenmsft_2-1669180873139.png

     

     

    Use “Post adaptive card and wait for a response” to send cards to Teams.

    vxiaochenmsft_3-1669180873141.png

     

    vxiaochenmsft_4-1669180873143.png

     

     

    Add the action Update item to save the contents of the response to the list.

    vxiaochenmsft_5-1669180873146.png

     

     

    Save and create a new item with Title is ‘1’ in the list. And fill in the card after triggering the flow.

    vxiaochenmsft_6-1669180873152.png

     

     

    The same content is saved in the list.

    vxiaochenmsft_7-1669180873153.png

    Best Regards,

    Wearsky

  • Dave373927 Profile Picture
    61 on at

    Hello Thank you for your reply, I have no options for this when I try. I have no options on anything with the Adaptive Cards but I do when I use the sample Adaptive Card what could be wrong with my code.

     

    {

        "type": "AdaptiveCard",

        "body": [

            {

                "type": "TextBlock",

                "size": "Medium",

                "weight": "Bolder",

                "text": "Title"

            },

            {

                "type": "ColumnSet",

                "columns": [

                    {

                        "type": "Column",

                        "items": [

                            {

                                "type": "TextBlock",

                                "weight": "Bolder",

                                "text": "}Created by - ",

                                "wrap": true

                            },

                            {

                                "type": "TextBlock",

                                "spacing": "None",

                                "text": "Date Created - ",

                                "isSubtle": true,

                                "wrap": true

                            }

                        ],

                        "width": "stretch"

                    }

                ]

            },

            {

                "type": "FactSet",

                "facts": [

                    {

                        "title": "Type ",

                        "value": ""

                    },

                    {

                        "title": "Location",

                        "value": ""

                    },

                    {

                        "title": "Product",

                        "value": ""

                    },

                    {

                        "title": "Order No",

                        "value": ""

                    },

                    {

                        "title": "User",

                        "value": ""

                    },

                    {

                        "title": "Required by",

                        "value": ""

                    }

                ]

            },

            {

                "type": "TextBlock",

                "text": "Cause:",

                "wrap": true,

                "spacing": "None",

                "fontType": "Default",

                "size": "Medium",

                "weight": "Bolder",

                "isSubtle": true

            },

            {

                "type": "TextBlock",

                "text": "Cause Text",

                "wrap": true,

                "spacing": "Small",

                "fontType": "Default",

                "size": "Default",

                "weight": "Default",

                "color": "Default",

                "isSubtle": false

            },

            {

                "type": "TextBlock",

                "text": "Reason:",

                "wrap": true,

                "spacing": "Small",

                "fontType": "Default",

                "size": "Medium",

                "weight": "Bolder",

                "isSubtle": false

            },

            {

                "type": "TextBlock",

                "text": "Reason Text",

                "wrap": true,

                "fontType": "Default",

                "size": "Default",

                "spacing": "Small",

                "weight": "Default",

                "isSubtle": false

            }

        ],

        "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",

        "version": "1.4",

        "actions": [

            {

                "type": "Action.ShowCard",

                "title": "Allowed",

                "card": {

                    "type": "AdaptiveCard",

                    "body": [

                        {

                            "type": "Input.Text",

                            "placeholder": "Comments",

                            "style": "Tel",

                            "isMultiline": true,

                            "id": "A_Comments"

                        }

                    ],

                    "actions": [

                        {

                            "type": "Action.Submit",

                            "title": "Confirm"

                        }

                    ]

                }

            },

            {

                "type": "Action.ShowCard",

                "title": "Maybe",

                "card": {

                    "type": "AdaptiveCard",

                    "body": [

                        {

                            "type": "Input.Text",

                            "placeholder": "Comments",

                            "isMultiline": true,

                            "id": "M_Comments"

                        }

                    ],

                    "actions": [

                        {

                            "type": "Action.Submit",

                            "title": "Confirm"

                        }

                    ]

                }

            },

            {

                "type": "Action.ShowCard",

                "title": "Rejected",

                "card": {

                    "type": "AdaptiveCard",

                    "body": [

                        {

                            "type": "Input.Text",

                            "placeholder": "Comments",

                            "isMultiline": true,

                            "id": "R_Comments"

                        }

                    ],

                    "actions": [

                        {

                            "type": "Action.Submit",

                            "title": "Confirm"

                        }

                    ]

                }

            }

        ]

    }

     

     

    Thank you in advance. 

  • Dave373927 Profile Picture
    61 on at

    Sorted now!

  • nrenfro Profile Picture
    4 on at

    what was the issue? I am having the same problem with the dynamic content not showing

  • CaueParaguassu Profile Picture
    2 on at

    Try to use an adaptive card version greater than 1.3

    I was hadling with the same issue when I changed for the 1.4 it was solved!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard