'Build a yes/no form in teams with adaptive cards

I wanted to build a messaging extension in Teams that sends an adaptive card to everyone in the chat of that team. I've already created and send the card. Now, I want to get all the responses and count the number of yes/no. I understand that the magic appends in the "Action.Submit" field, but I don't know if its necessary to use other technology (power automate/DB/...) to get this simple task done. Any help? Thanks!



Solution 1:[1]

Are you planning to show that data on the same yes/no form. If yes, you can bind all responses and yes/no count data with "data" part of button in card payload.

If you have lots of data responses, we can not bind with Adaptive Card as we have a payload limit at around 28 KB. So in this case you need to use other technology like power automate/BI to show all responses.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dharman