hey community,
I'm building a flow to post a message into a Teams channel, however, I'm struggling when I'm using a condition to check if the email was received in between some time frames, so my example goes like this:
- if the email is received in between 9:00am to 17:59 pm post a message, if time is not on this time frame, go to false
- if the email is received in between 18:00pm to 1:59am of the next day post another message, if this condition is not satisfied, got to false
- if the email is received in between 2:00am to 8:59am post a message
So as you can see I have three conditions to be considered based on email time arrival, already used Copilot and got the same schema that I built manually but still not working even with Copilot's suggestion to be used on my conditions.
Not quite sure if Power automate can actually validate a time frame to be in a range of time.
My own flow.


Copilot's suggestion.


I've been testing functions, different set of conditions, raw information, but still not getting the right configuration here, really appreciate if someone can give me an idea on how to configure it or if someone already faced something similar and already tackled this, many thanks!.
Regards,
Carlos Gonzalez