Skip to main content

Notifications

Power Automate - Building Flows
Answered

Copying Excel Files and Renaming File

(0) ShareShare
ReportReport
Posted on by 252

Hi All,

 

I am new to Power Automate.  I have created a flow that copies a file from one sharepoint folder to another.  I would the copied file to be renamed as follows: [Filename] YY MM DD.  

Is it possible to do this?

 

Thanks in Advance

  • blair91 Profile Picture
    blair91 3 on at
    Re: Copying Excel Files and Renaming File

    I am doing a similar function which your solution worked wonders for however- is it possible to then share the new file via email as a link with a delay of 24 hours. I do this every day and so the file name obviously changes every day and I'm having some difficulty in actually linking or finding the file to share as it hasn't been created yet.

     

    Kind regards 🙂 

  • Verified answer
    tom_riha Profile Picture
    tom_riha 9,930 on at
    Re: Copying Excel Files and Renaming File

    Hello @Skybluekid ,

    instead of the 'Copy file' action use two different actions: 'Get file content' to get the file content followed by 'Create file' where you use the file content to create a new file with the new name (and don't forget to add also the file extension). You might need a few expressions to inject the date in the file name though as explained e.g. here.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard