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 II
Super User II

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (3,035)