Is there a way I can rename the file based on the metadata value that user inputed using flow? Sample scenario: Uploaded Monitor.pdf file and add Vendor name: DELL as metadata(column), the output should be DELL - Monitor.pdf
Do you want to rename the uploaded file?
Could you provide more details about "metadata value that user reward"? If you upload a file, where will the user enter the metadata value?
As for renaming the file, there is no direct action to change the file name currently.
If you want to the feature to be supported in Microsoft Flow, you could vote for the similar ideal in the forum below:
Besides, you could consider using the following methods to change file name:
Use Get file content to get the contents of the file, and then use the previous output to configure Create file, which makes it easy to name the file, and then use Delete file to delete the previous file, which can achieve the same purpose as renaming.
Use Send http request to SharePoint to change the name of the file:
For more details about SharePoint requests, please refer to the link below:
Upon uploading a file Vendor Name is one of required column(metadata) that user will reward to the file and I want to use it's value as I rename the file.
The flow works but the Vendor Name value = ABCD is missing from the output.
Maybe you could configure Delay action in the middle, wait a few minutes after the file is uploaded, and then rename the file.
Take a try.
Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @v-bacao-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!
Thank you for being an active member of the Flow Community!
Flow Community Manager
Sorry but that did not work for me, what I did is I used Sharepoint Designer Workflow instead.
Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Attend in person or online, there are incredible conferences and events happening all throughout the month of September.