web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / run parameters for flo...
Power Automate
Unanswered

run parameters for flow in powerapps, createfile, file content & file path

(0) ShareShare
ReportReport
Posted on by

Please i am trying to use a flow that allows users to upload a pdf or docx file to a sharepoint site from powerapps. i have tried to add the flow in powerapps but not sure what the values for the run parameters file name, file content & file path should be, as i intend for it to be dynamic.

 

when i created the flow i chose the ask in powerapss option, but dont know how to complete the process in powerapps. thank you.flow.png

cheers,

Aj.

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi Aj01,

     

    I guess that you have created a flow looks like below. May I suggest you configure the Folder Path when you creating the flow?

    1.PNG

    Then you could create an app and configure the OnSelect property of a button as savefilefrompowerapps.Run(TextInput1.Text,TextInput2.Text).

    2.PNG

     

    Hope this could be a reference for you.

     

    Best regards,
    Mabel Mao

  • Community Power Platform Member Profile Picture
    on at

    Hi Mabel,

     

    Thank you for your response. Please can I just clarify, what folder path am I to use in creating the flow? The point is , I want people to be able to upload documents from their phones or laptops, so if I put a fixed folder path, would it still allow for this to happen? and how do I choose which folder path to use? Thank you.

     

    Cheers,

    Ajoke

  • Community Power Platform Member Profile Picture
    on at

    HI Mabel,

     

    I tried to add a folderpath like you suggested. Apart from not knowing what to do, I clicked on that folder icon by the side and this was the error message - 

    • error executing the api datasets/https%253A%252F%252Funilever.sharepoint.com%252Fsites%252FTalentSpottingGhana%252FTalent%252520Spotting%252520Ghana%252FForms%252FAllItems.aspx/rootfolders
    • *File name
      Please what does this mean? Thank you.
       
      Cheers,
      Aj
  • v-yamao-msft Profile Picture
    on at

    Hi Aj01,

     

    When creating the flow, I tried to configure the Folder Path as “Ask in PowerApps”. As currently we are not able to create a connection from PowerApps to SharePoint library, so I was not able to configure the Folder Patch in the app.
    So I tried to configure the Folder Path as the library which has been created in SharePoint site. Just as the screenshot I provided before.

     

    From the error message, I assumed that you were not using the right Site URL, please enter the URL of your site, then click the “Show Picker” button to select the folder path.


    About how to specify a SharePoint site, hope this document could be a reference for you:
    https://powerapps.microsoft.com/en-us/tutorials/app-from-sharepoint/

     

    Please feel free reply if you need more help.

     

    Best regards,
    Mabel Mao

  • Community Power Platform Member Profile Picture
    on at

    Hi Mabel,

     

    Thank you I made some progress today. I specified only the URL, and I was able to get options for the folders. A couple of things though,

     

    1. My document library didn't show up in the list of folders (I chose documents as it was the closest.

    2. When I wanted to define onselect parameters, the values as specified below didn't work and it still promted me for createfile_filename, etc,filecontent,filepath so not sure what to do next. I put in the Text1.text etc , but that didn't work.

     

    This seems to be the missing part of the puzzle (and of course why my new folder wasn't showing). Thanks a lot.

     

    Cheers,

    Ajoke

     

  • Community Power Platform Member Profile Picture
    on at

    I wanted to attach a picture, please see below.

    issues2.png

     

  • Community Power Platform Member Profile Picture
    on at

    Hi Mabel,

     

    Please I am still expecting a reply on this. I am stuck on running the flow in powerapps. After specifying folder path in flow, on specifying the onselect parameters I am still being asked to input file name, content type , folder path and it is rejecting the suggested textinput1.text, etc Please help.

     

    Thanks a lot,

    Aj

  • v-yamao-msft Profile Picture
    on at

    Hi Aj01,

     

    Have you created a Document library in SharePoint Online? In the screenshot I provided before, I selected "test library3", as I have already created this library. So if you have one, you should be able to select it when configuring "Folder Path".

     

    Please try to delete the old flow then recreate a new one, then add it to the app.
    I found that if I just update the flow, the changes would not reflect directly on the app, delete and recreate the flow would be helpful.

     

    Please try it and let me know if it works.

     

    Best regards,
    Mabel Mao

  • Community Power Platform Member Profile Picture
    on at

    Hi Mabel,

     

    Things are getting really frustrating over here. I created a new flow, still the run parameters, where TextInput1.Text,TextInput2.Text were still not accepted. I am not sure what to do. On the flow page I got the following error message

     

    Flow run timed out because the starting action was not performed. Please try again

     

    Also I noticed that both the CDS and the Sharepont sites were not available to be connected to my edit form. It's really

    frustrating.

     

    Cheers and thanks so far,

    Aj

  • Community Power Platform Member Profile Picture
    on at

    Hi Mabel,

     

    Please see below a picture showing the error. Please did I miss anything?

    last one.png

     

    It shows invalid name.

     

    Cheers and thank you.

     

    Aj 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard