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

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Copy a file from one folder to another within SharePoint based on a column's value

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I am trying to create a flow that will allow me to upload a file in one location and tag it using a choice column and then the flow will copy said file to another folder in another library based on what was tagged in the column. I have tried several different ways, but they all either ended in an infinite loop or just straight up did not work at all. I did get one to work once, but then when I added more choice options using condition and eTags, it kept wiping the saved identifier and then refused to show the identifier again.

 

Here is an example of what I am needing.

 

File 1Choice A
File 2Choice B
File 3Choice C

I want the flow to pick up on when a file is added to the shared library with a specified column value, in this example its A, B, and C.

I then want it to copy said files to another folder based on what the column value was, as seen below.

 

Folder AFolder BFolder C
File 1File 2File 3

So File 1 gets picked up as Choice A and moves to the corresponding folder and File 2 goes to its folder and so on. I then want any time it gets updated its corresponding file to be updated too.

 

I hope this made sense to you all and any suggestions would be greatly appreciated.

 

Thank you.

I have the same question (0)
  • Gericom Profile Picture
    240 on at
    Re: Copy a file from one folder to another within SharePoint based on a column's value

    Hi @RJacks 

     

    I have made a solution for your issue 

    Gericom_0-1622212754255.png

    Gericom_2-1622212930082.png

     

    I hope this will resolve your issue 

    ----------------------------------------------------------------------------

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

     

  • RJacks Profile Picture
    on at
    Re: Copy a file from one folder to another within SharePoint based on a column's value

    Thanks for this, but this is required for a folder and not a list. Tried to adapt it for a folder, but the get file step is list only from what I can see.

     

    RJacks_0-1623145979909.png

    So a quick recap is, we want to read the Department column to know where to take it, and then copy the files from the shared folder and then transfer it to the folder it belongs inside of. 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 691 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 431 Moderator

#3
developerAJ Profile Picture

developerAJ 266

Last 30 days Overall leaderboard