Hello,
I created a flow to send email with ADO Query results. The flow has the following steps,
- Manual Trigger
- Get Query Results from ADO
- Create a HTML table
- Compose (replacing the tags, removing nulls and formatting the table)
- Send Outlook Email
In the Compose action, as the first step, I am replacing the HTML tags using the following statements.
replace(replace(replace(coalesce(outputs('Get_ADO_Results')?['Description'],''),'<div>',''),'</div>',''),'<p>','')
replace(coalesce(outputs('Get_ADO_Results')?['Description'], ''), '<[^>]+>', '')
The email that I receive still has the HTML tags (<div>, <p> etc.) for the Description field, it looks messy and unreadable.
Can you please help me understand what I am missing?
Thanks in advance!