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 Multiple Ch...
Power Automate
Unanswered

Formatting Multiple Choice Answers as Bullet Points in Word Template

(1) ShareShare
ReportReport
Posted on by 2

Hello everyone! 🙂 

I'm working on creating an automation flow in Power Automate that fills in a Word template using the "Populate Word Document" action. Specifically, I need to format answers from Microsoft Forms, particularly for questions with multiple choices. The output in the Word document currently looks like this: [“value1”, “value2”], but I want to format these answers into bullet points.

I've tried several methods, such as:
- Creating a variable with a new line, and using that in a 'join' action
- Using the `json()` function
- Replacing and splitting the values, and then using the new line variable

These approaches help in removing the square brackets and quotation marks, but I can't figure out how to insert new lines and format the answers as bullet points.

Additionally, I have seen that it's possible to use the `json()` function within an "Apply to each" loop to avoid creating a new "Compose" action for each answer from Microsoft Forms. However, I'm not sure how to implement this.

Could someone please provide guidance on how to:
1. Convert the multiple choice answers into a bullet point format within the Word template.
2. Use the `json()` function in an "Apply to each" loop to handle multiple answers efficiently.

Any help or examples would be greatly appreciated!

Thank you in advance for your support.

Best wishes, 

Jules

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @Jules3 ,

    Follow these steps:

    Add an "Initialize variable" action to create a string variable BulletPoints. Initialize it with empty string
    Then add an "Apply to each" action and select the output of the JSON array as the input.

    Inside the loop, add an "Append to string variable" action with the following:

     • @{items('Apply_to_each')}\n

     Provide the variable in your Plain text field of your Word template

     

  • Jules3 Profile Picture
    2 on at

    Hi @SudeepGhatakNZ ,
    Thanks for your answer!:)

    I run into some trouble when I add the "Append to string variable" with your code, getting the message: 

    "The input parameter or parameters for the 'Apply_to_each' action contain one or more invalid expressions. Correct the invalid expressions for the input parameters for the 'Apply_to_each' action."

     

    I've tried various combinations of the code above, however the only input the "Append to string variable" seems to accept, is

    items('Apply_to_each')

    Which results in text that looks like this:

    value1value2


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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 271 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 171 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 148 Super User 2026 Season 2

Last 30 days Overall leaderboard