Dear folks,
I have an issue. I receive one time a day a CSV sheet with several rows via email. The structure of this sheet is always the same. It is an update of loaded shipments with notes of destination, pallet qty and weight.
I would like to collect this data into one excel sheet over flow. Is this possible ? If yes, how ?
Thanks for your help in advance.
Solved! Go to Solution.
Hi @MJKarben,
I'm afraid that this cannot be achieved so far, you will have to manually copy the csv sheet from email content to excel file. Since you cannot extract the columns from email body in flow. Email body will be considerd as a whole dynamic content.
But if you think that this is important feature for you, you could add an idea in below forum so that others who have the same request could vote on it:
https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas
Regards,
Mona Li
Hi!
You can use Parse CSV action from Plumsail Documents connector. It allows you to convert CSV into an array and variables for each column. Please read this article demonstrating how it works.
In your case you will need to parse your CSV into an array using this action, then you can use Create XLSX document from template action from the same connector to generate an XLSX file. Please read this article describing how to work with XLSX templates.
Hi @MJKarben,
I'm afraid that this cannot be achieved so far, you will have to manually copy the csv sheet from email content to excel file. Since you cannot extract the columns from email body in flow. Email body will be considerd as a whole dynamic content.
But if you think that this is important feature for you, you could add an idea in below forum so that others who have the same request could vote on it:
https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas
Regards,
Mona Li
Hi Mona,
sorry for my bad explanation. The CSV Sheet is send as an attachement on the email. It is not include in the email body.
But it won't make the situation better right?
Thanks
MJ
Hi there,
Just for future reference, Parserr, a conenctor available on Microsoft Flow extracts text from CSV, emails, PDF, Excel etc. You would simply forward the email to Parserr and setup the rules required to extract the text you require out of the CSV.
Let me know if I can help at all
Courtenay (Parserr)
Hi Courtenay,
thanks you for your help. I will try it out.
Cheers
MJ
Any news ? did you succed and if you did it how ? same issue for me
Hi,
Thanks, I am also having the same issue nor new .xlsx or .csv is working for me.
This is a key feature especially with so many companies still running with XLS in their DW.
Best,
J.
i have same issue but no one wants to help
Hi!
You can use Parse CSV action from Plumsail Documents connector. It allows you to convert CSV into an array and variables for each column. Please read this article demonstrating how it works.
In your case you will need to parse your CSV into an array using this action, then you can use Create XLSX document from template action from the same connector to generate an XLSX file. Please read this article describing how to work with XLSX templates.
I hope this can help with csv issues.
It is built completely in flow.
https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/import-csv/td-p/440472
.... There is a new cookbook section after they renamed to Power Automate, apparently a lot of users are not finding it.
I know this post is from 2017 but I was curios how many 2019 and 2020 there were still looking for csv solutions.
You can now try automatically converting most CSVs to a new Excel table with the same column names as the CSV headers with this template:
https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/CSV-To-New-Excel-Table/m-p/1826096#M964
User | Count |
---|---|
6 | |
6 | |
4 | |
4 | |
2 |
User | Count |
---|---|
8 | |
7 | |
4 | |
4 | |
4 |