Showing results for 
Search instead for 
Did you mean: 
Advocate II
Advocate II

Email Formatting for Response Summary approval action

The Response summary field is not formatting properly in email.  It formats correctly in Check in comments.  I will show you what I want vs. what I am getting.


WHAT I WANT:  I want the Response summary to format as shown here in the Check in Comment.  Approver, Response, Request Date, and Response Date all appear on separate lines.



WHAT I DO NOT WANT:  But instead, when I use this field in an email it is formatting so that it's spread out and not wrapping the correct way.  Approver, Response, Request Date, and Response Date all appear run together on the same line.

I have tried to format the email to correct this, with no success.



It seems like something simple, but I don't know what since the Response summary field should format automatically.  I tried moving the Response Summary out of the </p> but that did not help.  Thank you.




It's a string. Show your "Initialize a variable" action please. 

Contact me if you are interested in custom Power Automate development.
Advocate II
Advocate II

Thanks for the replace(.... etc..) code.

   A simpler, slightly less elegant method is to toggle the email into the code view and wrap the field in the html element pre. e.g.

<pre>Response Summary</pre>


Hi Victor, thanks for all your useful advice. Have implemented said variable for my workflow. However, along with Response Summary I would also like to print Response Comments alongside what we already have for each approver. Are you able to help?

Regular Visitor

I found an alternative solution that did not require using an expression. This allows you to customize what you want to print easier in my opinion. In my case I wanted to also print the response comments. Here are screenshots of my actions as well as what is now outputted:







Helpful resources

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (4,468)