Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Flow sending 15 emails every time it runs!

(0) ShareShare
ReportReport
Posted on by

I've created a flow using the "Create a daily summary of Planner Tasks by Bucket" template.  Every time the flow runs, it sends the recipient 15 emails. 

 

Does anyone know why? 

 

The only changes made to the template were adding an email address, changing the subject line, and the recurrence time to 5:oo pm EST.  Here's a link to the template

  • v-bacao-msft Profile Picture
    on at
    Re: Flow sending 15 emails every time it runs!

     

    Hi @Anonymous 

     

    What did you fill in the To field? ?

     

    As long as you do not configure Send email action in any Apply to each, your problem will not appear. I have already mentioned this in my previous reply.

     

     

     

  • Community Power Platform Member Profile Picture
    on at
    Re: Flow sending 15 emails every time it runs!

    Hi @v-bacao-msft 

     

    I am trying to send an email to my coworker at the end of the day with a summary of all the tasks I completed that day.  The user contained in the Tasks under Assigned to/ Assigned by / Created by are all me. The flow produces the following table:

    PA Screenshot.PNG

     

    This table is exactly what I need.  The problem is that it is sending the email to a single person fifteen times. Is there a way to stop the email from firing that many times?

     

    Does this clarify things?

     

    Thank you for your assistance. I appreciate it.

  • v-bacao-msft Profile Picture
    on at
    Re: Flow sending 15 emails every time it runs!

     

    Hi @Anonymous ,

     

    I'm afraid I don't understand who the coworker you mentioned refers to.

     

    The users contained in the Task seem to be only Assigned to / Assigned By / Created by.

     

    Please provide more details so that we could understand your needs better.

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    on at
    Re: Flow sending 15 emails every time it runs!

    I appreciate you taking the time to reply @v-bacao-msft 

     

    I am the creator of all the tasks listed in the Planner.  I would like to an email to my coworker on all the tasks that I have completed that day.

    Right now the email only contains the table with task name and date completed for each bucket.  That information is sufficient for my purpose.

     

    Thank you!

  • v-bacao-msft Profile Picture
    on at
    Re: Flow sending 15 emails every time it runs!

     

    Hi @Anonymous ,

     

    It seems that you are configuring the dynamic content of the output of List buckets or List tasks action in Send email action, so Apply to each appears.

     

    Please do not configure Send email action in Apply to each. You can tell us what additional content needs to be added in Send email action so that we can provide you with suitable workaround.

     

    If you want to send email to the user who created the task, you can add the following steps.

     

    • Add an array variable, named CreatedBy. Rely on the user id to get the user email and append it to the array variable.
    • Use the union() function to remove duplicates, and use the join() action to separate email addresses and fill in the To field.

     

    Image reference:

    Spoiler (Highlight to read)
    168.PNG169.PNG170.PNG

    Hope this helps.

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    on at
    Re: Flow sending 15 emails every time it runs!

    Hi @ScottShearer 

    Here is a copy of the Flow.

    Flow 1.PNG

     

    Flow 2.PNG

     

    Flow 3.PNG

     

    Flow 4.PNG

     

    Flow 5.PNG

     

    Thank you for your assistance.

  • ScottShearer Profile Picture
    25,212 Most Valuable Professional on at
    Re: Flow sending 15 emails every time it runs!

    @Anonymous 

    I suspect that your send an email action is inside of a loop.  Please post a screen shot of your Flow.

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow