Hello guys!
I would like to change file's name in Sharepoint/Onedrive. However, i do not want to do that with "Create file" and "Delete file". As i want to keep existing file, update it with new content and do not trigger a flow.
The reason is, i have one folder where i have all orders with different status (pending, approval, signed, etc.) - i am searching through them with simply with filters. This folder is binded to my approval Flow which triggers "When a file is created". Files (orders) i am adding to the folder are in format .docx, .xlsx and .pdf. Flow also includes AdobeSign, so when flow goes through it creates a signed .pdf agreement file from .docx, .xlsx and .pdf.
So my goal is to update existing file in sharepoint (.docx, .xlsx., .pdf) with sharepoint step "Update file" with content from "Get a PDF of a signed agreement". But i want the final file to be .pdf. therefore i am asking about the renaming a file including extension.
I do not even know if this is possible. Can you help me guys?
hi @Rejdy you can do it by using one drive like this
see I aswer a similar question here
https://powerusers.microsoft.com/t5/Building-Flows/Rename-Ondrive-File-using-Flow/m-p/537242#M69732
and here is another answer, that says we unfortunally can't do that with a existing action but you can use API rest to try
https://powerusers.microsoft.com/t5/Building-Flows/Renaming-a-File-in-SharePoint-Online/td-p/176708