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 Platform Community / Forums / Power Automate / Need help with "When s...
Power Automate
Unanswered

Need help with "When someone responds to an adaptive card" trigger

(1) ShareShare
ReportReport
Posted on by 716 Moderator
This trigger has only a Body input now it seems.
I've input the json that created the AC in the originating flow into the Body property.
I then tried adding a Compose action to get data from the card but there is no dynamic data available.
I think I've done the same thing that I've watched folks do in videos but I don't get the same result and don't understand why.
 
Is it because my original AC has dynamic values in it from the originating flow?
Here is the json for the AC. This same json is in the Post Card action within the originating flow and in the Body parameter of the "when someone responds" trigger.
 
{
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "type": "AdaptiveCard",
    "version": "1.4",
    "body": [
        {
            "type": "TextBlock",
            "text": "@{outputs('Get_SPIFF_Submitter')}",
            "id": "acTitle",
            "spacing": "medium",
            "horizontalAlignment": "left",
            "size": "extraLarge",
            "weight": "bolder",
            "color": "accent"
        },
        {
            "type": "TextBlock",
            "text": "Submitted a SPIFF Approval Request ",
            "id": "acHeaderTagLine"
        },
        {
            "type": "TextBlock",
            "text": "**SPIFF Name:** @{outputs('Get_SPIFF_Name')}",
            "size": "Medium",
            "id": "acSpiff",
            "separator": true
        },
        {
            "type": "TextBlock",
            "text": "**SPIFF Number:** @{outputs('Get_Record_ID_for_url')}",
            "id": "acSPIFFID"
        },
        {
            "type": "TextBlock",
            "text": "**SPIFF Details:** @{outputs('Get_Details')}",
            "id": "acDetails"
        }
    ],
    "actions": [
        {
            "type": "Action.Submit",
            "title": "Acknowledge/Dismiss",
            "id": "btnClear",
            "data": {
                "button": "Dismiss"
            }
        },
        {
            "type": "Action.Submit",
            "title": "Approve/Reject",
            "id": "btnDetails",
            "data": {
                "button": "Details"
            }
        }
    ]
}
 
Categories:
I have the same question (4)
  • DCHammer Profile Picture
    716 Moderator on at
    I thought maybe it was a Designer version problem so I switched to the old designer and instead of just the Body Input property, there is now a Inputs Adaptive Card and Card Type ID property. But I can't paste the card json into that field which seems very odd. 
     
    Do I have to manually type the entire json? Or am I doing something obviously wrong?
  • DCHammer Profile Picture
    716 Moderator on at
    Well, I managed to get the json into the trigger and it's firing.
    I need a Condition now and can't figure out why it always resolves to false.
     
    I put a Compose step immediately after the trigger to store the value of the specific button that was pressed.
    Compose returns:
     
    {
      "button": "Dismiss"
    }
     
    I added a Condition step immediately below Compose and I'm trying to compare the Outputs of the Compose step against Dismiss to end the flow and continue if it's not Dismiss. But the condition fails every time and I can't figure out what to use to compare against Outputs from the Compose step.
     
    I've tried using Dismiss, "Dismiss", "button": "Dismiss". Those all fail the compare and wrapping it all in curly braces causes an error and I can't even save.

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 875

#2
Valantis Profile Picture

Valantis 817

#3
Haque Profile Picture

Haque 481

Last 30 days Overall leaderboard