web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Weekly Office Schedule...
Power Automate
Unanswered

Weekly Office Schedule/Announcement

(0) ShareShare
ReportReport
Posted on by 10

Hi Power automate community,

 

I'm currently building a power automate flow that runs every week. This flow is supposed to run on Mondays and send an email with an overview of all the events for that week. All these events are retrieved from SharePoint Lists.

 

However, I'm currently stuck, as I don't know how to proceed with the flow. 

 

1. The first thing I did was: Initialize the Array Variables & Define the dates to compare with the SharePoint Lists.

IpmoVim_5-1662767277571.png

Note: I Added 17 days for testing purposes.

 

2. I then filtered the SharePoint Lists and appended the results into an array variable.

 

IpmoVim_0-1662766684428.png

 

IpmoVim_1-1662767019699.png

IpmoVim_2-1662767033711.png

 

IpmoVim_10-1662768323142.png

 

 

3. Then I use the Union Function to merge all arrays together.

IpmoVim_6-1662767391335.png

IpmoVim_7-1662767397492.png

 

4. Now, this step is where I'm currently stuck. Like I mentioned previously, my goal is to send an e-mail with all the events for that specific week. That means, if an employee is on vacation when the mail is sent, it has to display the days in that week where the employee is on vacation.

 

Here an example of what the final product is supposed to look like.

IpmoVim_8-1662768036272.png

 

 

Any type of help is more than welcome.

 

If there are any questions or if you need more information, please do not hesitate to ask.

 

I thank you all in advance.

 

Best Regards,

IpmoVim

 

 

Categories:
I have the same question (0)
  • David- Profile Picture
    1,254 on at

    I am doing something similar that you can probably adapt. I send myself an e-mail each Monday of the events I have on my calendar. After your recurrence event add two compose actions to calculate that week's start and end date.

     

    Start of Week has the following expression:

     

    addDays(utcNow(),mul(dayOfWeek(utcNow()),-1),'yyyy-MM-dd')

     

    End of Week has the following expression:

     

    addDays(utcNow(),add(6,mul(dayOfWeek(utcNow()),-1)),'yyyy-MM-dd')

     

    For this week, the above two expressions return 2022-09-11 and 2022-09-17 respectively.

     

    I use these two variables in my filter query:

    David_0-1663007124581.png

    Then I use a Select action to get the data I want to send to myself, followed by a Create HTML table from the output of the Select action:

    David_1-1663007208983.png

    Then you just use the Output from the HTML action in the e-mail. You can style the table, but you will need to put the e-mail into HTML format to add your CSS:

    David_2-1663007301894.png

    You will need to repeat some of the actions to generate tables for your different SharePoint lists. I have not found a simple way to combine everything into one table when it is coming from multiple lists, however.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard