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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Need help with adding ...
Power Automate
Answered

Need help with adding a new line in a String Variable

(0) ShareShare
ReportReport
Posted on by 4

So I've been trying to add a new line to a string variable, and I've tried multiple things, but to no avail.

MCerpa_1-1650462570325.png

 

This is the last thing that I've tried, but it just puts in the literal </br> text into the word document I'm putting it into. I've also tried to make a New Line string variable, but that didn't work. 

MCerpa_0-1650462396636.png

 

MCerpa_2-1650462601802.png

 

Anyone have any ideas on how I can make this work for a Word Document template?

 

Categories:
I have the same question (0)
  • Verified answer
    Madra Profile Picture
    74 on at

    Hello,

    Assuming you are creating your Word document with the Word connector and are using brut text content controles to add your text (this:

    Madra_2-1650464536824.png

    , you can allow a new line using the properties of your content by allowing the carriage return directly inside your Word document template:

    MS-Word-Multiline


    You can, then, simply add new lines to your variables with the Enter key.

    Hoping this helps you.
    Madra

  • MCerpa Profile Picture
    4 on at

    I can't believe the solution was so easy, thank you so much!

  • Madra Profile Picture
    74 on at

    You're welcome, glad to have helped.

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard