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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Scheduled Flow (Outloo...
Power Automate
Answered

Scheduled Flow (Outlook 365) Notification of Events

(0) ShareShare
ReportReport
Posted on 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.

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    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

     

  • Nucho Profile Picture
    16 on at

    @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!

  • v-xiaochen-msft Profile Picture
    on at

    Hi @Nucho ,

     

    Please share the flow screenshot.

     

    Best Regards,

    Wearsky

  • Nucho Profile Picture
    16 on at

    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 at

    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

  • Verified answer
    Nucho Profile Picture
    16 on at

    @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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard