cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hennsab
Helper I
Helper I

Power Automate Sending duplicate e-mail with attachments

Hi everyone,

 

I have an approval flow that requires several approvals, one after the other.  I would like that at the end of the approval flow, an e-mail with all the attachments included in the item was sent. I managed to do that and at the end all attachments are sent together in one e-mail, but an extra e-mail is sent with just one attachment. How can I stop this extra e-mail to be sent?

 

hennsab_0-1669665868420.png

 

 

hennsab_1-1669665963285.png

 

Closer look

hennsab_2-1669666144190.png

 

 

Thanks in advance

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-chengfen-msft
Microsoft
Microsoft

Hi @hennsab ,

The reason for this problem is:
1. [Apply to each] to get the attachment, put it into the array, and then send the email immediately
2. Every time it is executed, an email will be sent

 

I assume the correct flow would be: collect all attachments, then send the email.

 

Please put [Send an email(V2)] outside of [Apply to each ],

so that an email will be sent after the attachment is collected.

 

Best Regards

Cheng Feng

View solution in original post

2 REPLIES 2
v-chengfen-msft
Microsoft
Microsoft

Hi @hennsab ,

The reason for this problem is:
1. [Apply to each] to get the attachment, put it into the array, and then send the email immediately
2. Every time it is executed, an email will be sent

 

I assume the correct flow would be: collect all attachments, then send the email.

 

Please put [Send an email(V2)] outside of [Apply to each ],

so that an email will be sent after the attachment is collected.

 

Best Regards

Cheng Feng

hennsab
Helper I
Helper I

It worked, thanks a lot!

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,336)