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 / Populate a Word templa...
Power Automate
Answered

Populate a Word template (adding a new line)

(0) ShareShare
ReportReport
Posted on by 3

Hello everyone, 

 

I'm hoping to get some advice on how to add a new line when populating a Word template based on a simple condition. 

I have a line with three addresses in my template: 

Address_1 Address_2 Address_3 

 

What I would like to do is to move Address_2 and/or Address_3 onto a new line if their value is not empty (if it is empty, do nothing). 

For instance, if my user fills in Address_1 and Address_2 in my form, the template should look like: 

Address_1 

Address_2 

 

Is this achievable? 

Categories:
I have the same question (0)
  • Verified answer
    abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @MarcusJames 

     

    Declare a string variable as string type and press enter key under value. Capture the Form address response. Use the Split expression to split the address and append with new variable (Enter Key). Finally map the output to word template.

     

    Thanks

  • gingerclaire Profile Picture
    14 on at

    I have the same issue - could you please explain in more detail to me (a beginner) maybe with some screenshots how i could do this please?

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @gingerclaire 

     

    Could you please create a new thread and explain your issues?

     

    Thanks

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

#2
Haque Profile Picture

Haque 87

#3
trice602 Profile Picture

trice602 63 Super User 2026 Season 1

Last 30 days Overall leaderboard