Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

Flow emails are duplicating emails

Posted on by

Hi All,

 

I have a flow created to send an email when a file is created within any of the subfolders in my OneDrive. It works fine but the issue is, it's sending out multiple emails when a file is created within the subfolders. Here is my flow and Subfolders, Anyone please help me to figure out why the flow is sending out multiple emails? @Pstork1, Any suggestion from the end on this? Thanks in Advance!

 

 

Santhosh_V_26_0-1703184082251.pngSanthosh_V_26_1-1703184168675.png

Santhosh_V_26_2-1703184203502.png

 

  • rmortier Profile Picture
    rmortier 91 on at
    Re: Flow emails are duplicating emails

    My flow suddenly stopped duplicating triggers. Are you still having issues @Santhosh_V_26 ?

  • rmortier Profile Picture
    rmortier 91 on at
    Re: Flow emails are duplicating emails

    That's what I figured. It has to be a bug. I don't believe creating a link to the file should trigger file creation.

  • Re: Flow emails are duplicating emails

    It's sending emails via multiple new instances.

  • Re: Flow emails are duplicating emails

    I'm already using the Send an email V2, i just renamed it as Notify user via email. I tried with a dynamic HTML body as well. No luck!! : (

    Spoiler (Highlight to read)
     
     
  • rmortier Profile Picture
    rmortier 91 on at
    Re: Flow emails are duplicating emails

    Can you check if multiple job runs are being created for your flow or is the duplicate emails occuring in 1 job run?

     

    It appears that creating a link to a file is starting a new job for me, wondering if it's the same for you? In that case, I don't think there is any way to work around this until Microsoft fix this issue.

  • ninjaryder1st Profile Picture
    ninjaryder1st 230 on at
    Re: Flow emails are duplicating emails

    Not particularly,

     

    Might be worth changing your last step from "Notify Users by email" to "Send and Email (v2 or V3)" and build the body with  dynamic content (HTML body) of the new command, just like you did in the original notify command.   Might be that step causing duplicates too.

     

  • Re: Flow emails are duplicating emails

    Yes, I conducted a test using the 'Terminate' option, but unfortunately, it didn't resolve the issue. When I make the 'Create a link to the file' step static, there are no duplicate emails received. However, since this step is crucial for obtaining links to OneDrive files, I'm facing a dilemma.

     

    Do you have any advice or suggestions on how to proceed in resolving this matter?

  • rmortier Profile Picture
    rmortier 91 on at
    Re: Flow emails are duplicating emails

    Possibly there is something wrong with that trigger? I'm having the same issue here: https://powerusers.microsoft.com/t5/Building-Flows/OneDrive-When-a-file-is-created-trigger-is-triggering-multiple/m-p/2519234#M281762

     

    My flow has been going strong for 3 years without issue until this week.

  • ninjaryder1st Profile Picture
    ninjaryder1st 230 on at
    Re: Flow emails are duplicating emails

    Very strange behavior, as if a Loop of some sort is created, though its not apparent in your flow.   I wonder if generating a link, or creating a hyperlink to the file could be considered a "file" and create a loop to continue emailing.   What happens if you put a Control Step to "terminate" the process after all 8 steps are done?    Might "end" the loop as a work around.

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,487

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,014

Leaderboard