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

Issue when Posting a Message in MS Team using Flow.

Is there a way I can force Rich format to be kept so on MS Team when posting I get the carriage returns? Or Even to convert it HTML?

 

This workflow is pretty staight forward, When an email arrive... Post a Message in MS TEAM using the 'BODY'..

 

Note: I've tryed using HTML to TEXT but the output remain 'plain text'.

 

Thank you,

 

21.jpg22.jpg

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted

Nevermind, The EMAIL input received is PLAIN TEXT, therefore Flow does it correctly and post it as PLAIN TEXT... 

 

I'll see if parsing is possible... I've been looking at PARSERR but I'm affraid of 3rd party tool that got to read my Business EMAIL.. 

 

Thanks anyway, we can close this post.

View solution in original post

Highlighted
Frequent Visitor

FINALLY - Manual Parsing FTW!!!

 

I was able to get a PLAIN Text email posted in MS TEAM in HTML format with a MANUAL parsing!

Look at this:

 

1.jpg

OUTPUT1: last(split(first(split(triggerBody()?['Body'],'Risk Level: ')),'Summary: '))

***This mean that the Output VAR is AFTER: 'Summary' and BEFORE 'Risk Level'***

 

OUTPUT2: last(split(first(split(triggerBody()?['Body'],'Change Timing: ')),'Risk Level: '))
OUTPUT3: last(split(first(split(triggerBody()?['Body'],'Timing Reason: ')),'Change Timing: '))
etc... until all 9 variables are filled up!
 
Then, you need to do a little of HTML (Or use a Converter online) and insert the OUTPUT(S) in your MS TEAM message you want to post. Like This:
2.jpg
 
RESULT:
3.jpg
Voilà!
Hope that this will help all the folks online that want to do Email Parsing or Scraping !
 
Merry X-Mas & Happy New Year !
Nitram.

View solution in original post

6 REPLIES 6
Highlighted
Community Support
Community Support

Hi @Nitram,

 

I would suggest remove the action Html to text which will change the email body to plain text.

From your description, it seems that you want to post email body into Microsoft Teams. Please just use the trigger When a new email arrives and the action Post message.

I have made the following test. The message posted in teams has the same format with the email body.

1.PNG2.PNG

 

Best regards,

Mabel

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

Nevermind, The EMAIL input received is PLAIN TEXT, therefore Flow does it correctly and post it as PLAIN TEXT... 

 

I'll see if parsing is possible... I've been looking at PARSERR but I'm affraid of 3rd party tool that got to read my Business EMAIL.. 

 

Thanks anyway, we can close this post.

View solution in original post

Highlighted
Frequent Visitor

FINALLY - Manual Parsing FTW!!!

 

I was able to get a PLAIN Text email posted in MS TEAM in HTML format with a MANUAL parsing!

Look at this:

 

1.jpg

OUTPUT1: last(split(first(split(triggerBody()?['Body'],'Risk Level: ')),'Summary: '))

***This mean that the Output VAR is AFTER: 'Summary' and BEFORE 'Risk Level'***

 

OUTPUT2: last(split(first(split(triggerBody()?['Body'],'Change Timing: ')),'Risk Level: '))
OUTPUT3: last(split(first(split(triggerBody()?['Body'],'Timing Reason: ')),'Change Timing: '))
etc... until all 9 variables are filled up!
 
Then, you need to do a little of HTML (Or use a Converter online) and insert the OUTPUT(S) in your MS TEAM message you want to post. Like This:
2.jpg
 
RESULT:
3.jpg
Voilà!
Hope that this will help all the folks online that want to do Email Parsing or Scraping !
 
Merry X-Mas & Happy New Year !
Nitram.

View solution in original post

Highlighted
Advocate IV
Advocate IV

l am also experiencing a similar issue.  I am using the SharePoint list in the Teams backed to collect data then posting a message to the Teams Channel so users can collaborate on the item that was posted in the list.  When the message is posted in the Teams channel, it is not a Hyperlink, it is displayed as plain text.  I am using the "link to item" property in Flow to add the link to the item in the post.  I have aslo tried using HTML to create the link to the SharePoint item and nothing works.  I currently have a ticket open with MS Premium support and it has been escalated to Program Group.  I will post the results as soon as I get them.  They have reproduced the issue, waiting to get a work around.

This helped me. Thank you.

Highlighted
New Member

This helps me proxy email notifications from 3rd party software through Microsoft Teams private messages. 

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 (7,902)