web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / unable to copy files f...
Power Automate
Answered

unable to copy files from folder to another library dynamically

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello Everyone,

I am trying to copy folder and also all file inside the folder when the folder associated column called "Factory" is to a specific name. 

Based up on this name it will get the site URL dynamically and then it will create folder. Until this it is working fine. But I am not able to copy files at all. I don't see right action for this to do dynamically using https request.  Please let me know the best way to achieve this. 

 

Steps so far achieved: 

1. when a new item is created or modified (Library A)

2. condition: is folder = Yes

3. Get items (list B) - filter= Title eq 'FactoryNameColumnValue'

4. Compose  -- FolderName (this is from library)

5. send http request to create folder

 

flow-1.PNGFlow-2.PNGFlow-3.PNG

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    abm abm Profile Picture
    32,981 Most Valuable Professional on at

    Hi @Anonymous 

     

    Thanks for the discussion.

     

    You don't need the HTTP request to create folder. There is already a create new folder action step available. 

     

    Once the folder is created then use the Get Files properties. Then iterate each files and copy file from destination to target.

     

    image.png

     

    You can't reply on that trigger mainly if user takes long time to upload  a file you will miss that file to upload. I would add a column called 'Ready to copy' Yes/No type then use the trigger to item modified 'Ready to copy' Yes.

     

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @abm . Awesome. Thanks for your help. One of the my major issue is now fixed.  

     

    Now because my choice column is in drop-down, it is not allowing for multiple selection so I have to change it to checkbox so that we can select multiple names. But the issue how flow can determine each name from checkbox and copy files to each of that selected name(Based up on the name it should select URL to copy content)? 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard