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 / Populating Word Templa...
Power Automate
Answered

Populating Word Template with multiple value fields

(0) ShareShare
ReportReport
Posted on by 5


Hi please be gentle as I’m new to Power Automate 😉

I’m trying to build a simple flow that grabs items in a SP list and use it to populate a word document.

This works fine for any items that are just text, but some of the item fields contain links to another list and contains multiple items.

This is the basic flow as it stands and works as expected until I add the dynamic content linking the multi-item fields.




As soon as I add a field that holds list columns that contain multiple items it forces in a “for each” action which I presume Is because it recognises there are multiple fields to capture.



 
 


Everything seems to run fine but now my word document is corrupt and won’t open.





I’m not sure if the fault is with the flow or the word template. 

Can anybody point me in the right direction please?
 
Categories:
I have the same question (0)
  • Verified answer
    David_MA Profile Picture
    14,404 Super User 2026 Season 1 on at
    The Populate Word Template action only allows for plain text fields. To get your multiple choices into plain text, do this:
    1. Create a variable of Array type and set the initial value to [] (this is important)
    2. Add an Apply to each action and point it to the field that contains the choices (do not use the dynamic value that has value after it)
    3. In the Apply to each action add an Append to array variable action.
      1. Configure the name to the variable you created in step 1.
      2. In the value box, insert the field that contains the choices, but this time choose the one that has value after it.
    4. After the Apply to each action, add a Join action.
      1. In the From choose the variable configured in step 1.
      2. In the join field, configure it how you would like to join the values. For example, comma followed by space to comma separate the choices.
    5. You can use the output of the Join action in your Populate Word template action.
    Your flow will look like this.
    This is what results:
  • AR-16041056-0 Profile Picture
    5 on at
    Thanks David, that worked great for 1 field but now I'm having the issue that each additional field keeps tagging onto the previous response.
     
    For example
     
    SP List  Column 1 
    Choice 1, Choice 2, Choice 3
    SP List  Column 2 
    Choice 1a, Choice 2b, Choice 3c, 
     
    Field Output 1
    Choice 1, Choice 2, Choice 3, 
     
    Field Output 2
    Choice 1, Choice 2, Choice 3, Choice 1a, Choice 2b, Choice 3c, (when i need to just show Choice 1a, Choice 2b, Choice 3c)
     
     
    I've tried replicating the steps for each required field but it just ignores the second append to array variable.
     
     
    Any thoughts? 
     
     
     
     
     
    Screenshot 2026-0...

    Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

  • David_MA Profile Picture
    14,404 Super User 2026 Season 1 on at
    If I understand what you are doing based on your screen shot, you can do one of two things:
    1. Initialize a second variable to for the second apply to each action and use this in the second action.
    2. Before the second apply to each action, use a Set variable action and reset the initial variable back to the default of []

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 875

#2
Valantis Profile Picture

Valantis 817

#3
Haque Profile Picture

Haque 481

Last 30 days Overall leaderboard