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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to rename files in...
Power Automate
Unanswered

How to rename files in a copy file flow?

(1) ShareShare
ReportReport
Posted on by 14

Dear Community,

 

Can you pls share your advice on renaming files? The files can be copied successfully, but file name is same. 

Can it be in a format like this "Original File Name+UserName(who updated this file)+Date"?

ClaraW_Who_0-1676361669925.png

 

Kind regards,

Clara 

 

 

 

Categories:
I have the same question (0)
  • StretchFredrik Profile Picture
    3,395 Super User 2025 Season 2 on at

    Instead of copying the file I would get the file contents and make a new file, that way you can specify the file name instantly. Like the picture below (Not my picture)

     

    StretchFredrik_0-1676361854997.png

     

  • ClaraW_Who Profile Picture
    14 on at

    Hi Fredrik,

     

    I changed the action to "Create File", but herewith a new question, the files are word, excel, pdf. 

    ".xlsx" in File Name seems to be not applicable, can you advise more? 

    ClaraW_Who_0-1676363800252.png

     

     

  • StretchFredrik Profile Picture
    3,395 Super User 2025 Season 2 on at

    You can use below expression to add the filetype to the filename. 

     

    Last(split(filename_with_extension, '.'))

     

    and put that last in your filename.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard