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 / Post a choice of optio...
Power Automate
Answered

Post a choice of options as the Flow bot to a user + get who selected the options

(0) ShareShare
ReportReport
Posted on by 516

Hi there community. 

 

I have a step in Power Automate, Post a choice of options as the Flow bot to a user. The recipients of these MS Teams message are 3 people. The choices of the options are "APPROVE", "REJECT".

 

Issue: How can i get who selected and trigger the selection from the 3 recipients? I only need 1 person to select the options but i don't know how can i identified who clicked the options I need the username and the date they clicked.. is there away to do that?

 

Thanks in advance

 

Echo

 

Categories:
I have the same question (0)
  • David_MA Profile Picture
    13,431 Super User 2025 Season 2 on at

    When you say you are posting as the Flow bot, are you referring to the action Post adaptive card and wait for a response? If so, you can get the responder through a Compose action and the following expression:

     

     

    outputs('Post_adaptive_card_and_wait_for_a_response')?['body/responder/email']

     

     

    If you renamed the action, you will need to update the expression accordingly.

     

    I haven't tried this, but to get the response time, I think you can use the following expression in a Compose action as well.

     

    outputs('Post_adaptive_card_and_wait_for_a_response')?['body/responseTime']

     

  • echodapogi Profile Picture
    516 on at

    Hi David, 

     

    Thanks for the reply. No i am not using the adaptive card. I am just using the "Post a choice of options as the Flow bot to a user". 

     

    echodapogi_0-1689601693701.png

     

  • Verified answer
    David_MA Profile Picture
    13,431 Super User 2025 Season 2 on at

    I don't understand why you are having trouble with this then. The data is provided with the response. Just look in the dynamic content and you will see all of the values that are returned.

    David_MA_0-1689602179198.png

  • echodapogi Profile Picture
    516 on at

    Hi David, 

     

    Thanks for the reply. this solves my issue. one more thing. do you have a way to format the response time to like mm/dd/yyyy 1:00 AM time format? please? 

     

    Thanks again

     

  • David_MA Profile Picture
    13,431 Super User 2025 Season 2 on at

    You can use the following expression to format the date:

     

    formatDateTime(outputs('Post_a_choice_of_options_as_the_Flow_bot_to_a_user')?['body/responseTime'],'MM/dd/yyyy h:mm tt')

     

     

    This is a good Web page that provides the values for formatting dates with the formatDateTime expression: formatDateTime to Format Dates with Power Automate (sharepains.com)

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 273 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 135 Most Valuable Professional

Last 30 days Overall leaderboard