Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Collect Response from Adaptive Card

(0) ShareShare
ReportReport
Posted on by 14

Hello,

 

I build a flow when approved request more information before approving.

The user receives an adaptive card in chatbot channel and responds.

However, I am not able to capture the response and save it in SharePoint list.

Please help.

 

vers_0-1636501812605.png

adaptive card schema result. Thoughts are the user's answer. 

vers_1-1636501903666.png

 

What do I add in Compose section? None of the dynamic actions are suitable. Thanks!

 

vers_2-1636502046600.png

 

  • morish2412 Profile Picture
    2 on at
    Re: Collect Response from Adaptive Card

    I had the below error, as i was using the default command above 

     

    morish2412_1-1679342809981.png

     

     

    body('PostAdoptiveCardAndWaitForResponse')?['data']?['thoughts'] 

     

    The adaptive card name was not correct, PostAdoptiveCardAndWaitForResponse this needs to be replaced with whatever the id of the adaptive card is, i set the adaptive card id using Rename and used that in body 

    morish2412_0-1679342762526.png

     

    body('ACard')?['data']?['thoughts'] 

  • vers Profile Picture
    14 on at
    Re: Collect Response from Adaptive Card

    Nevermind. It worked. There was a typo.

    Thanks!

  • vers Profile Picture
    14 on at
    Re: Collect Response from Adaptive Card

    Hi,

     

    Thank you for helping!

    I have tried the solution and got this error message. What could be wrong?

    vers_0-1636563790842.png

    error.PNG

  • Verified answer
    Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at
    Re: Collect Response from Adaptive Card

    @vers  You need to use following expression in compose-

    body('PostAdoptiveCardAndWaitForResponse')?['SubmitActionId']  output- Submit

    body('PostAdoptiveCardAndWaitForResponse')?['data']?['thoughts']  output-;1hhhhhhhhh

     

    Please 'Thumbs Up' the posts that helped you and 'Mark as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow