Skip to main content

Notifications

Community site session details

Community site session details

Session Id : JfPuOgIiUGRakCy+t9tiNt
Power Automate - Building Flows
Answered

creating a zip file

Like (5) ShareShare
ReportReport
Posted on 13 Feb 2019 15:00:43 by 28

Is there a way in flow to create a zip file. I see the ability to extract archive files. In searching, I don't see a mechanism so as a request. Can we add this functionality to the convert file function? I see it will convert to a PDF. Converting a file to a ZIP would be awesome!

  • aheaven Profile Picture
    8 on 10 Apr 2024 at 15:28:02
    Re: creating a zip file

    Thanks for that code for the flow you did. It works to create the zip file on SharePoint and One Drive. What if I have my files already on Blob Storage and I want to zip those and store the zip file on Blob, is there a way I can use your flow code to do this?

  • dd91919191 Profile Picture
    2 on 27 Mar 2024 at 18:40:20
    Re: creating a zip file

    Hi, so I tried using @Paulie78 method of converting to ZIP and it worked... my only problem is: the zip file is being created with mediatype application/x-zip-compressed, whereas I need it as application/zip for further processing with the Adobe Connector. Maybe someone knows a workaround or method to convert or to get file as application/zip from the start?

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on 07 Jan 2024 at 08:42:02
    Re: creating a zip file

    Hi folks, as an alternative to Paul’s and the Encodian offering, I built a PoC to utilise Azure Functions that I would like to share with you:

     

    How to Create an Azure Function to Zip Files via Power Automate or Logic Apps
    https://youtu.be/u2c4-acjWuU

     

    We had a requirement to zip files outside of SharePoint and OneDrive and so this accepts an array of base64 file content.

     

    Cheers
    Damien

    Please take a look and subscribe to my YouTube Channel for more Power Platform ideas and concepts. Thanks 

  • Ahmad4 Profile Picture
    23 on 18 Aug 2023 at 04:44:59
    Re: creating a zip file

    Hello Paulie!
    I tried your approach and it works but it is only zipping 30 files, do you have idea on it? Thanks

  • Dev_S Profile Picture
    22 on 13 Jul 2022 at 10:29:15
    creating a zip file

    HI,

     

    I have a similar scenario, but mine is i need to zip a file/report which is downloaded from PowerBI Paginated report. The files are in ecel.csv format. My requirement is to zip those files and email to different recipients based the report data.

     

    Is there any way to zip the files using Power Automate flow?

    Thanks in advance!!

     

    -DevS

     

    @Expiscornovus @eliotcole @ScottShearer @Rhiassuring @Pstork1 @DamoBird365 @chrisingh42188 @YukaHosomi 

  • artivo36 Profile Picture
    78 on 20 May 2022 at 15:28:54
    Re: creating a zip file

    better late then never:

    I used an external connector (Encodian) for this.

    However, Paulie posted a video telling how to create ZIPs for free:

    https://www.youtube.com/watch?v=FCXjpRYo9T8

     

  • artivo36 Profile Picture
    78 on 21 Nov 2021 at 10:58:29
    Re: creating a zip file

    That would be great. Do you have a rough idea which steps need to be changed to make it work with OneDrive ?

  • Paulie78 Profile Picture
    8,407 Super User 2025 Season 1 on 08 Oct 2021 at 08:52:27
    Re: creating a zip file

    Not a local filesystem, I think it would work with files hosted on OneDrive.

  • Community Power Platform Member Profile Picture
    on 07 Oct 2021 at 16:26:22
    Re: creating a zip file

    Hello Paulie78,

     

    This method would work with File System?

  • Verified answer
    Paulie78 Profile Picture
    8,407 Super User 2025 Season 1 on 26 Jul 2021 at 14:37:35
    Re: creating a zip file

    There isn't an in-built action. But I have developed a method that enables this functionality:

    How to create Zip Files in Power Automate 

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 66 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 65

#3
rzaneti Profile Picture

rzaneti 41 Super User 2025 Season 1

Overall leaderboard