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 / 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 (1)
  • Fredrik_A Profile Picture
    3,570 Super User 2026 Season 1 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

     

     

  • Fredrik_A Profile Picture
    3,570 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard