Skip to main content

Notifications

Community site session details

Community site session details

Session Id : IsFSe6XlvQs3ZTI1hUPXvX
Power Automate - Building Flows
Unanswered

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

Like (1) ShareShare
ReportReport
Posted on 29 Jun 2020 10:43:32 by 12

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

  • Cecilia6699 Profile Picture
    8 on 28 Aug 2023 at 00:07:10
    Re: Upload Microsoft form files to Sharepoint Library specific folder (Folders are auto created using the "name" fields on FORMS)

    Did you solve this problem? I also have the same inquire, but I cannot find any solution to submit the form's file to a document library instead of the default storage path.

  • CiscoAbdallah Profile Picture
    12 on 30 Jun 2020 at 18:26:57
    Re: Upload Microsoft form files to Sharepoint Library specific folder (Folders are auto created using the "name" fields on FORMS)

    @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. 😫

  • ChristianAbata Profile Picture
    8,947 Most Valuable Professional on 30 Jun 2020 at 13:27:21
    Re: Upload Microsoft form files to Sharepoint Library specific folder (Folders are auto created using the "name" fields on FORMS)

    @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.

  • CiscoAbdallah Profile Picture
    12 on 29 Jun 2020 at 21:42:59
    Re: Upload Microsoft form files to Sharepoint Library specific folder (Folders are auto created using the "name" fields on FORMS)

    @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

     

  • ChristianAbata Profile Picture
    8,947 Most Valuable Professional on 29 Jun 2020 at 13:49:41
    Re: Upload Microsoft form files to Sharepoint Library specific folder (Folders are auto created using the "name" fields on FORMS)

    @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

  • CiscoAbdallah Profile Picture
    12 on 29 Jun 2020 at 13:42:25
    Re: Upload Microsoft form files to Sharepoint Library specific folder (Folders are auto created using the "name" fields on FORMS)

    @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 Profile Picture
    12 on 29 Jun 2020 at 12:59:29
    Re: Upload Microsoft form files to Sharepoint Library specific folder (Folders are auto created using the "name" fields on FORMS)

    @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 Profile Picture
    8,947 Most Valuable Professional on 29 Jun 2020 at 12:58:36
    Re: Upload Microsoft form files to Sharepoint Library specific folder (Folders are auto created using the "name" fields on FORMS)

    @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.

  • CiscoAbdallah Profile Picture
    12 on 29 Jun 2020 at 12:49:31
    Re: Upload Microsoft form files to Sharepoint Library specific folder (Folders are auto created using the "name" fields on FORMS)

    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

  • ChristianAbata Profile Picture
    8,947 Most Valuable Professional on 29 Jun 2020 at 12:00:28
    Re: Upload Microsoft form files to Sharepoint Library specific folder (Folders are auto created using the "name" fields on FORMS)

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
Churchy Profile Picture

Churchy 6

#2
Chriddle Profile Picture

Chriddle 4 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 4

Overall leaderboard