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

Community site session details

Session Id : 5mQfJHj/PHlr47DGdOczxE
Power Automate - Building Flows
Unanswered

Flow to extract a new zip file to subfolder is asking for file name, but I don't know what it is

Like (0) ShareShare
ReportReport
Posted on 22 Mar 2023 19:29:10 by 145

Hello Automate Experts!

 

I have a flow that saves a zip file from email to SP folder.  I am trying to create a second flow that will auto extract the zip file to a subfolder.  The flow is asking for the source FILE path and is looking for a file name, which is unknown.  How can I put in  folderpath with a wildcard.zip?  I tried using an expression, but that didn't work.  Any thoughts?

 

 

JTischler_0-1679513278351.png

 

I have the same question (0)
  • David_MA Profile Picture
    12,515 Super User 2025 Season 2 on 22 Mar 2023 at 19:34:48
    Re: Flow to extract a new zip file to subfolder is asking for file name, but I don't know what it is

    If you search the templates in Power Automate, there is one which will do what I think you are looking for:

    David_MA_0-1679513650832.png

    Or at least it should give you a start to what you need.

  • JTischler Profile Picture
    145 on 22 Mar 2023 at 20:17:17
    Re: Flow to extract a new zip file to subfolder is asking for file name, but I don't know what it is

    @David_MA  That's the template I am using and provided a screenshot of.  I don't understand why its asking for a file name when I don't know what the file name will be, or how to input a wildcard like 'path/*.zip' to indicate any zip file that gets created in the specified folder.

  • JTischler Profile Picture
    145 on 22 Mar 2023 at 23:52:25
    Re: Flow to extract a new zip file to subfolder is asking for file name, but I don't know what it is

    @grantjenkins Hoping your expertise may help me learn here...  For the source file path where I point to the zip file I want to extract, how do I identify the file name when it is unknown?  I have multiple reports being sent from an external system that are in zip files that need extracted to a specific folder which is the data source for PowerBI.  I don't understand how to identify a file name that is unknown.  Thanks in advance for your guidance here.

  • pmoore6 Profile Picture
    26 on 27 Nov 2023 at 18:44:17
    Re: Flow to extract a new zip file to subfolder is asking for file name, but I don't know what it is
    Did this ever get figured out? I'm having the same question.
  • JTischler Profile Picture
    145 on 28 Nov 2023 at 22:58:51
    Re: Flow to extract a new zip file to subfolder is asking for file name, but I don't know what it is

    @pmoore6  This was the solution, there was a lot more involved than I realized when I submitted the OP.

     

    JTischler_0-1701211945720.pngJTischler_1-1701212138932.pngJTischler_2-1701212224709.png

    JTischler_3-1701212264791.png

     

  • David_MA Profile Picture
    12,515 Super User 2025 Season 2 on 05 Dec 2023 at 15:51:15
    Re: Flow to extract a new zip file to subfolder is asking for file name, but I don't know what it is

    Sorry for the delayed response, but I have been too busy to check the forms recently. If you are using the template I suggested, I only asks you to enter the document library. Everything else is already pre-set in the flow to unzip the file. In the image below, everything except what I blacked out is in the template. The folder and filename referenced are from the uploaded ZIP file so you don't need to specify anthing there, just leave those as they are in the template.

    unzipflow.png

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 666 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 382 Moderator

#3
developerAJ Profile Picture

developerAJ 254

Last 30 days Overall leaderboard