cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper V
Helper V

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

 

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
Super User II
Super User II

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.

 

 

@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 

 

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (11,732)