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 / JSON showing in Outloo...
Power Automate
Unanswered

JSON showing in Outlook as text and not as an adaptive card

(0) ShareShare
ReportReport
Posted on by

I am using a tutorial in order to learn about adaptive cards.  I'm triggering an Outlook email via a button.  The problem is that when the email arrives, the JSON shows as text and not as a functional adaptive card.  

Does anyone have any idea of where I should start to find my solution.  Below is a pic of the card as well as the code -- which shows exactly the same way in Outlook as text -- I've tried with it coded as HTML and as not HTML since I did see that suggested somewhere. 

 

Thanks so very much for your help. 

 

{
 "type": "AdaptiveCard",
 "version": "1.0",
 "body": [
 {
 "type": "TextBlock",
 "text": "Additional Feedback Required",
 "size": "Medium",
 "weight": "Bolder"
 },
 {
 "type": "TextBlock",
 "text": "@{triggerBody()?['additionalInfo']}",
 "wrap": true
 },
 {
 "type": "FactSet",
 "facts": [
 {
 "title": "Suggestion ID",
 "value": "VARIABLE_HERE"
 },
 {
 "title": "Repond By",
 "value": "VARIABLE_HERE"
 }
 ]
 },
 {
 "type": "Input.Text",
 "placeholder": "Response",
 "id": "responseText",
 "isMultiline": true,
 "separator": true
 },
 {
 "type": "ActionSet",
 "actions": [
 {
 "type": "Action.Http",
 "title": "Submit Response",
 "method": "POST",
 "id": "submit",
 "url": "\"\"",
 "body": "{\\\"response\\\":\\\"{{responseText.value}}\\\",\\\"suggestionID\\\":@{triggerBody()?['suggestionID']}}",
 "headers": [
 {
 "name": "Authorization",
 "value": "\"\""
 },
 {
 "name": "Content-Type",
 "value": "application/json"
 }
 ]
 }
 ]
 }
 ],
 "$schema": "http://adaptivecards.io/schemas/adaptive-card.json"
}

 

Additional Feedback Required.jpg

Categories:
I have the same question (0)
  • efialttes Profile Picture
    14,756 on at

    Hi!

    Try this

    <script type=”application/adaptivecard+json”> your json here </script>

    Hope this helps

     

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard