Hello,
I am sharing an automated cloud flow setup that can be used to rename files in OneDrive after extracting a field with document processing/invoice processing.
For example, I have a folder in OneDrive with invoices and I want to rename them to {invoice-id}.pdf:
- Select + New flow > Automated cloud flow
Name your flow and choose the trigger. When a file is created (One Drive for Business), Select Create

2. Select the folder on One Drive
This operation triggers a flow when a new file is created in a folder.
Spoiler (Highlight to read)
Files moved within OneDrive are not considered new files.
Files moved within OneDrive are not considered new files.

3.Select +New Step, Select the AI Builder action Extract Information from invoices
Select Invoice File, Select File Content from the Dynamic content list


4.Select + New step, Select Move or rename a file
Select File, Select File identifier from the Dynamic content list


Select Destination File Path, Select Invoice ID from the Dynamic Content list


5.Save and test your flow
The name of the file in OneDrive has been renamed with the name of the Invoice ID