How to make a Power Automate flow run only on weekdays
Updated 2 November 2026
The expression:
and(greater(dayOfWeek(convertFromUtc(utcNow(), 'GMT Standard Time')), 0), less(dayOfWeek(convertFromUtc(utcNow(), 'GMT Standard Time')), 6))
True from Monday to Friday. dayOfWeek returns 0 for Sunday and 6 for Saturday.
Where it goes
A Condition's left value, compared with is equal to true.
- In the Power Automate designer, click in the box that needs the value.
- Select the fx (Expression) button that appears next to the dynamic content list.
- Paste the expression and select Add. It should appear as a purple fx chip; if you can see it written out as text, it went in as plain text and won't run.
Example output
true (illustrative; AutomateAlong doesn't run expressions)
The common mistake
less(dayOfWeek(utcNow()), 6)
Sunday is 0, not 7, so this lets Sunday through, and it checks the UTC day. The weekday test needs both ends: more than 0 and less than 6.
Before you rely on it
- In the Condition, set the right value to the expression true, not the word true.
Change it for your flow
Step names inside an expression must match your steps exactly, with underscores for spaces: Get_items, not Get items. To adapt it, open it in the Expressions checker, which points at any bracket, quote or name that's wrong and suggests the corrected version. To write a different one from plain English, describe what you need on the same page.
Related
- How to check if a date is in the past in Power Automate
- How to calculate the number of days between two dates in Power Automate
- How to get the day of the week as a name in Power Automate
- How to get the first day of the month in Power Automate
- How to convert an Excel date number to a date in Power Automate
AutomateAlong is independent and isn't affiliated with Microsoft. Microsoft and Power Automate are trademarks of the Microsoft group of companies.