cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Chipper
Helper II
Helper II

Sending emails on certain days of the month.

I am wanting to send reminder emails on certain days of the month.  First Monday, second Monday and so on.

There is what I have so far.  I have an excel file with the dates that I need to send on.

Is there a way to put the dates in without having to put in 12 different controls?  I know I can brute force it and put a separate line for each date, but I was hoping to avoid that.

 

Screen Shot 2022-02-08 at 6.23.51 PM.png

 

Thanks for your help.

Chip

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @Chipper ,

using the same principle, second Tuesday will be between the 8th and 14th day of the month (greater than 7, less than 15)

@and(less(int(utcNow('dd')),15),greater(int(utcNow('dd')),7)

 



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

4 REPLIES 4
tom_riha
Super User
Super User

Hello @Chipper ,

if you use the scheduled trigger and set the interval to Weekly run, it'll allow you to select which day of the week it should run.

image.png

But if it should run only the first Monday in each month, you'll have to combine it with a trigger condition.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

I checked out the link you included about the trigger.  That is a lot better than what I was planning on doing.  But it did elaborate on if I needed to do the send Tuesday of the month.  I posted a comment asking about it.

 

run only if the date part from today's date is less than 8 (= 1 to 7):

@less(int(utcNow('dd')),8)

 

Notes: utcNow('dd') will take only the day part from today's date

int(...) will convert the day from today's date into an integer

less(...) will compare if the day part from today's date is less than 8

Hello @Chipper ,

using the same principle, second Tuesday will be between the 8th and 14th day of the month (greater than 7, less than 15)

@and(less(int(utcNow('dd')),15),greater(int(utcNow('dd')),7)

 



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

Can you set up a trigger with utcNow('mm')('dd') or something similar that includes variable month/days? For example it might need to go out on the 26th of one month, the 23rd of the next, etc?

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,414)