Hey everyone,
I'm quite new in the powerautomate world. I've recreated this flow: Advanced | Flow of the Week: Send multiple attachments on a single email | Power Automate Blog (microsoft.com) because I want to send Emails with multiple attachments. The problem is that the flow sends out multiple emails, the first one with one attachment, the second one with two attachments and so on. Does anyone have a solution for this? (Please ignore the connected excel file, this is just for the recipients)
Thanks in advance!
@Anonymous
Your issue is that the send email action is inside of a loop. Every time an element is added the the array an email is sent with the contents of the array at that time.
Move the Send an email action outside of the loop.
If you want to loop through names from the Excel file, place that loop outside of the loop where you add elements to the array and have a send an email action inside of that loop.
WarrenBelz
146,594
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,928
Most Valuable Professional