cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
frankt1986
Level: Power Up

Massive Upload of Data Archive - Questions

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

1 REPLY 1
Community Support Team
Community Support Team

Re: Massive Upload of Data Archive - Questions

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.

1.PNG

Please take it for a reference and try it on your side.

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (1,549)