Showing results for 
Search instead for 
Did you mean: 
Not applicable

Adding HTML to Microsoft Flow Email

Are there any templates available to add HTML to email sent using Microsoft Flow? Ie. A bar across the top of the email, a company logo at the top of the email, etc.

Community Support
Community Support

Hi @Anonymous,


You should be able to write simple HTML language in the Send an Email action Body field, when the Is HTML is set to Yes:


As a reference:

How to insert a "Clck Here" in an email?



Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

How about html in an Outlook Approval Email?ApprovalEmail.JPG

Hi @RKushner,


HTML format for Approval Email is currently not supported.

Please check the following thread for more details:


Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Is there a way to add html code to display date or time in the email that is sent from Flow?


I have been able to insert a logo, but not been able to insert a current date or time to be sent out with the email. I have already set the "Is HTML" to Yes.

Not applicable

You'll need the UTCnow() function to get the current time (and date). this can then be added into the body of the email.


On a similar note, I've been creating some 'better' looking emails by composing them in outlook, sending them to myself then right click 'view source', copy all the html and then paste it in the 'body' box. This will replicate the email as seen in outlook. It might not be the most efficient coding but its quick and easy to do.


If required, you can insert dynamic content into the html code to make the email display info specific to the flow, i.e. a list ID number or submitter's name...




@Anonymous I've tried using the UTCnow() function but it just prints "UTCnow()". Do I need to include anything else to make it know I am calling a function? 

Not applicable

The 'old' way was to compose some dynamic content (using the compose action) with an @ sign in front of it. The new way I think would be to use the 'expression' function that appears alongside the 'dynamic content' for any input box. Let me know how you get on, i'll cut and paste the actual content next time I'm at my desk...

Ahhhh I see. Thank you! I didn't even see the expression function earlier. It worked using this 

 adddays(utcnow(),1, 'yyyy-MM-dd')
Advocate II
Advocate II

Hi Team,


I managed to get HTML to work in the "Send approval email" in flow, try the below...


All i did was add "Speakmarks to the start of the message/email in flow"....




Look at how the approval email came through...


Kudo Kingpin
Kudo Kingpin

This does not work for approval emails (start an approval email which is sent) as no drop down for HTML and nothing in the settings for that step either. I would have expected that this could be applied to all email templates that Flow sends so currently it is lacking this addition of functionality. 😞 

This is way past your original post date: hopefully, you'll still get it. Was wondering how you got a logo inserted in the HTML email?

This doesnt work for approval flow. . I am struggling to find a way to have HTML tags working in my flow to make Emails look cleaner. Any luck anyone?

Continued Contributor
Continued Contributor

HTML isn't an option for the approval emails, but the details section of an approval supports markdown. Details and samples are available here.

Seems a bit of a mystery why it has taken so long for someone to comment on this about markdown. Planning to put it to the test today as my workaround was to use Send email with options format but unfortunately the email templates for that are not as nice as the approval emails

Not having much luck with using Markdown at all.... 


Inkedmarkdownfail_LI.jpgmarkdown fail detail_table.png

Continued Contributor
Continued Contributor

The error message doesn't seem to be related to the markdown, but instead it's complaining about a field that "doesn't exist". I'd verify if this field has a value, and if so, create another small flow just for testing this field.

Hmmm  strange as I added the values from the dynamic content at the same time as trying to draft table, so they are available. 

I tried removing some and it triggered the approval email but it does not come in table format, instead I have bullets? 

Inkedremoved dynamic content_LI.jpg




Continued Contributor
Continued Contributor

Hmm. Apparently there's a relatively new bug that is preventing markdown from rendering in all environments. I just did a test myselft, and the tables are working in outlook online but not in outlook 2016. The tables also render correctly in the approvals center in flow. Here is another thread talking about this issue.

I tested at  my end with Markdown functionalities. The problem I am seeing now is that the manager receives the email in a formatted way but once the form is approved or rejects, the user is receiving email information in a really ugly formatted way . I dont know if there is a way to fix thi?


I have attached the pictures below. Please guide.manager approval.PNGuser email.PNG

Helpful resources

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!


Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (46,069)