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

Checking if a file exists in a folder if so then move it to another folder

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

I am trying to build a flow that will check to see if a file already exist in a folder. 

 

What i am thinking is that a file is saved to library A, which is an employees folder , and once uploaded/saved to run a flow that looks in library B. If that file already exist in library B then i want to move it to an archive folder and then move the file from library A into the folder in library B as its replacement.

 

I hope this makes sense. If you have any further questions then please let me know.

 

Thank you

 

 

 

I have the same question (0)
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at
    Re: Checking if a file exists in a folder if so then move it to another folder

    You won't find this functionality in create file. It is only available in copy file. Where you can take appropriate action if file already exist

    a2.jpg

  • Community Power Platform Member Profile Picture
    on at
    Re: Checking if a file exists in a folder if so then move it to another folder

    HI @zmansuri ,

     

    I can understand you suggestion. However, I need it to be the identical naming to the one it is replacing, which is why i am trying to find out how i can check if a file already exists in the folder with the same name and if so then move the older file replacing it with the new one with same name.

     

    Thank you 

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