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 / Power Automate Flow is...
Power Automate
Unanswered

Power Automate Flow is Sending Multiple Emails to the same person despite it being only triggered once

(0) ShareShare
ReportReport
Posted on by 56

I have a Model-Driven App in which I have a BPF, I send emails to different recipients using "Queue" table using 'Add a New Row' and 'Perform a Bound Action' , so that an email is sent to both the App timeline and Outlook when the stages of a BPF change,

the Trigger is the BPF table on 'add or modify'.

 

The Problem is that despite the flow running successfully only when the active stages of BPF change, the flow sends multiple same emails to the same person as a result it is causing a lot hassle.

 

kindly Someone Help how to restrict Power Automate from sending Multiple Emails,

Your Reply is Highly Appreciated.

Apart from this Problem the Flow works Fine.

 

Patent BPF.jpg

Categories:
  • Anchov Profile Picture
    1,986 on at

    Could you share a screenshot of the segment of your flow responsible for sending the email? Additionally, check if the email action is within an 'Apply to All' action, as this could potentially cause the email to loop unnecessarily.

  • Mayank_Yadav Profile Picture
    56 on at

    Hi Anchov,

    See below How I have made the flow

    1. ( I have initialized 2 variables in below screenshot to store the Name and Email of a concerned person which I extract from a table connected to the main form of the crm App using Odata and Datavere RestBuilder { The necessary tables required are added using the 'Get row by ID' and 'list rows' Action } )

    FLOW STEP 1.jpg

    2. ( In the Below Screenshot you can see I initialized a member variable and similarly used OData and Dataverse Rest Builder to extract the Name and Role of the concerned Members that are associated with the record {The member table is connected to the main form using a sub-grid} )

    FLOW STEP 2.jpg

    3. ( In the below screenshot I have Listed the approval Table and made variables to store responses from different reviewers based on their response whether Approved/Re-work , I have made 3 parallel Apply to each steps on the 'Approval Table' from list rows { So that the flow does not fail due to data not being filled by the next 2 reviewers If only the 1st reviewer makes the changes} 

    (I have done so because ,  I need to have approvals at different stages of the BPF, for eg if 1st stage is the initial stage of form filling , then 2nd stage is ' A review' then 3rd stage 'B review' then 4th stage 'C review' and last stage is 'Completed' Stage of BPF ; 

    For Approvals record , I have added a sub-grid of the  Approval table in the Main form , the Reviewers make a new entry in the table based on their response [Approve/Re-work] then make a change in the Main form that " 'A' review Done" and I have made another flow which moves the BPF stage forward eg from 2nd stage to 3rd Stage if the necessary field is changed on the main form )

    FLOW STEP 3.jpg

    4. ( Inside the 3 apply to each Actions I do similar steps where, if the conditions are satisfied then I set the Reviewer variable { eg A reviewer variable Approve(for Yes) and A reviewer variable Re-work(for No) } using Odata and Dataverse RestBuilder Eg.

    1] Name - @{outputs('List_rows_(Approval_)')?['body/value'][2]['name_value@OData.Community.Display.V1.FormattedValue']}
    2] Stage - @{outputs('List_rows_(Approval_)')?['body/value'][2]['stage@OData.Community.Display.V1.FormattedValue']} 
    3] Comments - @{outputs('List_rows_(Approval_)')?['body/value'][2]['comments']} 

    )

    FLOW STEP 4.jpg

    5. (similarly in the 'yes' condition I have 6 stages of the BPF as the cases and match them using the 'Process Stage Name' step and then send mail in Model driven app timeline using 'Add a new row' in the "Email Messages" table using the Email id made in the Queue table and to Outlook using the 'perform a bound action' action)

    ( ( As you can see I have not Put the Email sending condition inside the 'Apply to Each' Step so there is no chance of if to trigger multiple times according to me ) )

    FLOW STEP 5.jpg

     

    This is the entire flow that I have created ,  It is also working fine , the only problem is that It is sending Multiple emails and also triggering multiple times like this below

    [ Blue - 1st Initial Stage of BPF, { Working fine and only for 1 time}

      Red - 2nd Stage of BPF { triggered Thrice at the same time} ]

    FLOW STEP 6.jpg

  • Mayank_Yadav Profile Picture
    56 on at

    As a result of the Above flow triggering 3 times at the 2nd stage 

    {in which I have added 3 'Add a new row' and 3 ' perform a bound action' so that 3 emails are sent to the model driven app timeline and 3 email are sent to Outlook}

    ,I have received 15 mails and that is just absurd ,

     

    FLOW STEP 8.jpg

     

    FLOW STEP 7.jpg

    Kindly Help me Solve this Problem

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @Mayank_Yadav , did you get this sorted?

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 315 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 267

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard