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 / 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
    75 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
    75 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

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 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard