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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Zip Files - Automated ...
Power Automate
Unanswered

Zip Files - Automated Flow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi I have create few csv files in sharepoint from the flow. May i know how to zip those multiple csv files and send to external api without using third parties like encodian in the same flow. Thanks

Categories:
  • Rhiassuring Profile Picture
    8,692 Moderator on at

    Zipping files in Power Automate for free - I found this blog as pretty much the first Google result:

     

    https://www.tachytelic.net/2021/07/power-automate-create-zip-file/

     

    For the latter, sending to external APIs, which API are you trying to send it to? It's just a file with an extension like anything else, but, it will depend what the API you are trying to target accepts.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Rhiassuring i used the above URL but getting error as below in sharepoithttp action Could you please help to resolve 

     

    Do i want to give fullUrl in decodeurl. I'm sure the problem is with uri

     

     "status": 400,
      "message": "The expression \"web/GetListUsingPath(DecodeUrl=@a1)RenderListDataAsStream\" is not valid.\r\nclientRequestId: fc0f0846-7a9c-4c42-b4e1-c02ce8c1ec32\r\nserviceRequestId: c4b58ba0-f0f7-1000-f254-86eeb0954bef",
     
    CommUser_0-1673580990107.png

    1.encodeUriComponent(outputs('Compose')['zipFolderPath'])

    2.encodeUriComponent(outputs('Compose')['libraryPath'])
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Can anyone please confirm whether the above method works only for Lists in sharepoint or will it work for Library as well. My requirement is to zip files from sharepoint library in power automate without external parties.

  • Rhiassuring Profile Picture
    8,692 Moderator on at

    LibraryPath should be to the library, not the folder within the library. I see you have "/group" on the end of yours.

     

    Yes, this will work on a Library as well.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Rhiassuring  i tried in different url but didnt work. Could you please share the sample if any Also would like to know whether this will work in sharepoint online

  • Rhiassuring Profile Picture
    8,692 Moderator on at

    All the information you need is in the link - make sure you have a good read-through of it, it should answer all of your questions.

     

    https://www.tachytelic.net/2021/07/power-automate-create-zip-file/

     

    It is for SPO. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard