Dr.YSG
Dr.YSG

Reputation: 7591

SharePoint PowerAutomate Create plain CSV file from email

I have a simple two stage flow (below) that I am using. It triggers on a email with a file attachment (which is in CSV format) and then saves it to a SharePoint Document folder. All works well except that it is also putting the mime headers at the top of the CSV file. How can I stop it from doing that. See screen shot of output and of flow: ( For File Content I am using Attachments Content)

enter image description here

enter image description here

enter image description here

Upvotes: 0

Views: 658

Answers (1)

Expiscornovus
Expiscornovus

Reputation: 1497

YSG,

Can you add a condition to check if the attachment is actually a .csv file? At the moment it looks like it is concatenating a couple of attachments into one file.

Try a setup like below:
The Condition action checks if the Attachment Name property ends with .csv

enter image description here

Upvotes: 0

Related Questions