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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Getting URL from newly...
Power Automate
Unanswered

Getting URL from newly created Sharepoint library folder

(0) ShareShare
ReportReport
Posted on by 421

Hi everyone, good afternoon.

 

I am using a flow to upload documents from powerapps into a sharepoint library folder.  this works great and works as intended.  I would like to pass the URL of the newly created folder back to power apps somehow so we can use the URL to send communication out to the users about the new file.  Im new to flows, so Im not sure if this is even possible.  Here is the flow I am using.  Thank you in advance!!

 

Chris

 

ckserra33_0-1708457510330.png

 

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    SudeepGhatakNZ_0-1708462882056.png

     

  • ckserra33 Profile Picture
    421 on at

    Hello @SudeepGhatakNZ thank you VERY much for your response!  I have added this step and messed with the button in Power Apps to try and get it to return, but I am still not doing something correctly.  This is the variable and code that I am using on the button to run the flow.  I found a few videos showing me to create a variable (myOutput) and wrap it around the entire flow.

     

    ckserra33_0-1708517484689.png

    When I wrap it just before the Run(), I get an error saying it cannot be invoked inside a ForAll.

     

    ckserra33_1-1708517664941.png

     

  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @ckserra33 

    Could you please provide more details about your objective?

    Additionally, I'm curious about the rationale behind placing the Flow invocation within the loop. Could you shed some light on this?

     

  • ckserra33 Profile Picture
    421 on at

    Hi @SudeepGhatakNZ 

     

    I am trying to create a folder, if needed, and upload documents to it.  And than return the location/URL of the folder into Power Apps so we can easily share it from the flow.

  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    Create a table and then call flow from inside the table

    ClearCollect( myTable,
    Table(
    { Title:1, File: {} },
    { Title:1, File: {} }
    )
    );
    ForAll(myTable, PowerAppsbutton.Run(Title,File))

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 305 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 155 Most Valuable Professional

Last 30 days Overall leaderboard