Hey Im building a flow for an automated auto reply email - I have a domain condition(certain emails from specific domains) and then a time condition ( less then 9am and greater then 5pm )- below is an example of my flow. My problem is trying to implement days of week so saturday and sunday will auto reply regardless of hours while monday to friday will have the time received condition. Any help would be great.
Please ignore my message - I fixed it using a slightly different expression....
Now I have a loop issue though 😂
Hey, I tried the expression you put here but it is throwing up an error for me: 'Unable to process template language expressions in action 'Initialize_variable_for_time' inputs at line '0' and column '0': 'The template language function 'formatDateTime' expects its first parameter to be of type string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#formatdatetime for usage details.'.'
Any ideas what I might be doing wrong?
Thank you! This helped me as well.
@JC80 I know you posted this add on almost a year ago, but I wanted to say thank you because I have been trying to set this flow up for probably 10 total work hours and so far i think this solution will be successful! thanks so much!!
Hi! is this still the applicable solution? I'm having trouble getting mine to work, and I can't get all the same options. Thanks!
Thanks your post helped me alot!
Just to add on in case anyone else is having issues with the timezone or incorrect times.
MSFT by default usually uses the UTC Coordinated Universal Time time zone.
When using JC80 method, the time zone is always wrong.
What resolved it was using the Covert Time Zone action as seen below then using that time to initialize the variables.
Hi All,
I would like to enable OOO after office hours ex: 6:00PM to 9AM everyday. I followed the above suggested steps and still not working. Can some one please help me to set up OOO with power automate.
Any assistance would be greatly appreciated
Thanks
oh, thanks a lot! works now!
It would depend. Do you have a single domain you want to avoid or a few specific email addresses?
In my particular use case I implemented 2 steps to avoid the loop you describe.
1. Filtered the subject to reject anything that carries "Auto Reply" in the subject line
2. Set an OR statement and typed the domains I wanted to answer only.
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional