cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

How attachment file from list to document library using flow

Hi,

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

 

2 REPLIES 2
Highlighted
Super User II
Super User II

Re: How attachment file from list to document library using flow

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:

Screenshot_2020-01-22_at_09_24_45.jpg

 

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

Cheers
Manuel

Highlighted
Dual Super User III
Dual Super User III

Re: How attachment file from list to document library using flow

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

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (7,270)