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

Notifications

Announcements

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

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 331 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

Last 30 days Overall leaderboard