Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Need help creating a Condition for New Event create (V2)

I need to create a condition with a statement that will send a notification when the event is starts after 5pm or the event starts saturday or sunday.


@greater(triggerBody()?['Start'], '17:00:00')

Community Support
Community Support

Re: Need help creating a Condition for New Event create (V2)

Hi @Ivazquez,


Could you please share a screenshot of your flow's configuration?

Do you create an event within your Outlook calendar?


I have made a test on my side and please take a try with the following workaround:

  • Add a "When a new event is created (V2)" action, specify Calendar Id.
  • Add a Condition, click "Edit in advanced mode", type the following workaround:
@or(greater(formatDateTime(triggerBody()?['Start'], 'HH:mm'), formatDateTime('2018-04-13T17:00:00Z', 'HH:mm')),or(equals(dayOfWeek(triggerBody()?['Start']), 6),equals(dayOfWeek(triggerBody()?['Start']), 0)))
  • Within "If/yes" branch of Condition, add a "Send an email" action.

Image reference:6.JPG

The flow works successfully as below:7.JPG


More details about using expression in flow actions, please check the following article:

Use expression in flow actions



Best regards,




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

Re: Need help creating a Condition for New Event create (V2)

thanks Kris, i will try it tomorrow and let you know the status

Helpful resources


Super User Program Update

Three Super User rank tiers have been launched!


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (9,261)