Hello all,
This one may be a bit complicated, or at least it seems that way to me.
I would like to be able to set up a flow that runs every month on the 1st. Its function would be to post a Word document template I have created to a Team doc library.
I also need for the Word doc to be titled with a date, that date specifically being the last Friday of the month that the flow runs.
So, if it's running May 1st, the title would be the last Friday of May. If it's running June 1st, the title would be the last Friday of June, and so on.
If possible, I'd also like for a condition to catch if that last Friday falls on a holiday, in which case the doc would then need to be titled with the business day preceding the holiday. (This portion is not a big deal if too difficult/not possible, I can always go in and change the title manually when I notice a holiday coming up)
The purpose of this is to make sure that a new document is guaranteed to be posted on the Team and not rely on an individual creating it. I have a group that has reports due by the last Friday of every month, and being able to automate a fresh document for the current month would be awesome.
Thanks in advance!