web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Problem with HTML to T...
Power Automate
Unanswered

Problem with HTML to Text Action

(0) ShareShare
ReportReport
Posted on by 380

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

Fernanda_0-1629128266883.png

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, &nbsp;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">&nbsp;</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 &quot;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

 

Fernanda_1-1629128445521.png

 

Categories:
I have the same question (0)
  • v-LilyW-msft Profile Picture
    on at

    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?

    vLilyWmsft_0-1629167243686.png

    Best Regards

  • Fernanda Profile Picture
    380 on at

    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

     

    Fernanda_1-1629204497503.png

     

     

    Fernanda_0-1629204389177.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard