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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Approval Comments text...
Power Automate
Unanswered

Approval Comments text - Capture and modify

(0) ShareShare
ReportReport
Posted on by
Hello.
 
How to modify the text after capturing it in the comments section in Approval, to send it by email in a format with spaces between lines and so that it can be read better.
 
Thanks.
Categories:
I have the same question (0)
  • Suggested answer
    SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at
    Approval Comments text - Capture and modify
    First, ensure the comments from the approval action are stored in a variable or directly captured in the flow.
    Use the replace() expression to add proper line breaks that will render in the email. In Power Automate, emails (like those sent via Outlook) use HTML formatting. You need to replace new lines (\n or carriage returns) in the text with <br> tags.
    Here’s the expression:
    replace(variables('Comments'), '\n', '<br>')
    Finally, replace variables('Comments') with the variable or dynamic content holding the approval comments.

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard