cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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
Highlighted
Community Support
Community Support

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.
Highlighted

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. 

Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (10,609)