Skip to main content
Community site session details

Community site session details

Session Id : 6Jw5OZoFxDQMQla2DXMD7S
Power Automate - Building Flows
Answered

Scheduled Flow (Outlook 365) Notification of Events

Like (0) ShareShare
ReportReport
Posted on 5 Dec 2023 23:10:54 by 16

The Flow I’m working on is a Scheduled Flow that would run every Monday. It’s pulling info from an Outlook calendar that has our Workshops on it and ss sending out an email with all of the classes for that week to the instructors who are scheduled to teach them (they’re added on the calendar invite as a Required Attendee).
I got everything working so far, but the problem I’m having is that it is sending the email for every single class they teach that week. So, if they’re a required attendee for 3 classes, it’s sending the same email to them 3 times.

How can I generate a single notification email to be sent to each person listed on the calendar during this reoccurrence trigger every Monday? Only one email that would have the information of each event they are listed under as a 'required attendee' in Outlook.

 

Thank you in advance for your help!

 

Juan M.

  • Verified answer
    Nucho Profile Picture
    16 on 06 Dec 2023 at 21:15:20
    Re: Scheduled Flow (Outlook 365) Notification of Events

    @v-xiaochen-msft 

    With your help I have been able to find a solution. I had to modify your design but, in the end, it works! Thank you so much for your help!

     

    Here is what I came up with with your help:

    C5796C7B-7102-499C-8434-4C6EB66C8583.jpeg863B6927-A145-4AA5-97E2-A171A93CEE37.jpeg04CE459D-AD74-43AA-BC54-A0F9F81B443E.jpeg

  • v-xiaochen-msft Profile Picture
    on 06 Dec 2023 at 07:28:53
    Re: Scheduled Flow (Outlook 365) Notification of Events

    Hi @Nucho ,

     

    There are 2 'Current item' in dynamic content list and you are using a wrong one.

    Please try to use 

    items('For_each_1')

    rather than 

    items('Apply_to_each')

     

    Best Regards,

    Wearsky

  • Nucho Profile Picture
    16 on 06 Dec 2023 at 07:12:41
    Re: Scheduled Flow (Outlook 365) Notification of Events

    BE260ADA-1706-4363-B5EF-43D0E1C693CC.jpeg2B68063A-024C-48D6-A960-9ACDAB33E1AE.jpeg364626EF-DB70-4495-A111-2A64F24289EC.jpegC432412C-B069-4101-BDD6-249AA05799E9_4_5005_c.jpeg

  • v-xiaochen-msft Profile Picture
    on 06 Dec 2023 at 06:39:08
    Re: Scheduled Flow (Outlook 365) Notification of Events

    Hi @Nucho ,

     

    Please share the flow screenshot.

     

    Best Regards,

    Wearsky

  • Nucho Profile Picture
    16 on 06 Dec 2023 at 06:12:00
    Re: Scheduled Flow (Outlook 365) Notification of Events

    @v-xiaochen-msft 
    This is very helpful, Thank you. Now I am encountering issues with arrangement. 


    Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'The inputs of template action 'Filter_array_2' at line '1 and column '1891' is invalid. Action 'Apply_to_each' must be a parent 'foreach' scope of action 'Filter_array_2' to be referenced by 'repeatItems' or 'items' functions.'.'.

     

    I think once I can configure these correctly, I may be able to complete this flow. Any suggestions?

     

    Thank you!

  • Verified answer
    v-xiaochen-msft Profile Picture
    on 06 Dec 2023 at 01:44:35
    Re: Scheduled Flow (Outlook 365) Notification of Events

    Hi @Nucho ,

     

    Please try this

    vxiaochenmsft_1-1701826903904.png

    split(variables('var'),';')
    item()
     
    vxiaochenmsft_2-1701826938891.png
    union(body('Filter_array'),body('Filter_array'))
    items('Apply_to_each_2')
    body('Filter_array_2')
    item()?['subject']
    items('Apply_to_each_2')
    body('Create_HTML_table')
     
    Best Regards,
    Wearsky

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete