Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Find a file in folder after SharePoint Extract Folder action



I have a flow that automatically extracts .zip files when they are created in a folder.

Each zip folder contains a file called ProjectData.txt which contains JSON information I need to use, however it is a few subfolders deep and the parent folder name isn't consistent. (.ZIP/ParentFolder/Documents/ProjectData.txt)


Basically what I want to do is rename the parent folder that gets extracted using data from the txt file, and move it to another folder. I've got no control over the zip file structure, it's exported from another program.


Appreciate any assistance, I'm new to flow and just can't get my head around this one.

Community Support
Community Support

Hi @bf,


I did some experiments on my side. The Extract folder action outputs all the folders contained in the specified Destination Folder.

There is no information available to get the files contained in the folder.

With this information alone, it is impossible to determine which folder has just been extracted.

I am afraid that your needs may not achieve currently.


Best Regards,


Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,102)