Skip to main content
Community site session details

Community site session details

Session Id : O6tdoVAlgtbuxTTsbXw55X
Power Automate - General Discussion
Unanswered

Loop not single Items

Like (0) ShareShare
ReportReport
Posted on 10 Apr 2024 16:52:18 by 145

HI

I have an Excel file, and I need to send an email for each 'Course ID' rather than for individual items or values. Additionally, I need to send the email to everybody addresses within the group. In this way all see the recipients

In this case I have to send 3 mail. 

Many thanks

Course IDMailStartEndetcetc
1_AAAttt@gmail.com2024-04-10T09:002024-04-10T11:00  
1_AAAkkk@gmail.com2024-04-10T09:002024-04-10T11:00  
1_AAAwww@gmail.com2024-04-10T09:002024-04-10T11:00  
1_BBBttt@gmail.com2024-04-11T09:002024-04-11T10:00  
1_BBBqqq@gmail.com2024-04-11T09:002024-04-11T10:00  
2_SSSttt@gmail.com2024-04-12T09:002024-04-12T14:00  
2_SSSkkk@gmail.com2024-04-12T09:002024-04-12T14:00  
2_SSSwww@gmail.com2024-04-12T09:002024-04-12T14:00 
  • Garethterb1 Profile Picture
    131 on 12 Apr 2024 at 11:34:18
    Re: Loop not single Items

    I'd suggest that you first build an array variable with only the unique course id's by using a loop with a condition that only adds the course id if it does not exist. Then you can use and apply to each on this variable with the logic to get each email connected to the courser id. So if there are 3 unique course ID's you only send 3 emails.

  • Giorgio67 Profile Picture
    145 on 12 Apr 2024 at 10:26:21
    Re: Loop not single Items

    Hi @Nived_Nambiar 

    I tryed your flow and It's OK about all recipients in TO

    but if "Course ID" have 3 items (one for eatch recipient) the loop send 3 email e 3 meeting teams

    I need to send only one email and only one meeting teams for every eatch "Course ID"

    Giorgio67_0-1712917494683.png

     

    Giorgio67_2-1712917545620.png

    Many Thanks

     

  • Giorgio67 Profile Picture
    145 on 11 Apr 2024 at 19:22:56
    Re: Loop not single Items

    Hi @Nived_Nambiar 

    Thanks again for you help but I have a littel problem yet

     now I have all recipient in TO;It's OK (sent to ttt@gmail.com;kkk@gmail.com;www@gmail.com)💪

    but If I have 3 items in loop For_each, It send 3 mail and 3 invitation Teams ☹️

     

    Giorgio67_0-1712863093400.png

     

  • Nived_Nambiar Profile Picture
    17,929 Super User 2025 Season 2 on 11 Apr 2024 at 15:13:29
    Re: Loop not single Items

    Hi @Giorgio67 

     

    could you share exacly what you want to acheive here ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • Giorgio67 Profile Picture
    145 on 10 Apr 2024 at 18:15:41
    Re: Loop not single Items

    Yes right Nives

    the column Start and End I'm creating a Teams meeting too

    Thanks

  • Nived_Nambiar Profile Picture
    17,929 Super User 2025 Season 2 on 10 Apr 2024 at 17:24:04
    Re: Loop not single Items

    Hi @Giorgio67 

     

    so it will be like for course ID 1_AAA  it should be sent to ttt@gmail.com;kkk@gmail.com;www@gmail.com

     

    right ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

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

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!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete