cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
vish_p
Level 8

Copy Files from Document library to a list

I would like to copy all files from a folder in a document library to another list as an attachment (append if already exists)

 

Please let me know how is this possible in ms flow

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Copy Files from Document library to a list

 

Hi @vish_p ,

 

You could try to use the List folder action to get the files contained in the specified folder.

 

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

3 REPLIES 3
DeepakS
Level 10

Re: Copy Files from Document library to a list

Hi @vish_p 

 

Following Power Automate action can help you achieve this?

 

  1. Get file content action - To get the file content from your document library
  2. Get attachments - To check if the file already added as attachment
  3. Add attachments - add file content as attachment to the item 

——————————————————
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

 

 

vish_p
Level 8

Re: Copy Files from Document library to a list

@DeepakS  Thanks for the reply

 

The issue i am facing is to fetch the file content from a folder in a document library 

I know the document library name and folder name but not the attachment name,so i would like to fetch all the files inside the specified folder and then attach those in a list

I am not able to fetch the items from the folder 

Community Support Team
Community Support Team

Re: Copy Files from Document library to a list

 

Hi @vish_p ,

 

You could try to use the List folder action to get the files contained in the specified folder.

 

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

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,411)