Renaming a SharePoint File via Power Automate
One of the glaring omissions in Power Automate is the ability to rename a file in a SharePoint Document Library.
I'd seen a few online suggestions to remediate this, like copying the file into a newly named file, and deleting the original; but this is a really bad idea, as you lose Version History and auditability on the original file.
Luckily, you can make calls onto the SharePoint REST API from Power Automate to rename the original file, without any copy or delete actions - an example of this can be found below:
... and the end Result is shown below! Select your file in SharePoint, select the Power Automate to perform the rename (in my case, 0 - Rename a File), and hey presto - the file is renamed in the SharePoint Document Library in situ!