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 / My flow is sending mor...
Power Automate
Unanswered

My flow is sending more 1 email

(0) ShareShare
ReportReport
Posted on by 58

Hi,

 

New in the community 🙂

I am trying to set up a feature that send email from power bi application.

i am displaying in a screen the collection amount per month and year and in another graph, i am displaying the repartition by clients
In power automate, i would like to send an email that contains :
- User
- Year

- Month

- Client

- Collection Amount

 

Currently i am receiving the right email, but i am receiving 11 times (11 clients for the test user)

How can i correct it ?

 

Thank you,

Avy

Flow collection email.PNG
Categories:
I have the same question (0)
  • menphis Profile Picture
    58 on at

    @David_MA @Expiscornovus @Pstork1 @wskinnermctc 
    help please 🙂

  • Pstork1 Profile Picture
    69,387 Most Valuable Professional on at

    I assume the Apply to Each is looping on the clients. To get one email for all the clients you need to assemble the body of the email inside the loop, but send the email after you leave the loop.  Create the body of the email by appending things to a variable inside the loop. Then use that variable after you exit the loop to send one email.

  • menphis Profile Picture
    58 on at

    Hi @Pstork1,

     

    Thank you for your help. can you tell me how can i do it ? which step i need to add and where in my flow ?

     

    Thanks

  • Pstork1 Profile Picture
    69,387 Most Valuable Professional on at

    1) Add an Initialize Variable for a String Variable just after the Trigger.

    2) Replace the Send an Email with an Append to String action inside the loop.

    3) Add a Send the email after the loop and use the string variable in the body.

  • menphis Profile Picture
    58 on at

    Thanks @Pstork1

    Sorry i am new in power automate and i am not fully understanding how i can follow your steps
    Sorry to ask you that , but can you send commentaries based on my flow screenshot ?
    It will help me to understand where i need to add the think and how can i do it.

     

    Thanks

  • Pstork1 Profile Picture
    69,387 Most Valuable Professional on at

    Your screenshot doesn't include what you are doing inside the loop.  But here's the basic placement of the things I was telling you to do.

    image.png

  • menphis Profile Picture
    58 on at

    I think I've done something wrong. How do I fill in the Append to a string Value?

     

    I've put the Partner Emails.
    To summarize, i have this data :

    YearMonthPartnerEmailClientAmount
    20231AA@email.comC110
    20231AA@email.comC220
    20231BB@email.comC110
    20231BB@email.comC220

     

    I want to send an email to each Partner the table that contains only his information with the list of his clients
    Means that :
    " Hi Partner A,

    YearMonthPartnerClientAmount
    20231AC110
    20231AC220

    "

     

    Second email 

    " Hi Partner B,

    YearMonthPartnerClientAmount
    20231AC110
    20231AC220

    "


    With my current flow, its combining both partner in the same email and sending it X times ( X = nb of clients)


    Attached my flow ( Inside the step "Compose" there is only CSS code to format the table+ Output)

     

    Thanks for your help and sorry to disturb for something that seems to be simple for someone that knows the basic of Power automate

    Collection flow part 1.PNG
    Collection flow part 2.PNG
  • Pstork1 Profile Picture
    69,387 Most Valuable Professional on at

    It wasn't clear from your original post what you were running the loop on.  What you are proposing looks very different from the flow you currently have.  Let me try to put together something similar and I'll send you some screenshots.

  • menphis Profile Picture
    58 on at

    Thank you @Pstork1 for your time and your patience 🙂

     

  • Pstork1 Profile Picture
    69,387 Most Valuable Professional on at

    Take a look at this Blog post I wrote on the topic.  Its based on SharePoint, but other than the trigger the process should be the same.  Send One Email per Person in a Mixed List – What Me Pa..Panic? (dontpapanic.com)

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 820

#3
Haque Profile Picture

Haque 505

Last 30 days Overall leaderboard