I have a flow what moves a file to the _Archive folder every Sunday and it is working normally.
I have another flow to rename this file for "utcNow_OriginalName" in the _Archive folder.
You can see on the following photos what is happened after last run.
I also attach two pictures about the edit view as well.
I only do it with two different flow because I couldn't whit one and I try to solve it somehow.
Can you help me?
Another approach would be to use a Send an HTTP request to SharePoint action and a POST request against the SharePoint Online REST API to update the FileLeafRef field and rename the file.
Below is an example of that approach.
In this example I am renaming it based on the old name (test.docx) and adding a number in front of it)
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.