Skip to main content
Question

CSV to table format in the body of an email sent from an Action Flow.

  • January 31, 2024
  • 2 replies
  • 8 views

Hi,

 

I'm working on an action flow and want to send a small summary table in the body of the mail I'm sending. I can't find a way to transform the string that stores the csv data into a table format, maybe in HTML or another format supported my outlook.

 

Thanks for the guidance,

Julio :)

2 replies

abhishek.chatu14
Level 11
Forum|alt.badge.img+4

This is what you need to do

 

<html>

<head>

<style> table, th, td {border: 1px solid black;border-collapse: collapse;} </style>

</head>

<body>

<h2> Delivery Dates </h2>

<p> See below the upcoming Delivery Dates.</p>

<table style="width:100%">

<tr>

<th>Order ID</th>

<th>Customer</th>

<th>Delivery Date</th>

</tr>

{{2.text}}

</table>

</body>

</html>

 

I have higligted the table header and string hope this helps!


  • Author
  • Level 2
  • February 29, 2024

Hi Abhishek,

 

This was very helpful. I also added some replace functions in the action flow for further customization of the table. Thanks again.