Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Renaming and moving files based on weekday

(0) ShareShare
ReportReport
Posted on by 4

Hi,

 

I wanted do create a flow based on weekday in order to move and rename files automatically from my google drive folder.

 

Here is what i want to do:

robertosangi_0-1647244084968.png

 

This is the folder root:

 

/root

/root/precedente/repository

/root/precedente

/root/attuale

 

So I want to store every dai in repository folder and only on friday i wanted to do what explained in the flow. 

 

Thanks

  • leyburn19 Profile Picture
    2,157 on at
    Re: Renaming and moving files based on weekday

    Look at that trigger in more depth - you can run it every day, every hour,  every minute

  • KvB1 Profile Picture
    1,596 on at
    Re: Renaming and moving files based on weekday

    Hi,

     

    You can use 

    dayOfWeek(utcNow())
    to check whether its a friday in a condition, and split the flow according to your diagram
     
    You can still use recurrence and have it run every day
  • robertosangi Profile Picture
    4 on at
    Re: Renaming and moving files based on weekday

    Do you know if there are functions that renaming and move files after this trigger?

    With your trigger, it is possible that the system runs only one per week? I want also to store files every day but only on friday do more operations.

    thanks

  • leyburn19 Profile Picture
    2,157 on at
    Re: Renaming and moving files based on weekday
    1. Select a trigger based on a schedule.  It is called recurrence. 
    2. In the trigger setting set the interval to 1 and the frequency to week. 
    3. Select the advance options.
    4. Select your time zone.
    5. Check the day. 
    6. Check the time of day.  

     

    Trigger is now ready to go.  Add the rest of your flow (Note every time you add a new recurrence trigger,  it will autorun as soon as you save it.  I don't know why,  so sort of built in test.  I put a terminate action after the trigger set to on success to stop it and then remove.  In fact I always put a terminate action at the end of my flows and drag it to spots when I test.  It is sort of a simple debugger)

     

    recur.png

  • robertosangi Profile Picture
    4 on at
    Re: Renaming and moving files based on weekday

    HI @leyburn19 sure, could you show me each step? I'm really new on this field and I din't know how to do what I described in the image

    Thanks

  • leyburn19 Profile Picture
    2,157 on at
    Re: Renaming and moving files based on weekday

    Lack at recurring schedule.  Select Week then you can simply check the days you want it to run

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492