Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Extract Zip and Rename to Zip filename

Like (0) ShareShare
ReportReport
Posted on 15 May 2023 14:51:15 by 4

Hello,

New to forums and at early stages of exploring what Power Automate can do.   I am trying to build a flow (or series of flows) to achieve the following:

1. save a ZIP file from specific emails onto OneDrive

2. Rename the ZIP file to include the email subject line

3. Extract the ZIP file content (single XLS file) into a new folder

4. Rename the Extracted file in step 3 with the file name from Step 2 (but retaining the XLS file type)

5. Delete the ZIP file from step 3

I have managed to do separate flows that covers steps 1-3, but am struggling with Step 4 (and haven't got to step 5!).   I've looked at a number of examples in the community that do bits but can't piece them together into a single flow.   It feels like it should be more straightforward than I am finding it!

Any help would be greatly appreciated.

Thanks

Simon

  • lbendlin Profile Picture
    7,818 Super User 2025 Season 1 on 16 May 2023 at 20:12:00
    Re: Extract Zip and Rename to Zip filename

    Ah, sorry, here's the cloud version.  Still requires you to save the file. 

    Power Automate: How to unzip a file - Manuel T. Gomes (manueltgomes.com)

  • simonf85 Profile Picture
    4 on 16 May 2023 at 20:04:04
    Re: Extract Zip and Rename to Zip filename

    Hi, have had a bit of a tinker with your link above but as far as I can tell it only works on Power Automate Desktop - I am working on the cloud version and can't find any Zip/ Unzip actions as shown in the link.   Also, as far as I can tell I have to specify the source zip file to unzip and the source zip I am creating is different every time so not sure this will work unless I am being blind to something?
    Thanks

  • simonf85 Profile Picture
    4 on 16 May 2023 at 13:48:34
    Re: Extract Zip and Rename to Zip filename

    Thanks for the link; I'll have a read through.

    And yes, meant .xlsx (showing my age).

    Thanks

  • lbendlin Profile Picture
    7,818 Super User 2025 Season 1 on 15 May 2023 at 23:13:59
    Re: Extract Zip and Rename to Zip filename

    This should get you going

    Compression actions reference - Power Automate | Microsoft Learn

     

    Hopefully you meant xlsx, not xls ?

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 61

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 47 Super User 2025 Season 1

#3
rzaneti Profile Picture

rzaneti 31 Super User 2025 Season 1

Overall leaderboard