web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Creating markdown stri...
Power Automate
Unanswered

Creating markdown string in Apply to each

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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 .

Thanks

Categories:
I have the same question (0)
  • AlanPs1 Profile Picture
    2,471 on at

    Hi @Anonymous 

     

    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

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
     

    image.png

     

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

    Thats what I get 

     image.png

  • AlanPs1 Profile Picture
    2,471 on at

    Hi @Anonymous 

     

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

     

    capture-495.PNG

     

     

    I get the following output working as expected:

     

     

     

    capture-494.PNG

      

     

    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

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard