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 / Expiry notification se...
Power Automate
Answered

Expiry notification sends multiple time

(0) ShareShare
ReportReport
Posted on by

Hi 

i have a document library with field "ExpiryDate" and "StakeHolders" (People and groups with multiple selection enabled ) i want to sent emails notification if the expiry date is equal to 90 days to the stake holders field associated with the record.

i have managed that but multiple emails have been sent by the system.  How do i consolidate it into one?

 

Please see the flow below.

171.jpg

Capture.JPG

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,923 Most Valuable Professional on at

    It looks like the flow is sending one email per item.  If you have the same stakeholders for two documents then they will get two emails.  Are you saying that stakeholders are getting multiple emails for the same document or multiple emails for different documents?  To send out a single email with multiple documents in it you would have to figure out a way to parse the list multiple times and send one email for each matching set of stakeholders.  That is going to be very difficult to do.

     

    An easier approach might be to start with a loop that builds an array of all the stakeholders.  Then a second loop that processes all the documents again one stakeholder at a time and sends an email for all the documents for that stakeholder.

  • rinu007 Profile Picture
    on at

    Thanks Pstork, 

    "An easier approach might be to start with a loop that builds an array of all the stakeholders.  Then a second loop that processes all the documents again one stakeholder at a time and sends an email for all the documents for that stakeholder." 

     

    I am pretty new to this Can you show me an example?

  • rinu007 Profile Picture
    on at

    hi It is sending multiple emails for different documents

  • Verified answer
    v-alzhan-msft Profile Picture
    Microsoft Employee on at

    Hi @rinu007 ,

     

    If you want the flow to only send one email, you could move the send an email action outside the Apply to each.

     

    Best Regards,

    Alice

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 60 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 54

#3
Expiscornovus Profile Picture

Expiscornovus 47 Most Valuable Professional

Last 30 days Overall leaderboard