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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to create Email...
Power Automate
Unanswered

Unable to create Email record in CRM with HTML Code

(0) ShareShare
ReportReport
Posted on by 9
Spoiler (Highlight to read)
Hello Guys
I have a very complicated MS Flow that is running a child flow. One of the outputs of the child flow is a string variable containing the HTML code for the email record I need to create in Dynamics CRM.
Hello GuysI have a very complicated MS Flow that is running a child flow. One of the outputs of the child flow is a string variable containing the HTML code for the email record I need to create in Dynamics CRM.

 

I take this output and add it to another local variable which contains header and footer code.

 

When I create the email record in Dynamics, I insert this final variable into the Description attribute.

But when I check the email record created in CRM, it's just plain html code as screenshot below. This should be formatted and with images.

 

Now If I copy this plain html code from the email record and insert it in the description field and run the flow again, I get the correct formatted email.

bahrex_0-1648990598778.png

 

bahrex_1-1648990599444.png

 

 

 

bahrex_2-1648990599441.png

 

 

somehow, flow is not treating it as html when it's output from the child workflow which is very strange.

Anyone can help me with this issue please.

 

Cheers

Categories:
I have the same question (0)

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
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard