cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vers
Frequent Visitor

Collect Response from Adaptive Card

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

 

1 ACCEPTED SOLUTION

Accepted Solutions
Hardesh15
Super User
Super User

@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

View solution in original post

3 REPLIES 3
Hardesh15
Super User
Super User

@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

View solution in original post

vers
Frequent Visitor

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

vers
Frequent Visitor

Nevermind. It worked. There was a typo.

Thanks!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (1,104)