Showing results for 
Search instead for 
Did you mean: 
Helper IV
Helper IV

Creating markdown string in Apply to each

Hi All

I am trying to create an email with nicely formatted list of items and it is not working for me.

So I create a header string ( | col1 | col2 | col2
|-----------|:-----------:|-----------:| )

And than I create string variable "lines" ,  get a list of items from Sharepoint list and do Apply to each:
 | @{items('Apply_to_each_Capx_Item')?['Quantity']} | @{items('Apply_to_each_Capx_Item')?['Item']} | @{items('Apply_to_each_Capx_Item')?['Price']} | @{items('Apply_to_each_Capx_Item')?['TotalCost']} |  

All the marking just appears in the email. 

HTML is not good as its for Approval email which doesnt seem to support HTML .


Resident Rockstar
Resident Rockstar

Hi @RomanKorchak 


Please post some pictures of your Flow.


Markdown can be used on the Approval, but not in the body of an email, so I suspect you see the markdown as it's the email that holds the Markdown.


Once I see the pictures of your Flow I will advise what steps for you to take in order to achieve the result you are after.


Thanks, Alan

Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!




neither "from vars" or "MANUALLY" are marked properly

Thats what I get 


Hi @RomanKorchak 


I have recreated what you have (in the most) calling values from one of my lists.





I get the following output working as expected:







I suspect you are using this link



I looks to me that the use of _emphasis_ with spaces may be your issue.


Please try and remove spacing from _emphasis_ and recreate my model and expect it will work.


If you find my posts helpful, please mark with thumbs up


If this solves your issue, please click "Accept as Solution"


Any questions, just ask.


Thanks, Alan



Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!

Helpful resources

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 (3,964)