cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

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

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
Highlighted
Community Support
Community Support

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

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
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (5,961)