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 / Body of email showing ...
Power Automate
Answered

Body of email showing HTML enters in description

(0) ShareShare
ReportReport
Posted on by 10

Hey all,

I'm making a power automate.
The automate is about assigning an email to someone and making a task in planner about this.
Everything is working exactly like I would want it to only the body of the email.
I converted the HTML to normal text but is still show some elements.( /r/n )
I added some pictures of the part from my flow wich has an impact on this.
I also tried to add a delay between create and update task but this didn't help 😞

add body to description.PNG

convert html.PNG

Html elements.PNG

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,484 on at

    Hey @YaBooyyy 

    Can you give an example or test data how your data looks like in the body that you are entering in html to text action?

    Then I might be able to give you some solution.

  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @YaBooyyy  If you want to remove new lines code please use replace() before assigning to variable.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • YaBooyyy Profile Picture
    10 on at

    body example.PNG

    Hey I added a screenshot of the body.
    It is a test mail I made to test is the subject and start date and sutch works.

  • YaBooyyy Profile Picture
    10 on at

    Hey,
    I have never heard of the replace operation.
    Wich one should I use and why?
    Thnx in advance 🙂 

  • Verified answer
    Sundeep_Malik Profile Picture
    6,484 on at

    @YaBooyyy 

    So replace function, replaces any word or letter that you give with another letter/word you provide.

    So, in the above case, you can use it like this:

    take a compose:

    replace(variables('EmailText'),'\r','')

    By this we are replacing \r with no space.

    Then you can do this again for '\n'

    This can be done in 1 compose too, but I am really bad with expressions. Hehe.

  • Sundeep_Malik Profile Picture
    6,484 on at

    @YaBooyyy 

    Use this:

    replace(replace(variables('EmailText'),'\r',''),'\n','')

     

  • YaBooyyy Profile Picture
    10 on at

    Hey I testes with compose a both but I still have the same result.
    The replace is as follows: replace(variables('EmailText'),'\r','')
    I added a screenshot of the part from my flow, still using the same email as a test
    I looked around on other post and looks like they do the same.
    Thnx again for the fast answer 🙂

    Flow with compose.PNG

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard