web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power automate with ac...
Power Automate
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

 

 

Categories:
I have the same question (0)

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 463

#1
Valantis Profile Picture

Valantis 463

#3
11manish Profile Picture

11manish 264

Last 30 days Overall leaderboard