cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tstanford1974
Frequent Visitor

Too Many Emails

I've created a flow that is triggered by a form submission. The form emails itself to users and can include attachments. If the user adds 1 attachment it will send 1 email. If 2 attachments it sends an email with the first attachment and then a second email with both attachments. If the user adds 5 attachments I get 5 emails, 1 attachment, then 2, then 3 and so on. 

 

How can I get only 1 email with 5 attachments? 

 

Here is the flow:

Picture1.png

Picture2.png

Picture3.png

Picture4.png

   

1 ACCEPTED SOLUTION

Accepted Solutions
AnthonyAmador
Microsoft
Microsoft

Hi @tstanford1974 

 

I think the problem is that you have the send email action within the "apply to each", I found a blog where they did something similar to your flow, I hope it helps.

Advanced | Flow of the Week: Send multiple attachments on a single email | Power Automate Blog (micr...

Cheers.

View solution in original post

3 REPLIES 3
AnthonyAmador
Microsoft
Microsoft

Hi @tstanford1974 

 

I think the problem is that you have the send email action within the "apply to each", I found a blog where they did something similar to your flow, I hope it helps.

Advanced | Flow of the Week: Send multiple attachments on a single email | Power Automate Blog (micr...

Cheers.

View solution in original post

tom_riha
Super User
Super User

Hello @tstanford1974 ,

try to just move the 'Send an email' outside of the 'Apply to each'.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

Thanks. You are correct and I works flawlessly now. 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,984)