[2024] - How to Record Form Response Attachment in Microsoft Lists - Power Automate

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey nerds Amy here and today we are going to learn how to record a form response attachment into a list using power automate all right let's nerd out in this video we have a recruitment tracker list that records form responses into the list so that we can easily track our interview candidate we are going to learn how to set up a flow to attach a resume from the form into this list item here so it's super cool and I'm so excited to show you if we click on this list item you will see that that is the default attachment area within any list item and mine is renamed as resume or CV I just use a template within Microsoft yours would typically say attachment now I did just want to add that this attachment field is generally hidden but we can show our hide columns and just toggle it on or off depending on your needs here is that form and all of these questions feed into that list that we were just going through I did just want to quickly highlight the file upload section that I have set as you'll see here there are a few customization settings and you can just adjust those to your needs this is all done through the upload file question type within four here is a flow that I have created in another video and this is just the Baseline to pour those form responses into that list if you have not set up this Baseline of your flow then I have linked my video here and I would highly recommend checking it out first now that we have the Baseline for our flow the first thing that we need to do is parse Json to parse Json we first need to run our flow up until this point so here I have my run history and if I select this item then we just need to head on over to the get response details and locate that attachment field so if we scroll on down then we'll see here that we have that resume which is the question where we have that file being attached I'm going to click in here copy it now we are ready to add our next step so if we search parse Json then we can pull up that data operation we click on that and under the content this is where we are going to identify question within the form that has that attachment so I know that I have named that resume it is going to be the one that pulls up under the get response details now we can enter the schema and if you're not familiar with coding don't worry about it we are just going to click generate from sample in this area here I'm going to control V to paste that content that we've just copied and then click done now power automate has done all of that work for us to convert this Json to a script that can be used within our flow the next step is to use use the get file content using path operation now this is going to vary slightly depending on where your form is saved whether you are saving it in SharePoint we would use this one or if yours is in one drive then we would use this OneDrive for business operation I'm going to show you each so that you can set up your flow appropriately and get it going on that first try to help locate the location of your form we can open it up and go to this top section here and you'll see on mine that it says group and then Human Resources so that tells me that it is stored in the human resources site on SharePoint here I am within the human resources site within SharePoint and I'm in the document area we need to Now find those files that are being attached to those form questions if we go under apps and Microsoft forms this is going to be the form so mine is called phone screen interview questions then these are going to be questions and you'll see here that it's questioned and then question one the next one would be question two and so depending on how many file attachments your form has they are going to be uploaded in this order so mine are saved in question one and I can see those PDFs attached here now we can use the get file content using path SharePoint option under site address this is going to be that human resources site now power automate has this Jazzy little file path and it is helpful to an extent let's click on this folder icon here because it's in SharePoint it's going to be shared documents next then back to apps like we just did Microsoft forms and then that form like that and then here you can select the question one because that is going to pull the attachments that we want I am just going to select either of these documents it doesn't matter because I'll show you why in just a moment so now that we have this all ready to go this is the file path but this isn't helpful because it has this file name attached to it and if you try to delete it then power automate is not helping me out right here and it is just adding it back in save yourself the struggles and just Ctrl C to copy that now if you paste this into most other programs it is going to add a bunch of jargon or coding to this file path which we don't want we want a nice clean path so to keep that clean path I have found a little trick we open up a new browser then in the URL you can control V to paste that file path now we can just delete this file name but leave that forward slash at the end that we can control a to select it all and then Ctrl C once again to copy now if we go back into Power automate then we can delete all of this file path and then control V to paste that new file path so here we have a nice and clean file path we know that it's correct you could type all of this out if you wanted to now we need to add that file name this file name is going to pull from this Json that we have parsed in this operation up here we head on over to expression and we are going to use a function called First and we are literally just going to paste it I will include this in the comments below but just paste it here and that is going to pull the file name based on the name from that previous operation so click OK and let's just save that your form didn't have a group then don't worry I've got you let's take a look at what it looks like if your form is saved in one drive here I have my form open and I'm just going to once again click in this area up here so you'll see here I've got the title but there is no group defined so that tells me that this one is in one drive if we open up one drive then we can head on into my files go to apps Microsoft forms this is that form name and then in this example I only have one file so this is going to be my file path back in power automate we can select this get file content using path OneDrive for business option now the file path here you're going to notice that there is no site but this is going to be the exact same steps that we just did in the previous option all right so here we are once again we're just going to click on that folder icon for some reason we need to select root then we go to apps Microsoft forms that form and then you can select that question select an attachment that you have done in a run we're going to copy all of that we're going to paste it into our browser and we are just going to delete that file name keeping that forward slash now I'm going to copy all of this once again now we can delete that paste that new file path and now we can add our expression we are going to use the same first expression that we did and that's just once again going to pull that name from the parse Json operation in the previous step all right so our flow is coming a long so the last step that we need to add here is going to be the add attachment operation and this is going to be this ad attachment SharePoint one regardless of the previous step of SharePoint or OneDrive we click on there now we need to add the site address and this is going to be the site where your list is saved it's also going to be the same site that you identified in the create item option up here so if you watched my previous video then you'll know that mine was saved within one drive is the reason that it's not show showing under the options here on the site address so I'm going to go enter custom value and then I'm going to paste that content that I just copied from that previous step now we can select the list name which in my example is going to be that recruitment tracker and the ID is going to be the create Item ID so it's going to be this one right here file name is once again going to be that Expressions because that is pulling the name from the Json so I'm going to click OK here and then last but not least we need to add the file content which is the actual attachment and you'll see here get file content using path we now have the option for file contents I'm going to click on that and then click save once again if you had OneDrive in this previous step it is going to look identical here so no worries at all alright so now we can test our flow so let's just click on preview within our form and if you are enjoying this video then please hit that like button let me know how this flow works for you in the comments below and remember to subscribe to my channel to get the most recent updates on my videos I'm just going to quickly run through these questions and we are going to add that resume here today I spoke with Rue and then we're just going to toggle through the rest of this form and yes we do and then last mint is thank you for watching this video alright let's click submit and check out our submission in that list all right here we are in the list and I can see that the last item is that like comment and subscribe and there is that attachment here so let's just click on that let's open it up all right so that wraps up this video and I do hope that I've helped you discover your inner nerd today and I also hope that I've shown you how to record a form response attachment into a list using power automate alright thanks Bernardino we'll see you again
Info
Channel: Office Skills with Amy
Views: 1,303
Rating: undefined out of 5
Keywords: technology skills, how-to video, learn computer skills, Microsoft 365, Microsoft Office, Microsoft Teams, Microsoft Excel, Microsoft OneNote, Administrative Skills, 2023, Computer Programs, How-to be efficient at work, How-to save time at work, Office Skills with Amy, Power Automate, Custom Value, Sharepoint, OneDrive for Business, First Expression, Form Attachment, Lists, Microsoft Forms, Parse JSON, Get File Content Using Path, Add Attachment, Office Skills, HR, Onboarding
Id: oMBeCu8m86M
Channel Id: undefined
Length: 11min 4sec (664 seconds)
Published: Tue Sep 26 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.