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 Automate
Unanswered

file renaming flow

(0) ShareShare
ReportReport
Posted on by
Hi there,
 
I'm trying to create a flow that will rename files. The trigger is moving a file to a specific folder and the action is to add the file creation date (YYYY-MM-DD) to the beginning of the file name (leaving the rest of the file name intact). I have built multiple flows, but none have been successful. I keep receiving the error message that power automate is not recognizing the trigger (it doesn't think I've moved a file to the specified folder, it doesn't recognize when I'm performing the trigger.) I've tried creating new Word and Excel files, moving an existing file to the folder, and nothing is working. I've tried using copilot and chatgpt to write the flows and I recreate them, but still, nothing is working. Any help or advice would be greatly appreaciated!! TIA
Categories:
I have the same question (0)
  • CU19061732-0 Profile Picture
    2 on at
    Hi, 

    From where your moving and trying to rename the file ( Sharepoint, One Drive). Here is the flow to move & rename file on One Drive.
     
     
    1. On Initialize variable action: Get today date YYYY MM DD HH MM SS formate (Note: Don't use special char like /, - etc. Some special Char doesn't work).
     
    formatDateTime(utcNow(), 'yyyy HH mm ss')

     
    2. Destination location: Pull the Date value from Initialize Variable action (formatdatetime value.
     
     
    Thanks
    Anil
     
     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 460

#2
Vish WR Profile Picture

Vish WR 343

#3
David_MA Profile Picture

David_MA 249 Super User 2026 Season 1

Last 30 days Overall leaderboard