web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / MS Forms multiple choi...
Power Automate
Answered

MS Forms multiple choice answers to SharePoint list

(0) ShareShare
ReportReport
Posted on by 21

Hi Everyone,

 

I'm hoping I can get some help with a Flow that I'm working. I have a Form that has some multiple-choice questions. The answers are used to create a new SharePoint item. Unfortunately, the format of the data entered into the list is not good. 

 

Here's what winds up on the list:

If someone selects are choice options:

["ISJ 1st Floor Zone 1 (Shipping / Labs / TDK Ventures)","ISJ 1st Floor Zone 2 (Labs on the Parking Garage Side)","ISJ 1st Floor Zone 3 (Future technolobby)","ISJ 2nd Floor","ISJ 3rd Floor","ISJ 4th Floor","ISJ 8th Floor","IBK "]

 

If someone selects just a few choice items:

["ISJ 1st Floor Zone 2 (Labs on the Parking Garage Side)","ISJ 2nd Floor","ISJ 3rd Floor","ISJ 4th Floor"]

 

Ideally, I'll like the format to look like this (depending on the answers selected):

ISJ 1st Floor Zone 2 (Labs on the Parking Garage Side)

ISJ 2nd Floor

ISJ 3rd Floor

ISJ 4th Floor

 

Here's what my flow looks like:

oslopez28_0-1683224749618.png

 

 

 

Categories:
I have the same question (0)
  • oslopez28 Profile Picture
    21 on at

    One more thing!

     

    I tried this solution, but it makes every SharePoint list entry the same, regardless of what was selected in the Form. The format of the text however is just like i need it.

     

    The compose 2 is set as such: join(outputs('Compose'), decodeUriComponent('%0A'))

     

    oslopez28_0-1683225501023.png

     

  • HenWang Profile Picture
    Microsoft Employee on at

    Hi @oslopez28 ,

     

    I think you are almost there and the expression you are using is correct. Please remove the content inside your Compose action and replace them with the dynamic content related to this specific choice column from your Microsoft form. This will help to dynamically create the item according to user's own selection.

     

    HenWang_0-1683267453868.png

     

    Hope this can help.

     

    Best Regards,

    Hen Wang

  • Verified answer
    HenWang Profile Picture
    Microsoft Employee on at

    Hi @oslopez28 ,

     

    After testing from my side, I found that when I select the choice column dynamic content in compose action, flow can only recognize it as string value instead of array value, which is not valid for the join expression in following step:

    HenWang_0-1683268444435.png

     

    Just in case you have the same scenario, please feel free to refer to my below solution, maybe stupid but it does work for me:

     

    Whole flow:

    HenWang_1-1683268536846.png

     

    1.Need to initialize an array variable named "Choice_response"

     

    2.In my Compose 3 action, I used below expression, I think you can directly copy and paste:

    split(replace(replace(replace(outputs('Compose'),'[',''),']',''),'"',''),',')

     

    3.Create an "Apply to each" action manually: Please select the outputs dynamic content from the previous step, which is the Compose 3 action in my flow.

    HenWang_2-1683268685896.png

     

    4. append to array inside the loop:

    HenWang_3-1683268777964.png

    The value is using expression :

    Item()

     

    5. the final join expression:

    HenWang_4-1683268854490.png

     

    join(variables('Choice_response'), decodeUriComponent('%0A'))

     

    Hope this can help.

     

    Best Regards,

    Hen Wang

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard