Showing results for 
Search instead for 
Did you mean: 
New Member

Magic OOO for certain email senders only

I want to automate my OOO using a flow, but only want to respond to certain people. Essentially, I only want to notify VIP parties of my outage and I do not want to set OOO when I am leaving, so a flow should detect my outage and if an email comes in from a VIP, only respond to them. 


Base: Smart Out of Office with Power Automate (updated May 2021) (


I started with this flow idea, and thought I could match a sender to a SharePoint list in the decision tree. That seems to not work. I feel like I am overthinking this.

My tree:







Solution Sage
Solution Sage

Instead of using the automatic replies action, set up the auto-response as a "reply to email" action and put it inside a condition like a predefined list of senders contains this sender's email. You can also add some time conditions like int(convertFromUtc(utcNow(),'Your Time Zone','HH')) is less than 8 and greater than 17 or whatever your working hours are.


You could be clever and have another flow with a geofence trigger that updates a SP list item to In/Out when you cross the geofence boundary (There's a direction property  of the geofence trigger you don't see as dynamic content) then use that SP list item value in your condition. That way you'll automatically switch your replies on and off when you leave and arrive in the office, or leave and arrive at home or whatever

New Member

To use "reply to email" then I should use the trigger of "when a new email arrives" it seems. So this flow would trigger on every email and then check sender and the calendar. 


That seems more complicated than checking the calendar first, and then auto reply based on sender.

Helpful resources

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,096)