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 / If the file are created
Power Automate
Unanswered

If the file are created

(0) ShareShare
ReportReport
Posted on by 6

Hi,

 

With the help of desktop power automate, i want to create a flow that allow me to copy a specific file when the file are created in the specific folder. Its look like pretty easy with the cloud flow. I use the power automate desktop because my file are in my personnal drive (not cloud). For now, my flow is able to copy the specific file in the destination folder but i need to run it manually.

 

Any tips/ideas?

 

Thanks

  • GanCW Profile Picture
    237 on at

    You can create a loop which has the ‘wait for file’ action to wait for the file to be created and then copy the file to the specific folder.

  • Dave_O Profile Picture
    6 on at

    Hi @GanCW ,

     

    Thanks for your quick response. i have some notion about the loop but for my case, i have some difficulty to figure out what i need to enter for the first operand. 

    Without loop this flow work perfectly but i need to run manually.

    Dave_O_0-1613656480100.png

    What can i enter for the variables for the ''operand'' of the loop?

    Dave_O_1-1613658094889.png

    Thanks

     

  • GanCW Profile Picture
    237 on at

    Hi @Dave_O 

    You can make this a forever loop so that it keeps running until the script is stopped manually

     

    Loop %true% = %true%

       Wait for file to be created 

       Copy file

    End loop

  • joshd111 Profile Picture
    145 on at

    @GanCW If you want this to loop to stop once the file shows up and is copied, use "If file exists" step to check for the existence of the file in the destination. If that is true, then set a variable X to true. Your loop condition should check X and stop when X is true.

  • Dave_O Profile Picture
    6 on at

    Hi @joshd111 ,

    Thanks for your response. Ok, to be honest, i feel like, im not handle this concept. Its look very simple.

    What i want to do is take the file in the specific folder and copy the file to a destination folder. And i want this automatically. My PDF file was created every day in this folder with the same name (replace).

    Like i previously mention, with this, its work, but i need to run manually.

    Dave_O_1-1614003488566.png

    If i made this change, nothing happen.

    Dave_O_2-1614003829143.png

    Can you help me with the ''loop'' concept please?

    Thanks

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard