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 / CONFIGURE RUN AFTER: H...
Power Automate
Answered

CONFIGURE RUN AFTER: How to get the correct Selected Response from Email With Options?

(0) ShareShare
ReportReport
Posted on by

Hello,

Need some help with this one. Can't use Flow Approvals due to Attachments.

Scenario:

  • Trigger: When an item is created or modified in Sharepoint List
  • Action1: Get item
  • Action2: Send Email with Options + Timeout set to 1 Day (P1D)
  • Action3: Send Email with Options + Configure Run After set to "Timeout"
  • Action4: Update item in Sharepoint List
    • Need to grab the "Selected Response" from the email that was acknowledged
  • Action5: Use the "Selected Response" in a Switch statement to take action

Example:

image.png

Any ideas on how to get the Selected Response from the correct email?

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,898 Most Valuable Professional on at

    The way i've done this is by creating two parallel branches that run after Action 2.  One is set to run if Action 2 successful and the other if it times out. Have both branches record the selected response in a variable. Then have them come back together at Action 4 and use the variable to set the response.

  • Verified answer
    v-alzhan-msft Profile Picture
    on at

    Hi @ericonline ,

     

    You should create different action following the different "Send an email with options" action.

    Please refer to screenshot below to create the flow:

    1.png 

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    on at

    Hi @Pstork1 and @v-alzhan-msft,
    I'm implementing your suggestions and need to ask some further questions:

    • This solution causes two duplicate paths in the Flow. If I have another 20 actions to perform, I now have 40 actions to create/maintain.
    • Is there not a way to simply determine if one of the Selected Reponses IsBlank()/empty() then keep things single-threaded?

    Thank you

  • Pstork1 Profile Picture
    68,898 Most Valuable Professional on at

    Once you have handled one of the two different responses you can then exit the parallel branches and continue on with a single thread.  That's why you store the response in a variable, so you can use the same variable later no matter which branch set it. If you look at the following screenshot you can see how the two seperate branches come back together after I've handled the specific actions that are different depending on whether the timeout occurs or not. Note: the first action after the parallel branches nees to be set to run after for both successful and skipped.

    screenshot.png

  • Community Power Platform Member Profile Picture
    on at

    Thank you @Pstork1 and @v-alzhan-msft . Here is the final solution I went with:

    1. Action set to configure-run-after
    2. Action set to succesful
    3. Set the same variable regardless of path chosen
    4. Set Switch configure-run-after to BOTH "successful" and "skipped" for BOTH set-variable actions
      1. Also set the Switch value to variable dynamic content

    image.png

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

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard