cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
efialttes
Super User
Super User

Microsoft Teams: Unordered list markdown in "Post a message as the Flow bot to a user" action block

Hi all

I have tried to apply markdown to show as an unordered list an array when using "Post a message as the Flow bot to a user".

The markup in working fine for the first item of the array, but not for the others

Any suggestions?

Please note adding a 'new line' is a valid workaround

Also note in the example flow I have show just three items in an array, but in my real flow I am using variable length array, taking an output from another action block

 

Thanks!

Flow_Teams_MarkDown_Bot2User.png



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



1 ACCEPTED SOLUTION

Accepted Solutions

What helped me to split line into multiple lines in a message from the action "Post a message as the Flow bot to a user" is to use sequence {Whitespace}{Whitespace}{Enter}. A had an input line in form "Text1<br/>Text2<br/>Text3" and needed to display that as three lines in the message, sent by Flow bot to a user.

 

To do that I introduced a variable newLineCodeForFlowMessage and initialized that with text

  

(Two white spaces with Enter in the end)

 

and then used expression

replace(variables('textualDescription'), '<br/>', variables('newLineCodeForFlowMessage'))

I guess I can do the same, but to use the code to join items in your input array

View solution in original post

3 REPLIES 3
v-bacao-msft
Community Support
Community Support

Hi @efialttes ,

 

Please try this:

10.PNG

Please check this link and see if it helps:

https://docs.microsoft.com/en-us/flow/approvals-markdown-support#emphasis-bold-italics-strikethrough

 

Best Regards,

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.

Barry

First of all, thanks for your fast response.

I followed your suggestion, and get in bold the whole array list, but all array items are displayed in the same line, and what I am looking for is for each array item to be displayed in its own line 😞

So reading the link you provided (thanx!), I have also tried to copy paste the table example, but it seems it is not even recognised as Markup Language. I am using Google Chrome.

Flow_Teams_markdown_suggestion.png

Can you reproduce this table issue on your side?

Any new suggesting is welcome. If not, I will move from posting to a user to "posting to a channel"

Thanxs again!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



What helped me to split line into multiple lines in a message from the action "Post a message as the Flow bot to a user" is to use sequence {Whitespace}{Whitespace}{Enter}. A had an input line in form "Text1<br/>Text2<br/>Text3" and needed to display that as three lines in the message, sent by Flow bot to a user.

 

To do that I introduced a variable newLineCodeForFlowMessage and initialized that with text

  

(Two white spaces with Enter in the end)

 

and then used expression

replace(variables('textualDescription'), '<br/>', variables('newLineCodeForFlowMessage'))

I guess I can do the same, but to use the code to join items in your input array

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,483)