Showing results for 
Search instead for 
Did you mean: 
Helper III
Helper III

How attachment file from list to document library using flow


I have scenario flow.

I have list for requestor. when requestor upload attachment file (format zip or rar) but when requestor upload attachment file with zip or rar extension. approver review document with open document library and I using Ms Flow for this scenario. But when Approver check and review attachment in document library, approver download and open attachment file, this attachment file damaged.


is there something wrong with the flow that I created?

I create flow with this scenario, to be able to form a distributor name folder.


please review my flow

attachment file.png


Super User
Super User

Hi @krfajar 


Since it's a zip file, don't use the get contents and create the file. You have an action that does all of that for you and unpacks the archive.


Just use the "Extract Folder" as follows:



If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.


Dual Super User II
Dual Super User II

Hi @krfajar 


In case you just want the zip file as it is (not extracted), you need to update the flow and have just one apply to each and then in the create file action have the content of the file from the previous action that is actually getting the content and not the id as you have in the current screenshot. 


Hope this Helps!


If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,423)