cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CiscoAbdallah
Frequent Visitor

Upload Microsoft form files to Sharepoint Library specific folder (Folders are auto created using the "name" fields on FORMS)

Hi All,

 

Its my first time using this forum & first time using microsoft flow!

 

I would like to add files that are uploaded onto forms to automatically go to the relevant folder. Currently, for each form submitted the flow will create a folder with the name of the person and a list of sub folders. I would like the files to go into the sub folder of that particar person.

 

CiscoAbdallah_0-1593427298038.pngCiscoAbdallah_1-1593427365047.png

Thanks

 

Abdallah

9 REPLIES 9
ChristianAbata
Super User
Super User

Excellent @CiscoAbdallah  you are doing perfect, now to get the uploaded files just you need to use Parse Json to obtain the link and that link could be used to upload that file to your sharepoint folder. See first how to obtain the link of the uploaded document.

 

getformsImage.gif

 

then with that link you can use the action Create file using path to upload your file to the folder you want.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Hi @ChristianAbata ,

 

Thanks for sending me a guide. But I am still kind of lost. How do I use the link?

 

Sorry for sounding a bit dumb..

 

Abdallah

@CiscoAbdallah  search for an action called, upload file using path you are going to need a paremeter to upload file and that parameter is your link.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

@ChristianAbata 

 

I think I confused you. I have a Microsoft form that staff can fill in. I already have a flow that will automatically create a folder for them. However, the form include an upload function, instead of the file going to onedrive for business it should go into their own folder. 

@ChristianAbata 

 

I think I confused you. I have a Microsoft form that staff can fill in. I already have a flow that will automatically create a folder for them. The issue is the application form that they upload I want it to go into the application folder.    

 

File structure.gif

Flow structure.gif

Form.gif

 

 

@CiscoAbdallah  don't worry please see this video I'm shure could clarify your dudes https://www.youtube.com/watch?v=Xxad-kSLQ9Y&t=926s



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

@ChristianAbata 

Ok I sort of got it. Just figure out the error. I thouhgt the issue was the file didnt exist and therefore I must move the whole function to the end.

 

CiscoAbdallah_0-1593466935081.png

 

@CiscoAbdallah  excellent my friend, that error could appear because you are using directly a expression as a path please try to use compose just to get the link in a separeted action and then use that compose output to manage your path or other actions.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

@ChristianAbata I just cant seem to getting working at all. Are you able to show me an exmaple please? or send me a message - I would love to find out where I went wrong. 😫

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,217)