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 / Formatting is lost whe...
Power Automate
Answered

Formatting is lost when text is pasted to a textbox

(0) ShareShare
ReportReport
Posted on by 35

Hi!

I have created a variable (%Notes%) within my desktop flow where it's value is set similar to below

 

Test Requirements:

Tester:
Name

Test to be done:
Verify login

 

I then used Populate text field in window to populate %Notes%, when the field is populated the formatting of the text is lost, the value is pasted as below.

Test Requirements:Tester:NameTest to be done:Verify login

 

Similarly, same output when I used Send an Email (V2) in cloud flow and populated email body with the an output variable.

How do I retain the format of the text?

 

Thanks!

 

  • Riyaz_riz11 Profile Picture
    4,219 Super User 2026 Season 2 on at

    Hi @DReyes07 

    you can pass into array or directly create 4 output variables

     

    Regards

    Riyaz

    If it helps mark a solution and like

  • Verified answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @DReyes07 

     

    I got it correctly

    Nived_Nambiar_0-1681965130082.png

     

    I disabled this option in populate text to populate it correctly

    Nived_Nambiar_1-1681965173348.png

     

     

    Also in email, are you getting same way ?

  • D0R7IT Profile Picture
    35 on at

    Hi, i tried both but still having the same output.

  • Verified answer
    Riyaz_riz11 Profile Picture
    4,219 Super User 2026 Season 2 on at

    Did you tried with send keys action

  • D0R7IT Profile Picture
    35 on at

    Thank you, it worked for Populate as text! 

    For email, i created an output variable (%OUT_Notes%) which gets the value from the same %Notes% variable. Then i use this output variable as email Body

    DReyes07_0-1681965837270.png

     

  • Verified answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @DReyes07 

     

    While sending the email modify the body like this 

     

    Nived_Nambiar_0-1681967774465.png

     

    join(split(outputs('Run_a_flow_built_with_Power_Automate_for_desktop')?['body/out_Notes'],decodeUriComponent('%0A')),'<br><br>')

     

    where outputs('Run_a_flow_built_with_Power_Automate_for_desktop')?['body/out_Notes'] represent the out_Notes variable from Power automate desktop flow 🙂

     

    Final email looks like

    Nived_Nambiar_1-1681967832815.png

     

    Hope this helps

     

     

  • D0R7IT Profile Picture
    35 on at
    it worked, thank you!
  • KEarley Profile Picture
    276 on at

    Where is that screen you showed?  

  • D0R7IT Profile Picture
    35 on at

    from power automate cloud

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
11manish Profile Picture

11manish 273 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 172 Super User 2026 Season 2

Last 30 days Overall leaderboard