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 Automate
Unanswered

empty adaptive card

(0) ShareShare
ReportReport
Posted on by

Hi,

im using an adaptive card in a flow, which was working until recently and now the flow succeed to run but the adaptiv card is empty, any ideas?

the JSON:

{
"type": "AdaptiveCard",
"body": [
{
"type": "Container",
"items": [
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text": "Please approve or decline the document"
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"items": [
{
"type": "TextBlock",
"text": "@{triggerBody()?['Approver']?['DisplayName']} a file was assigned for your review",
"wrap": true
},
{
"type": "TextBlock",
"text": "before sending to customer"
},
{
"type": "FactSet",
"facts": [
{
"title": "File Name",
"value": "@{triggerBody()?['{FilenameWithExtension}']}"
},
{
"title": "Submmited By",
"value": "@{triggerBody()?['Editor']?['DisplayName']}"
}
]
}
],
"width": "stretch"
}
]
}
]
}
],
"actions": [
{
"type": "Action.OpenUrl",
"title": "Approve",
"url": "https://prod-28.westeurope.logic.azure.com/workflows/b561e146884149989480b5b701343717/triggers/manual/paths/invoke/Response/Approve/Id/@{triggerBody()?['ID']}?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=LrQRSDnYMNN2-Z4AL0aA5L3eiQ2iNmHBjX5FkXsNl2s\""
},
{
"type": "Action.OpenUrl",
"title": "Link to Document",
"url": "@{triggerBody()?['{Link}']}"
},
{
"type": "Action.OpenUrl",
"title": "Comments submmited",
"url": "https://prod-28.westeurope.logic.azure.com/workflows/b561e146884149989480b5b701343717/triggers/manual/paths/invoke/Response/Reject/Id/@{triggerBody()?['ID']}?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=LrQRSDnYMNN2-Z4AL0aA5L3eiQ2iNmHBjX5FkXsNl2s\""
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.0"
}

Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    on at

    Hi @Perez,

     

    It seems like there are two URLs have additional double quotes:

    Annotation 2019-12-02 101616.png

     

    I remove them and it works, you can have a try:

    {
    "type": "AdaptiveCard",
    "body": [
    {
    "type": "Container",
    "items": [
    {
    "type": "TextBlock",
    "size": "Medium",
    "weight": "Bolder",
    "text": "Please approve or decline the document"
    },
    {
    "type": "ColumnSet",
    "columns": [
    {
    "type": "Column",
    "items": [
    {
    "type": "TextBlock",
    "text": "@{triggerBody()?['Approver']?['DisplayName']} a file was assigned for your review",
    "wrap": true
    },
    {
    "type": "TextBlock",
    "text": "before sending to customer"
    },
    {
    "type": "FactSet",
    "facts": [
    {
    "title": "File Name",
    "value": "@{triggerBody()?['{FilenameWithExtension}']}"
    },
    {
    "title": "Submmited By",
    "value": "@{triggerBody()?['Editor']?['DisplayName']}"
    }
    ]
    }
    ],
    "width": "stretch"
    }
    ]
    }
    ]
    }
    ],
    "actions": [
    {
    "type": "Action.OpenUrl",
    "title": "Approve",
    "url": "https://prod-28.westeurope.logic.azure.com/workflows/b561e146884149989480b5b701343717/triggers/manua..."
    },
    {
    "type": "Action.OpenUrl",
    "title": "Link to Document",
    "url": "@{triggerBody()?['{Link}']}"
    },
    {
    "type": "Action.OpenUrl",
    "title": "Comments submmited",
    "url": "https://prod-28.westeurope.logic.azure.com/workflows/b561e146884149989480b5b701343717/triggers/manua..."
    }
    ],
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.0"
    }

    Annotation 2019-12-02 101304.png

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • EP-29071004-0 Profile Picture
    on at

    @v-litu-msft it work for me, thanks!!!

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard