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

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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 820

#3
Haque Profile Picture

Haque 505

Last 30 days Overall leaderboard