Forum Discussion

ray2408's avatar
ray2408
Brass Contributor
Mar 19, 2024

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

    • ray2408's avatar
      ray2408
      Brass 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-MSFT's avatar
        Prasad_Das-MSFT
        Icon for Microsoft rankMicrosoft

        ray2408 - Your adaptive card should have an Action.Execute or Action.Submit button that, when clicked, sends an invoke request to your bot with the action details. Your bot receives the invoke request and extracts the necessary information from the adaptive card. The bot responds to the invoke 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. 

Resources