Hi Team,
I am trying to create an approval workflow in Teams using Adaptive card and Power Automate. Here i am trying to take the Expense Approval template (https://adaptivecards.io/samples/ExpenseReport.html). This template has a dynamic section where the Date, Category and Amount will be repeated based on the number of "expenses" JSON. (Template and JSON available in link above). this is done by looping $data="expenses" in template. The power automate doesn't understand the $ variable. When we take the variable out of a JSON parse or from the "When HTTPS request received" the variable is going to be "@ {trigger Body ()? [ 'variable']}". if we add this in the place of "expenses" the Power automate will automatically put the send and wait for response in a for each loop. the purpose of having a dynamic grid like look is not possible in this case.
The question I have is
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492