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
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:
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.
Flow Community Manager
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.