Microsoft Flow: Send Email with Options

goay xuan hui
2 min readJan 13, 2021

--

What do you need to know?

This is a flow that allows you to send email with button options to solicit response from the recipients.

By default, ‘sending email with options’ flow will run for 30 days. This means that once the email is sent out, recipient has 30 days to response to it.

What options you can do with it?

Timeout Option: You can set the response duration from the default 30 days to PT1M (1 minute) or PT24H (24 hours).

The caveat is…

You would need to terminate the flow after it is timeout. Otherwise, the flow would just hang there.

You can do this by adding a ‘Terminate’ feature → Click on ‘…’ then ‘Configure Run After’ → Select ‘has timed out’ option → Select Status as ‘Cancelled’.

(This step tells the flow if the ‘send email with options’ flow has timed out, set the status as cancelled and terminate the flow.)

So, what if the user managed to response to the email before it is timeout and you want to perform some action based on the selected email option?

Add ‘Condition’ feature → Click on ‘…’ then ‘Configure Run After’ → Select ‘is skipped’ option.

(This step tells the flow if the user managed to response before it is timeout, ‘Terminate’ process is skipped and ‘Condition’ should be run.)

References:

https://d365demystified.com/2020/07/23/terminate-a-flow-with-failed-cancelled-status-power-automate/

--

--

goay xuan hui
goay xuan hui

Written by goay xuan hui

A food lover, a cyber security enthusiast, a musician and a traveller, so you will see a mix of different contents in my blog. ☺️