cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kdangar
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
v-bacao-msft
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.

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. 

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (41,557)