cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Convert .csv file into an HTML table

I have a powershell script that generates a csv file and emails it off to a list of people.  I want to email this csv file to a Team channel which will drop it into sharepoint, then I want Flow to convert the csv file into an HTML Table and indsert it into a page as "Lastest Data".  

First, is this something Flow can do?  And Second can someone point me to an example of this or something similar so I can get this sorted out.  Thanks!

4 REPLIES 4
v-xida-msft
Community Support
Community Support

Hi @Anonymous,

 

Do you want to convert a csv file of SharePoint library into an HTML table?

Further, could you please share a screenshot of your flow's configuration?

 

There is no way to analyze the data of a csv file in Microsoft Flow currently, if you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

In addition, you could consider take a try to convert the csv file into a excel file manually, then use "Get rows" action of Excel connector to retrieve all rows of the excel file. If you have converted the csv file into a excel file, please take a try to create a HTML table with the follwoing workaround:16.JPG

The flow works successfully as below:17.JPG

 

 

Best regards,

Kris

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

I'll try this for sure!  Thank you for the reply.

 

Chris

Hi @Anonymous,

 

Do you need any other help?

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 CSV and then generate an HTML from a template using this data. For this task you can use Create HTML from template action from the same connector. Please review this article to learn how to generate HTML from template.

Helpful resources

Announcements
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

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (106,583)