Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

How do I remove the quotes and [ ] from multi choice questions when populating a word file

(0) ShareShare
ReportReport
Posted on by

Hi all

 

I am really hoping for some help. I have a MS Form which has 4 sets of questions which are multi choice. I then want to populate the Word template to show the selection. I have been able to set this up.

 

I am however struggling to remove the @quotes and [ ] signs. Is there a way I can remove these from showing in the word file?

 

Any help would be pretty amazing!  I have included pictures to demonstrate. Thanks

flow.PNG

example.PNG

  • clarkyb Profile Picture
    on at
    Re: How do I remove the quotes and [ ] from multi choice questions when populating a word file

    Sorry I have came up with a small issue. When the form question is branched off (therefore not completed). I keep getting a null error.  Is there something I can change on the join? It is currently 

    join(json(outputs('Get_response_details')?['body/r200a521530d34a3a9d833ec47cfc6c32']), decodeUriComponent('%0D%0A')) and I drop it into the populate a ms word field clarkyb_0-1678742660577.png 

     

     
    any help would be fab . Thanks
  • clarkyb Profile Picture
    on at
    Re: How do I remove the quotes and [ ] from multi choice questions when populating a word file

    you are immense!

  • Verified answer
    grantjenkins Profile Picture
    11,059 Super User 2025 Season 1 on at
    Re: How do I remove the quotes and [ ] from multi choice questions when populating a word file

    You can add the full expression directly into you Populate a Microsoft Word template or would add it into a Compose.

    grantjenkins_0-1678455825624.png

     

    If you wanted to use a Join action, you would need to split the expression into the following:

     

    //From
    json(outputs('Get_response_details')?['body/rbffbec37339a4b4eba59abec9635dcbb'])
    
    //Join with
    decodeUriComponent('%0D%0A')

     

    grantjenkins_0-1678455939957.png

  • clarkyb Profile Picture
    on at
    Re: How do I remove the quotes and [ ] from multi choice questions when populating a word file

    Thanks for response - much appreciated. I'm struggling though - is this how the flow would look? I keep getting error messages 

    example.PNG

    failed.PNG

  • grantjenkins Profile Picture
    11,059 Super User 2025 Season 1 on at
    Re: How do I remove the quotes and [ ] from multi choice questions when populating a word file

    You can use the following expression to join each of the answers with a new line and carriage return. You'll need to ensure your Word document Text field is set to allow carriage returns too.

     

    //You would just need to insert your multiple choice field in place of what I have
    
    join(json(outputs('Get_response_details')?['body/rbffbec37339a4b4eba59abec9635dcbb']), decodeUriComponent('%0D%0A'))

     

    grantjenkins_0-1678453405517.png


    ----------------------------------------------------------------------
    If I've answered your question, please mark the post as Solved.
    If you like my response, please consider giving it a Thumbs Up.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492