Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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"
}

  • EP-29071004-0 Profile Picture
    on at
    Re: empty adaptive card

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

  • Verified answer
    v-litu-msft Profile Picture
    on at
    Re: empty adaptive card

    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.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >