knowledgecenter-breadcrum

Knowledge Center

04 Jul, 2022

Convert HTML Description into Plain Text of Email Message Record

Posted on 04 Jul, 2022 by Admin, Posted in Power Automate Dynamics 365 Power Platform

Convert HTML Description into Plain Text of Email Message Record Blogs

Convert HTML Description into Plain Text of Email Message Record

Introduction:

In this blog, we will see how we can extract the plain text from email message record in Dataverse.

As we know, when we create email record with description then the description content will be stored in the form off HTML content. So, to get the plain text from the description field of email record. We can use the below step in power automate.

Let see the below example to get little more idea about above action.

Example:

We have created a power automate which triggers on create of email records and extract the plain text from email description field as shown below.

Power Automate details:

Step 1: the trigger point for power automate and it trigger on create of email as shown below:

Step 2:

In this step, we have added the initialize variable action to store the description field value as plain text.

Step 3: In this step, we have used the “Content Conversion” action to get the plain text as shown below:


Step 4: In the final step, we used the set variable action to populate the plain text.

Result:

I have created below email record in CRM.

Power Automate Result:

Comment

This is a Required Field

Loading

Recent Updates

Embed PowerBI Report To Form
Blogs
09 Sep, 2026

Embed a Power BI Report on a Dynamics 365 Form, Filtered to the Record You're Viewing

Most Power BI reports in a Dynamics 365 environment live somewhere the user has to go and find: a dashboard,…

READ MORE
Blogs
08 Sep, 2026

How to Dynamically Retrieve SharePoint Drive IDs and List GUIDs for Power Automate

Introduction Many times, we come across scenarios where we need to populate a Word template in Dynamics 365 using Power…

READ MORE
Blogs
11 Aug, 2026

How to Remove an Unmanaged Layer from a Dataverse Email Template

Overview Email Templates in Microsoft Dataverse make it easy to reuse email content such as subject lines, message bodies, and…

READ MORE