'How to get user value back to Power Virtual Automate from Bot Framework Composer

I am creating a Power Virtual App bot and I am also using Bot framework Composer to display an Adaptive card that is meant to take user input from the Power Virtual App bot.

I'm unable to figure out a way around this and all the solutions I've come across don't have Adaptive Card involved.

I want this to work because I will need the user input to make API calls via Power Automate and display the results back to the user.

enter image description here

Screenshot of the card menu

Screenshot of the flow in botframework



Sources

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

Source: Stack Overflow

Solution Source