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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Adaptive cards for act...
Power Automate
Unanswered

Adaptive cards for actionable messages for outlook not rendering values when used in Power Automate

(0) ShareShare
ReportReport
Posted on by 11

Hi All,

 

I am using this Json to create an Adaptive Card with template, the data is inline and I am trying to create dynamic columns based on the data values. This works great when I preview it in the Adaptive cards designer. 

{
 "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
 "type": "AdaptiveCard",
 "version": "1.0",
 "body": [
 {
 "type": "ColumnSet",
 "columns": [
 {
 "type": "Column",
 "width": "stretch",
 "items": [
 {
 "$data": [
 {
 "criteria": "abC"
 },
 {
 "criteria": "aaa"
 }
 ],
 "type": "TextBlock",
 "size": "Medium",
 "text": "${criteria}"
 }
 ]
 },
 {
 "type": "Column",
 "width": "stretch",
 "items": [
 {
 "$data": [
 {
 "value": "True"
 },
 {
 "value": "False"
 }
 ],
 "type": "TextBlock",
 "size": "Medium",
 "text": "${value}"
 }
 ]
 },
 {
 "type": "Column",
 "width": "stretch",
 "items": [
 {
 "$data": [
 {
 "result": "1"
 },
 {
 "result": "1"
 }
 ],
 "type": "TextBlock",
 "size": "Medium",
 "text": "${result}"
 }
 ]
 }
 ]
 }
 ]
}

 My aim is to send this as an email using Power Automate. Hence, I created this flow where I am composing this json by wrapping a <script> tag around it and using the output of that compose step in the body of my email.

 

DSwaroop_0-1596054120125.png

DSwaroop_1-1596054189978.png

 

The issue is that the values are not rendered when the email gets sent out thru this flow. The email I receive is as below

DSwaroop_2-1596054315168.png

I am expecting the templated columns to contain actual values from my data and I am not able to figure out why?

 

What am I missing? Kindly point out if anything is incorrect.

 

 

 

Thanks,

Swaroop

Categories:
I have the same question (0)
  • JohnAageAnderse Profile Picture
    1,986 on at

    Hello @DSwaroop 

    Please check the requirement for using Adaptive Cards in Outlook

    https://docs.microsoft.com/en-us/outlook/actionable-messages/#outlook-version-requirements-for-actionable-messages

    Do you fulfill these requirements?

    Kind regards, John

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard