Forum Discussion
Send details from adaptive card to task module
I am opening a dialog from the adaptive card action button with the help of the task module in the team's bot. I also need to pass on information from the adaptive card to the task module dialog. How can I send that? Kindly help me on this
- Prasad_Das-MSFTMicrosoft
ray2408 - Could you please refer this doc and let us know if it helps?
Use dialogs in Microsoft Teams bots - Teams | Microsoft Learn- ray2408Brass Contributor
Prasad_Das-MSFT I didn't find a way to send the data from the adaptive card to the task module which I am opening through the action button of it. Can you please guide me on this
- Prasad_Das-MSFTMicrosoft
ray2408 - Your adaptive card should have an
Action.Execute
orAction.Submit
button that, when clicked, sends aninvoke
request to your bot with the action details. Your bot receives theinvoke
request and extracts the necessary information from the adaptive card. The bot responds to theinvoke
request with a task module dialog that includes the information from the adaptive card. The user fills out the task module dialog, and upon submission, the information is sent back to the bot for processing.Thanks,
Prasad Das
------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.