Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Unanswered

Power automate with actionable dynamic Adaptive Card not getting $ variable but only @ variable

(0) ShareShare
ReportReport
Posted on by 6

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

  1. Is there a way we can get $ variable in Power Automate?
  2. If $ Variable is not possible, is there a way to handle dynamic grid like look in Adaptive card when the same has been send from Power Automate? the number of lines will be driven through the number of child array in the input JSON

 

 

Under review

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.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492

Featured topics