cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vish_p
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
DeepakS
Super User
Super User

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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,977)