cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kdangar
Level: Powered On

Dynamic content not displaying in output

Hey ya'll, 

 

Trying to build  a 'When a new email arrives in outlook -> Post message in yammer group' flow. When selecting 'Body' of the email in dynamic content to display as 'Message Text', the output in the yammer group is as follows rather then just the email body:

 

<html> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
<meta content="text/html; charset=utf-8"> 
</head> 
<body> 
<div dir="ltr">Test</div> 
</body> 
</html>

 

Please advise. Appreciate your help! 

3 REPLIES 3
Community Support Team
Community Support Team

Re: Dynamic content not displaying in output

Hi @kdangar,

 

You could use Html to text to convert the email body content to text, and then post the output to the yammer group.

I have made a test on my side and the flow works well.

Image reference:

25.PNG

It work, as below:

26.PNG

27.PNG

Please take a try and feel free let me know if issue still exists.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
kdangar
Level: Powered On

Re: Dynamic content not displaying in output

Hey Barry,

 

I did try this but I received the following error: 

 
Body
{
  "body": [
    "Body must be less than 10000 characters"
  ],
  "code""body_too_long"
}

I am trying to get google alerts email to post into a yammer group and that email seems to be html rich. Let me know if you can think of a way around this. 

Community Support Team
Community Support Team

Re: Dynamic content not displaying in output

Hi @kdangar,

Could you provide screenshots of the Flow configuration and run details?

From your error, it seems that the text contained in the body is too much, exceeded "Html to Text" limit.

For google alerts email, you only need to replace the trigger with Gmail-When a new email arrives.

59.PNG

 

Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,928)