cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (73,763)