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 / Modify Create HTML Out...
Power Automate
Answered

Modify Create HTML Output for formatting purposes

(0) ShareShare
ReportReport
Posted on by 25

 

 

 

 

 

Newbie question here,

 

I have a flow of which I have a step "create HTML table", the output of this step is then used in a "send an email" step.

 

What I want to do is format the table, preferably to have horizontal borders and possibly some ccell background fill.

 

I have tried following the advice at the link below, but I was unsuccessful. I tried adding a "data operations - compose" step betwene my "Create HTML table" and "send an email" steps. I changed the ouputs appropriately. In the data operations I use the phrase: replace(body(OUTPUT),'<table>','<table border="1">') - where Output is the output from the Create HTML table step. All that happened however was the text around the Output reference was added to the html body.

 

How do I implement the solution suggested at the link below? What stages do I need to use?

 

https://powerusers.microsoft.com/t5/Building-Flows/Create-HTML-and-formatting-the-table-in-an-email/m-p/114384#M11126

 

Thanks.

 

Categories:
  • Verified answer
    v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @JojenReed,

     

    I have made a test on my side and don't have the issue that you mentioned.

     

    Please make sure you have set the "Is HTML" field to "Yes" in the "Send an email" action.

     

    Please refer to the screenshot of my flow as below:

    Capture.PNG

     

    The flow would run successfully as below:

    Capture.PNG

     

    The email would be sent as below:

    Capture.PNG

     

    Best regards,

    Alice

     

     

     

     

     

     

  • MK1 Profile Picture
    169 on at

    Hi 

    In my scenario,

     

    I am writing code for print form option.

    Step1: I wrote a HTML code  for my application

    Step2: I used this code on MS FLow 

    • first i'm calling powerapps
    • Prase JSON
    • Comple(HTML Code with parse JSON values added)
    • respond to powerapps
    • Creating an html file

    Step3: after creating the flow. I was calling flow from powerapps

    step4: Now i was able to get data into the html with flow

     

    On my powerapps, based on dropdown select all the other feilds will populate, I'm unable to hide feilds based on dropdown selected value on HTMl.

    is there any way to hide labels based on selected value on HTML

  • mohamed Profile Picture
    34 on at

    can u give me the exprission please ?

  • VMartin Profile Picture
    4 on at

    I also need the expression. Would greatly appreciate it.

  • TX_IT_Guy24 Profile Picture
    4 on at

    I would also like to see the details of the Replace expression.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 331 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard