Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Convert CSV string to HTML table

Any ideas as to how I could convert a csv string to json in flow? My goal is to have a nicely formatted HTML table so that I can send that table in an email. Here’s a sample.


Change End Date/Time,Case Number,Case Owner,Subject
2018-06-07 06:00:00,194170,Jane Doe,Server Build
2018-06-08 16:00:00,195528,John Smith,Version Upgrade

Community Support Team
Community Support Team

Re: Convert CSV string to HTML table

Hi @jlazerus,


Do you want to convert a CSV string into a json within Microsoft Flow?


If you want to convert a CSV string into a json within Microsoft Flow, I afraid that there is no direct way to achieve your needs in Microsoft Flow currently.


If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:


Best regards,



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.

Re: Convert CSV string to HTML table

Hello, @jlazerus!


If you have already posted your idea to the Flow Community Ideas Forum then you need to post the URL to your idea’s thread as a reply to this thread and then "Accept as Solution" on that reply so other users may vote for your Flow Idea and identify the information easily.


Thank You!



Flow Community Manager

Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!
Super User
Super User

Re: Convert CSV string to HTML table

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


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,727)