How to guarantee file order when extracting or guarantee file names

Hi,
I am extracting a zip file that contains one .xlsx file and another zip inside it. I am running two flows then one to handle the .xlsx file and another to extract that zip and handle it. The issue that I am running into right now is that sometimes that .xlx file is file0 and sometimes that zip file is file0.

I am wondering is there any way to check which is which, or to guarantee file order.

I am getting that data from an external API that I have no control over.

Hi @Josip_Sare

Maybe you could check the meme type first to make sure you’re passing the correct file…