I am trying to build an agent on Copilot studio which is a Project booking agent for which I created 3 topics New Booking, View My bookings, Cancel My booking. For New Booking the condition is whenever the user looks for New Booking the agent would check in the backend in a Sharepoint list which is a "Resource Availability" list in which I would have 5 columns One is Date, second is Resource 1 Availability, third is Resource 2 Availability, fourth is Resource 1 Holidays, fifth is Resource 2 Holiday. so I had created a Power Automate flow in which the trigger was when an agent calls the flow then I have added get items from SharePoint list then I have added a filter array so what it does is it will filter the array and give me the dates on which the resource one or two holiday columns are blank then I have added a select action then I have added a compose action then I have added return values to the virtual agent and then I have added this flow as an action in the copilot agent after my new booking response now I want the output received from that flow which are the dates to be shown as an adaptive card a multi-choice adaptive card to the user so they can select the dates or multiple dates from it.
I want a solution or a json code which I can paste in the adaptive card section and also let me know a way through which I can add the output of that flow add as an action to be called in the choices of that adaptive card so it would be dynamic.
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.