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

Formatting messages

Hi

 

i have a flow which sends a message to a Microsoft Teams channel when a condition is met from Salesforce. I would like to format the message to appear on separate rows instead of one line as per attachment

 

How would I configure the flow to do this?flow config 1.JPGflow example 1.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @ABMensah,

 

Could you please share a screenshot of your flow’s configuration?

Do you want to format your message with the format that shows in your “Post message 2” action?

I have made a test on my side and the flow works well. Please take a try to configure Message as below:9.JPG

The flow works successfully as below:10.JPG

 

Best regards,

Kris

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

View solution in original post

8 REPLIES 8
v-xida-msft
Community Support
Community Support

Hi @ABMensah,

 

Could you please share a screenshot of your flow’s configuration?

Do you want to format your message with the format that shows in your “Post message 2” action?

I have made a test on my side and the flow works well. Please take a try to configure Message as below:9.JPG

The flow works successfully as below:10.JPG

 

Best regards,

Kris

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

Hi @v-xida-msft,

I have tried the suggested approach:

 

Capture1.JPG

But I am still not able to have text on a new row.Capture2.JPG

Probably I am missing something?

Kind Regards,
Emil

Anonymous
Not applicable

I have the same issue as Emil does. I also tried Markdown, didn't work...

Hi All,

 

From my testing here, if you are using the "Post a message as the Flow bot to a user" flow, then you can use MARK UP formatting to format the message. HTML formatting did not work for me in my testing.

 

More details about MarkDown formatting can be found here https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/cards/cards-format#markdown-format...

 

Interstingly, I was only able to get basic MarkDown formatting to work like the bold and italic. If I tried to use the /n or /r to mark a new line, that did not work.

 

Atlernatively, you can use the "Post a message with Adaptive Card to a user" flow instead, and use the JSON formatting instead. There is a nice wizard to help you generate your JSON, https://adaptivecards.io

 

Hope this helps!

I just accidentally found that if you press return twice everywhere you need a new line, then it works.  The appearance is still poor but at least you get a new line.

jukow
Frequent Visitor

and this is the solution! 🙂 thanks!

Same here,  

before an update from Ms  text has format with Html, no appears the Tags <b><Center> <a hrfe... etc) 

German_Chris
Helper I
Helper I

Yes this works with the 2 ENTER, but this is like a new paragrah ... I need an new line.
HTML and MARKDOWN, both do not format the text.. 

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (2,188)