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

How to stop Flow from exponentially attaching files to email from a sharepoint list

I've created a flow to send an email with attachments from a sharepoint list to specified person when the expiration date column is equal to today.

 

The issue is, if I have multiple list entries with the same expiration date, the attachments from each item are included in each email as Flow goes through the list. So the first email sent has 1 file attached, second email has 2 files- the previous item's file and the current attachment, the third email has 4 files attached- first email's, second email's, and current attachment, etc. 

 

Any ideas on how to fix this so Flow stops including attachments from all list items??

 

This is my flow:
flow1.PNGflow2.PNGflow3.PNGflow4.PNG

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

Hi @chanafee ,

 

Please try this configuration.

  • Empty the array variable after each email is sent.

Image reference:

5.PNG

Hope it helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-bacao-msft
Community Support
Community Support

Hi @chanafee ,

 

Please try this configuration.

  • Empty the array variable after each email is sent.

Image reference:

5.PNG

Hope it helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

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

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (38,191)