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.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,303)