cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
juancruz
Frequent Visitor

Adaptive Card not showing in email sent to myself

I'm having this issue with my adaptive card, whenever I test my flow I receive the email in blank. I checked if the flow ran successfully and it did, the adaptive card is being written into the body of the email by the compose action where I'm putting my json code. My guess is that I'm missing something on the json file because I've been able to send sample templates doing the same process. Help will be very appreciated!!

 Screen Shot 2020-09-01 at 1.42.38 PM.png

<script type="application/adaptivecard+json">{
    "type": "AdaptiveCard",
    "version": "1.0",
    "hideOriginalBody": true,
    "body": [
        {
            "type": "TextBlock",
            "text": "Deliverable Assessment",
            "id": "Title",
            "spacing": "Medium",
            "horizontalAlignment": "Center",
            "size": "ExtraLarge",
            "weight": "Bolder",
            "color": "Accent"
        },
        {
            "type": "TextBlock",
            "text": " Assessment",
            "id": "acHeaderTagLine",
            "separator": true
        },
        {
            "type": "TextBlock",
            "text": "Status after approval",
            "weight": "Bolder",
            "size": "ExtraLarge",
            "spacing": "None",
            "id": "acHeader"
        },
        {
            "type": "TextBlock",
            "text": "Please select the schedule option that corresponds the most to the deliverable.",
            "id": "acPollQuestion",
            "horizontalAlignment": "Left"
        },
        {
            "type": "Input.ChoiceSet",
            "placeholder": "Select from these choices",
            "choices": [
                {
                    "title": "Approved in Time",
                    "value": "Approved in Time"
                },
                {
                    "title": "Delayed by Review/Comment Process",
                    "value": "Delayed by Review/Comment Process"
                }
            ],
            "id": "acPollChoices",
            "style": "expanded"
        },
        {
            "type": "TextBlock",
            "id": "Due Date",
            "text": "Due Date:\n\n\n",
            "wrap": true,
            "size": "ExtraLarge",
            "weight": "Bolder"
        },
        {
            "type": "Container",
            "spacing": "None",
            "items": [
                {
                    "type": "ColumnSet",
                    "columns": [
                        {
                            "type": "Column",
                            "width": "stretch",
                            "items": [
                                {
                                    "type": "TextBlock",
                                    "text": "@{outputs('reviewdue')}",
                                    "color": "${if(@{outputs('reviewdue')} >= @{outputs('Actual_date')}, 'good', 'attention')}",
                                    "spacing": "None"
                                }
                            ],
                            "padding": "None"
                        }
                    ],
                    "padding": "None"
                }
            ],
            "padding": "None"
        },
        {
            "type": "ActionSet",
            "id": "2e67f88c-562d-74d4-d1f8-3dd8bc034c17",
            "actions": [
                {
                    "type": "Action.Http",
                    "id": "4df0dd56-55f1-e015-b9fe-f73adabc00fa",
                    "title": "Submit",
                    "url": "https://messagecardplaygroundfn.azurewebsites.net/api/HttpPost?code=zJaYHdG4dZdPK0GTymwYzpaCtcPAPec8fTvc2flJRvahwigYWg3p0A==",
                    "method": "POST",
                    "body": "Submit"
                }
            ]
        }
    ],
    "padding": "None",
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "@type": "AdaptiveCard",
    "@context": "http://schema.org/extensions"
}
</script>

 

1 REPLY 1
ChristianAbata
Super User
Super User

hi @juancruz  I saw your json well, could you try changing the email, or testing on diferent web browsers?



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (2,546)