How To Save Microsoft Form Responses To A SharePoint List

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
this video will demonstrate how you can create a new SharePoint list item every time a Microsoft form response is submitted and it will also demonstrate how you can add attachments from an MS form response to a SharePoint list item let's go ahead and let's get started all right now the first thing that we'll do is create our Microsoft form now you can see here that I've navigated to Ms forms on the web and I'll go ahead and click on new form now we'll start off by giving this form a title and a description next we'll start to build out our form questions now the first type of question that we'll add is a text question now I'll insert my question text and I'll go ahead and make this a required question next I'm going to add another text type question you can see here I've added my question and now I'm going to add a choice type question that maps to a choice type field in our SharePoint list now it's really important when you're working with these Choice type fields that you insert option values that map exactly to the values that will appear in the corresponding column in your list now you can see here I've added high medium and low as option values and these are the same values that will appear in my SharePoint list column now I've added in an additional Choice type column and now I am going to insert a column that we'll use to ident ify a person that will map to a person type column in our list now for this I'll go ahead and select text and you can see here I've added my question that reads who is the sponsor of this project enter their email address and then we're going to pass that email address into a person type column in our list now the last question that we're going to add to our MS form is a file type question now to do this you want to click on the more question types dropdown and you want to select upload file then you want to update your question text now you can see here I've added my text that reads please attach any supporting documentation to this intake form you can also specify the number of files that can be attached to a submission now I'll go ahead and set this to five and you also have the option to set the single file size limit and I'll set this to 100 megabytes now you can see here that I've gone ahead and filled out this form now I'll quickly scroll down now you'll see here for the email address I've input the email address of the individual that I would like to assign this item to in my SharePoint list and you can also see here that I have attached a file to this form submission next I'll go ahead and click submit and the form has been submitted all right now you can see here that I've navigated to the SharePoint online site that I want to create my list on next next I'll click on site contents and then I'll click on the new dropdown and I will select list now I'll demonstrate how to create a SharePoint online list from scratch so I will select blank list next you want to give this list a name and enter a description and once you're ready to create the list go ahead and click on the create button and you can see here that our list was created now you'll notice by default the list includes one column called title now if you're interested in learning how to remove this column alog together or how to repurpose it I do have a tutorial demonstrating how to do that I've included a link to that tutorial in the description below or you can click that card in the upper right hand corner of your screen and next we'll go ahead and add the additional columns that we need in this list so that we can pass in our form responses now I'll go ahead and click add column and I'll start off by adding a text type column so you can see here that's selected and I'll click next next I'll go ahead and fill out the create a column menu now you can see here I've put in my column name and description and I've set this column to multiple lines of text next I'll go ahead and click save and you can see here our column was added I'll go ahead and click on the add column button again and this time we'll build out our choice type columns so I'll go ahead and click Choice and then next now you can see here I've input my column name and description and next I'll go ahead and add in our choice values now to do that just place your cursor in the choices field and type in the value now it's really important to note again that the choice values you enter here have to map exactly to what was found in the corresponding Choice fields on your ms4 now I will also just change the color of this choice to red and and to add in additional values you just want to click on the add Choice button and then you can add as many values as you'd like next I'll go ahead and click save and you can see here our complexity column has been created all right next I'm going to add a person type column so I'll go ahead and click add column and this time I'll select person in the create a column menu and then I'll click next and this column is going to be used to store that email address that we were asking our respondents to provide in the MS form response now you can see here I filled out the create a column menu and again the type is person or group and in this case I am not going to allow the selection of groups because we want to ensure that at any point in time this column only features one individual next I'll click save and you can see here our column was added now if you're finding this video helpful you may also want to download my free pdf guide that outlines through three SharePoint tips to improve your productivity I've included a link to that guide in the description below or you can just bookmark that card in the upper right hand corner of your screen and download that after you finish watching this video all right now I have also added another person type column called requester and this is so that we can pass in the email address of the individual who submitted the Microsoft form response now I've gone ahead and filled out the new item form for demonstration purposes now what I want to draw your attention to is is the attachments field now with SharePoint list items you don't explicitly need to add an attachment field you just have the ability to add attachments to these items and that is where we are going to pass in the attachments that are added to our Microsoft form response and they will show up here on the SharePoint list item now I'll go ahead and click save and we can see here a sample of what we would expect to see after we build out our workflow and we pass in those Ms form responses to our list all right now the next thing that we need to do is start to build out our power automate workflow you can see here I'm on the power automate landing page and from here I will click on the create button and then I will select automated Cloud flow next you'll want to give your flow a name and then you'll want to go ahead and search for your trigger now I will select this first option here when a new response is submitted and if this is not displayed in the recommended triggers for you you just want to go ahead and search for this option here next I'll click create and you can see here that our workflow is created and that our trigger has been added to the workflow canvas now the next thing we'll need to do is select the form ID now I will click into the dropdown and this is going to display a list of Microsoft forms that you have access to now I'll go ahead and search for the form that we created earlier in the tutorial and you can see here I've selected my form all right now the next thing that you'll need to do is click on new step and you want to search for the get response details action now you can see here get response details Microsoft forms you want to select this and what this is going to allow us to do is to actually access the response details from the form that triggered this workflow now within this action you will need to select the form idid so I will click on this dropdown and I will start to search for my project intake form that we created earlier in the tutorial and then we'll need to pass in a response ID now I'll place my cursor in this field and you'll notice here that the dynamic content pane appears and you can see here that we can pass in the response ID coming from the when a new response is submitted Trigger action so I'll go ahead and select this and you can see here that we were able to to pass that in now if you're finding this tutorial helpful you might also want to check out my how to create a Microsoft planner task when a Microsoft form response is submitted in that tutorial I walk through the same steps to create a power automate workflow where you can pass Microsoft form responses directly into a planner task I've included a link to that video in the description below or you can just bookmark that card in the upper right hand corner of your screen and check it out after you finish watching this video next you want to click on new step and this time we're going to search for the create item action now you can see here the SharePoint create item action I'm going to go ahead and select this and the first thing we'll need to do here is to specify the SharePoint online site that is hosting our list now I'll place my cursor in the site address and I will search for Project Neptune you can see here that's displayed I'll select it and then you need to select the actual list itself and I'll place my cursor in the list field and you can see here that SharePoint list that we created earlier in the tutorial I'll go ahead and select it and you can see here now that the create item workflow action expands now the next thing that we'll need to do is to map our MS form response values to the corresponding columns in our SharePoint list now I will demonstrate this for one column and then I'll go ahead and just fill this out given that the steps are the same now I'll start off with this first field called title now I'll place my cursor in this field and what you can see here is that the dynamic content pane is going to display and we can access all of the different questions from our MS forms and it is going to be listed under the get response details action now I'll go ahead and select this question what is the name of your idea and you can see here that it appears as a data card in this field so we've now mapped one of our MS form responses to the SharePoint list called colum that we want that data to be populated in now you can see here that I've gone ahead and I have mapped all of my Ms form responses to my columns and so that is how we will create our item and then pass in the MS form response values all right now the next thing that we need to do is add an apply to each control now I'll go ahead and click on new step and will search for apply to each I'll go ahead and select this here and next you want to click on add an action and you want to search for the get file content one drive for business action now I'll go ahead and select it here now if you're wondering why we're using the Microsoft One Drive get file content workflow action I do have another tutorial that explains where Microsoft form response attachments are stored I've included a link to that video in the description below or you can just bookmark that card in the upper right hand corner of your screen and check it out after you finish watching this video now before I carry on with the tutorial I'm just going to fast forward and explain something that I'm going to be showing you in a second now what I've done here is I've created another flow that does the same thing and what I've done is I've added an additional multi-line text column to my list you can see here that's called display output of Ms form attachments and I'm going to insert the attachment question from our survey here and then I'm going to go ahead and run this all right now you can see here that I've switched back to my SharePoint list and I've executed that modified workflow I'm just going to bring up the item menu here and you can see here this additional multi-line text field called display output of Ms form attachments I'm going to go ahead and click on C more and I'll edit this now what you can see here is that this attachment question question from our MS form has provided a string value that actually contains properties of the files that were attached to the MS form response now I'm going to call your attention to a few Fields you can see here there's a property called name and you can also see here there's a property called link and you can see here that there are additional properties such as reference ID and each of these is followed by the actual value now what this is is this is a string value that is returned when you try to use the get response details Microsoft form workflow action in power automate and so what I'm going to be using is an expression to take this and convert this into Json and then we're going to be using the item expression so that we can access specific Properties or attributes that will'll need to pipe into our workflow and specifically we're going to need the name of the file so that we can pass that into our SharePoint list now in order to convert this string you want to place your cursor in the select and output from previous steps field and in the dynamic content pane you want to click on the expression tab now what you want to do next is type Json in the expression field and then you want to place an Open Bracket and you can see here that this expression takes a string so what we're going to do next is click back on the Dynamic content Tab and we are going to search for and select our attachment question from our Microsoft form so I'll scroll down here and I will select my attachment question and then you want to go ahead and click okay and you can see here that our expression was added next we need to insert the unique identifier of the file now to do this you want to place your cursor in the file field of the get file content action and then you want to click click on the expression tab again and this time you want to use the item expression so you can see here I've typed item and then I just pressed tab it added an open and close bracket next you want to place a question mark after the closed bracket and you want to place a pair of square brackets with open quotation marks and we are going to use the ID value next you want to go ahead and click okay and you can see here that we've created an expression that will pass in the unique identifier for each file that we need to retrieve and attach to our list now the next thing that we need to do is actually create an action to take the attachments and append them to the item that we're creating earlier in our workflow to do this you want to click add an action and again we want to do this inside the appli to each container and here you want to search for ADD attachment and you want to select the add attachment action and then we need to fill out this action card so the first thing we need to do is select the site address that is our SharePoint site then we need to select the list name now you can see here I've populated those two Fields the next thing that we need to do is retrieve the ID of the item that we want to attach the files to now to do this you want to place your cursor in this field and we want to use the ID value from the create item workflow and then the next thing that we need to do is populate the file name and file content Fields now to get the file name you want to place your cursor in this file name field and again we're going to use an expression so you want to click on the expression Tab and this time we're going to use the item expression so you want to start typing item and then you can just press tab next you want to place a question mark after the item expression and then you want to use a set of Open brackets with single quotation marks and this time we're going to input the value name you want to go ahead and click okay and then you want to place your cursor in the file content field and we can simply go into the dynamic content menu and select this file content value from the get file content action so I'll go ahead and select this and you can see here that we've populated all of the fields on the ad attachment workflow action next I'll go ahead and click save you can see here that the flow is saved and there were no errors and this concludes development of the workflow so next we're going to go ahead and test this out and actually see how it works all right now you can see here that I've brought up my Ms form and I also have my SharePoint list next to it now I've gone ahead and I filled out my Ms form now very quickly before I submit this you can see here I've included two attachments these are simple msword documents I've uploaded these to the form now I'm going to go ahead and click submit and I want you to pay attention to the SharePoint list on the Le hand side of your screen you can see here that our new SharePoint list item was added and all of the columns match the values that were input on the MS form now if I quickly click into this item here and scroll down you can also see that r two attachments were actually added to the SharePoint list item and just for demonstration purposes I'll go ahead and click on one of these and you can see here that the file opens up in this case there was no content now one way that you can enhance this solution is by adding email notifications to your workflow now I do have an in-depth tutorial that walks you through the steps to create those email notifications and in this video I'll even show you how you can pipe in content from your SharePoint list items directly in the body of the email I included a link to that video in the description below or you can just click that card in the upper right hand corner of your screen I'm Lou aabis thanks for stopping by and see you in the next video
Info
Channel: Lui Iacobellis
Views: 15,264
Rating: undefined out of 5
Keywords: use ms forms to populate SharePoint list, create SharePoint list from ms forms, ms form to SharePoint list, ms form to SharePoint list power automate, ms form to SharePoint, ms form to SharePoint list with attachment, ms form to SharePoint list flow, Microsoft form to SharePoint list, Microsoft form to SharePoint list power automate, Microsoft form response to SharePoint list, send Microsoft form response to SharePoint list, save Microsoft form responses to SharePoint list
Id: lHe8FlM4-iM
Channel Id: undefined
Length: 19min 9sec (1149 seconds)
Published: Mon Nov 13 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.