cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Muharriqi
Regular Visitor

when build a flow with multiple attachment (.xls,.csv & text) text files get corrupted

Hi,

 

I am new to power automate, and trying to build a flow that get a multiple attachments  (.xls,.csv & text) from SharePoint library, and send them in one email, I have no issue in the whole flow except that when I received the email only the text files get corrupted or not coded properly.

 

below is my flow:

 

Muharriqi_0-1623937646324.pngMuharriqi_1-1623937749312.png

Muharriqi_2-1623937897655.pngMuharriqi_3-1623937964917.png

Muharriqi_4-1623938065462.png

please advise.

 

thanks 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Muharriqi 

Thank you for posting

Please change the Value as below and test again.

vLilyWmsft_0-1624416937731.png

If you have subfolder in your folder and want to send files in the subfolder as mail attachments, please use Get files Action, because list Folder Action can list subfolder files. You can refer to the following flow:

vLilyWmsft_1-1624416937736.png

vLilyWmsft_2-1624416937742.png

vLilyWmsft_3-1624416937745.png

Hope the content above may help you.

Best Regards

If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
zbenhallam
New Member

Hello,

The sharepoint connector Get file content returns the file content in binary format and not in base64 format. Please refer to the documentation from Microsoft : Sharepoint - Conectors - Get File Content  

For more informations about how to handle Base64 and Binary File Content in Power Automate i suggest you check Lin Zaw Win article : Handle Base64 and Binary file content 

 

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

Hi @Muharriqi 

Thank you for posting

Please change the Value as below and test again.

vLilyWmsft_0-1624416937731.png

If you have subfolder in your folder and want to send files in the subfolder as mail attachments, please use Get files Action, because list Folder Action can list subfolder files. You can refer to the following flow:

vLilyWmsft_1-1624416937736.png

vLilyWmsft_2-1624416937742.png

vLilyWmsft_3-1624416937745.png

Hope the content above may help you.

Best Regards

If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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,988)