cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
chanafee
Level: Powered On

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

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

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (7,001)