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
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:
https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas
Best regards,
Kris
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!
-Gabriel
Flow Community Manager
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.
Join digitally, March 2โ4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
85 | |
57 | |
42 | |
37 | |
33 |
User | Count |
---|---|
91 | |
73 | |
72 | |
60 | |
40 |