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

Blogs
01 Oct, 2026

Catch Blocks That Actually Catch: Logging Failed Steps in Power Automate

Introduction Most teams building Power Automate flows eventually land on the same pattern: wrap your business logic in a Scope,…

READ MORE
Blogs
01 Oct, 2026

Automatically Refresh a PCF Dataset Grid After Closing a Custom Page in Dynamics 365

Introduction Custom Pages provide a modern way to edit records in Dynamics 365. A common approach is to open a…

READ MORE
Blogs
23 Sep, 2026

How to Dynamically Switch Business Process Flow When Changing Forms in Dynamics 365

How to Dynamically Switch Business Process Flow When Changing Forms in Dynamics 365 Introduction Microsoft Dynamics 365 provides powerful customization…

READ MORE