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 Platform Community / Forums / Power Automate / Get the Selected item ...
Power Automate
Unanswered

Get the Selected item from an Input.ChoiceSet from an adaptive card on a later HTTP Step (Body)

(0) ShareShare
ReportReport
Posted on by
Hello,
 
I have a flow with a "Post adaptive card and wait for response" Action and then an HTTP Action.
 
 
On the Post Adaptive card I have an Input.ChoiceSet element as shown below:
 
{
    "type": "AdaptiveCard",
    "body": [
        {
            "type": "Input.ChoiceSet",
            "id": "decision",
            "choices": [
                {
                    "title": "Approve",
                    "value": "Approve"
                },
                {
                    "title": "Deny",
                    "value": "Deny"
                }
            ],
            "placeholder": "Decision"
        }
    ],
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.5",
    "actions": [
        {
            "type": "Action.Submit",
            "title": "Submit"
        }
    ]
}
 
My goal is to send the value of the selected item above on the body of the HTTP Request below (on the DECISION JSON element)... I tried different ways but I am not able to do it... I am new at this:
 
 
Could you please help.
 
thanks!
Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at
     
    The decision property should be nested within the data property.
     
    Have look for it in the dynamic content or use the below expression instead:
     
    outputs('Post_adaptive_card_and_wait_for_a_response')?['body/data/decision']
     

    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel
  • FL-10011422-0 Profile Picture
    on at
    mmm I tried it, but I see it coming thru the API request as the string literal ( outputs('Post_adaptive_card_and_wait_for_a_response')?[ 'body/data/decision' ] ) ... not the actual value of the decision... what am I doing wrong?
     
  • Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at
     
    It looks like you have added the expression as plain text in your Compose action.
     
    Make sure you add it via the expression tab instead.
     
     

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard