Hey everyone!
Hopefully you can help me figure this out.
I have a flow that reads and incoming email, converts it into plain text and then some variables and composes happen to end up triggering an adaptative card to teams.
It was working really well, but now, I have issues with HTML to Text
This is the outcome of the converter. As you can see, it only gives back the url of a header image, but all of the rest gets lost
The entry is the following:
---
<p><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta content="text/html; charset=utf-8"><style type="text/css">
<!--
.Estilo1
{font-family:Arial,Helvetica,sans-serif;
font-size:12px;
color:#000080}
.pie
{font-family:Arial,Helvetica,sans-serif;
font-size:10px;
color:#333333;
font-weight:bold}
.textAZUL2
{font-family:Arial,Verdana,sans-serif,"Lucida Sans";
font-size:16px;
font-weight:bold;
color:#000080;
text-decoration:underline}
.tbl
{border-collapse:collapse}
.tbl td
{border:solid 1px silver;
padding:2px 2px 1px 2px;
font-family:Arial,Helvetica,sans-serif;
font-size:12px;
color:#000080}
.header
{font-family:Arial,Helvetica,sans-serif;
font-size:11px;
color:#333333;
font-weight:bold;
background-color:silver}
.style1
{width:130px}
.style3
{font-family:Arial,Helvetica,sans-serif;
font-size:12px;
color:#000080;
text-decoration:underline}
.style4
{width:500px}
-->
</style></head><body link="#0000c0"><table><tbody><tr><td class="Estilo1"><p style="text-align:center"><table width="100%" border="0"><tbody><tr><td valign="top"><img src="https://xxxxxxxxxxxxxxxl//Recursos/Images/gesco_tit.jpg" alt=""> </td></tr><tr><td align="center" class="textAZUL2"></td></tr></tbody></table></p><p class="style3" align="center"><strong>BOLETA RECIBIDA N° 3022-5</strong>: <strong>PRÓXIMA POR VENCER</strong><br></p><table width="540px" border="0"><tbody><tr><td class="style4">Estimado Usuario: xxxxxxxxxxxxxxxxxx.<br>El documento de garantía en custodia, vencerá en 30 días, usted tiene la posibilidad de solicitar la devolución o ejecución del documento por medio del sistema. </td></tr></tbody></table><br><strong>Documento Referencia:</strong> <table width="540px" border="1" class="tbl"><tbody><tr><td style="width:25%">Tipo Doc. Referencia:</td><td style="width:75%">CONTRATO</td></tr><tr><td>N° Doc. Referencia:</td><td>4476</td></tr></tbody></table><p style="margin-top:0px; margin-bottom:0px"> </p><strong>Datos Documento Garantía:</strong> <table width="540px" border="1" class="tbl"><tbody><tr><td style="width:25%">ID Interno garantía:</td><td style="width:75%">10270</td></tr><tr><td>N° Dcto. Original:</td><td>3022-5</td></tr><tr><td>Beneficiario Boleta:</td><td>----------.</td></tr><tr><td>Empresa:</td><td>Araucanía</td></tr><tr><td>Moneda:</td><td>PESOS</td></tr><tr><td>Monto:</td><td>4590808</td></tr><tr><td>Fecha Vencimiento:</td><td>15/09/2021 0:00:00</td></tr><tr><td>Glosa:</td><td>Para garantizar la seriedad de la oferta en la licitación "por el fiel cumplimiento de contrato de servicios de laboratorio programa cursos receptores y otros servicios analíticos.</td></tr></tbody></table><br><table width="540px"><tbody><tr><td class="Estilo1">Link Sistema: <a href="https://gescon.aguasnuevas.cl/" target="_blank">GESCON</a> Preview: <a href="https://gescon.aguasnuevas.cl//GAR_Ver.aspx?ID=10270" target="_blank">Ver Garantía </a><hr size="1" color="#3176AD">Este e-mail fue generado automáticamente, favor no contestar ni reenviar. <br></td></tr><tr><td height="20" align="center" bgcolor="#D0D2D4" class="pie">© 2009 Aguas Nuevas S.A. Todos los derechos reservados. </td></tr></tbody></table></td></tr></tbody></table></body></html></p>
------
As you can see, there is a lot of text to be converted, but it only gives me the image!
I am really lost here... anybody else has the same issue??
This is how the beginning of my flow is built
Hello!!
That is exactly the thing, sometimes it works, sometimes it doesn't.
This is the email that is sent, only the tables change depending on the request.
Yesterday, the automated flow didn't work and showed me what I showed you, but then I ran it manually, and it worked. For the very same email
Hi @Fernanda
I test on my side use your email content and don't have the issue that you mentioned,it can convert Html to text well.
How is this email sent?
Best Regards
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional