Hello,
I am in charge of a project where the business has over 20,000 members (active and suspended), and they want to archive all their paperwork into a digital copy. I created a OneDrive account, and used excel to create a folder for each member number.
I have a Fujitsu ScanSnap ix500 I will be using for the project, which I can tell it which folder to upload to, so I've pointed it to the OneDrive folder.
I'm new to this, including the use of Flows, so bear with me. My question is:
Is it possible to create a flow so that upon uploading a document with "Member 12345" in it's name, that it will automatically go the folder titled "Member 12345"?
If you need more clarification I will do my best. Thanks.
-Frank
Hi @frankt1986,
Could you share more details on the file name? I assume that it contains user name and an Id. Does it contain any other characters?
Let’s say that you have a specific format of file name, so that you could get “Member 12345” from the file name and then use it as the Folder name.
Besides, I assume that the files would be updated to OneDrive Root folder first, then flow will move them to corresponding folder.
I have made the following test, please check it for a reference.
It is triggered by When a file is created.
Add a Compose action, use the following doc to get “Member 12345” from the file name:
first(split(triggerOutputs()['headers']['x-ms-file-name-encoded'],'.'))
Add Create file action, set the Folder Path use the Compose Output. If the folder already exists, then the file would be created in the folder directly, if not, a new folder would be created first then the file.
Last, add Delete file action to delete the original file under Root folder.
Image for your reference.
Please take it for a reference and try it on your side.
Best regards,
Mabel
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
42 | |
17 | |
16 | |
15 | |
13 |
User | Count |
---|---|
69 | |
36 | |
27 | |
20 | |
17 |