MS Forms & Power Automate - Part 3: Getting file content

  Рет қаралды 14,766

Chad Kealey

Chad Kealey

Күн бұрын

In this video, we'll look at how to get the contents of files that have been submitted through a File Upload question on a Microsoft Form. Since there are many cases where users will be accepting multiple files and wanting to do things with all of them, we'll also show how to put the relevant information into an array, which will make out lives a little easier down the road in many cases.

Пікірлер: 49
@luistapasco2698
@luistapasco2698 6 күн бұрын
Thank you so much! With a few minutes of video I was able to find the solution I had been trying to find all morning.
@Datschischwitzkopf
@Datschischwitzkopf 3 ай бұрын
Chad! Thank you 1000 times your tutorials. My workflow wasn´t working anymore because "Get file conten" just stop working out of the blue. After changing the parameter to "driveid.+ID" it is working properly now again! You rule!
@0xGunter
@0xGunter 2 жыл бұрын
I really just want to thank you for taking the time to create these playlists. So informative and helpful!!
@mattb4172
@mattb4172 3 ай бұрын
Chad - you're an absolute star! Your videos are methodologically sound and very helpful to people (like me) who have only started coming to grips with Power Automate and have no background in IT. Please keep it up!
@cvkealey
@cvkealey 3 ай бұрын
Happy to help!
@ashadiiputu4087
@ashadiiputu4087 Жыл бұрын
compact material and really easy to understand for a newbie at Ms Flow. Thank you so much!!!
@aklamo
@aklamo 2 жыл бұрын
Thanks for this! I was fishing around in the support forum for this kind of solution. Works great :)
@user-bq3gr6mf9i
@user-bq3gr6mf9i 4 ай бұрын
Thank you, this video has helped me a lot, solving a problem that has been troubling me!
@lisashoff7777
@lisashoff7777 2 жыл бұрын
this is so brilliant and so explained so well - thank you!
@catwilliamson7318
@catwilliamson7318 2 жыл бұрын
Thank you so much! I had been struggling with how to get the attachments from the form to a SharePoint list. Now I not only know how, but also why.
@jaydee4292
@jaydee4292 7 ай бұрын
You have saved my life. Thank you mate, subscribed and liked.
@royludwig7665
@royludwig7665 2 жыл бұрын
Thanks. Worked like a charm!
@DataLegions
@DataLegions 2 жыл бұрын
Thank you so much, I was searching about it, but got it here, Thanks
@cloudydayz1001
@cloudydayz1001 11 ай бұрын
You are a saviour, thank you so much!!
@marcocruz5351
@marcocruz5351 2 жыл бұрын
this is so great! subscribed!
@AtasiNarksri
@AtasiNarksri Жыл бұрын
Thanks for your clear explanation. This helps me a lot :)
@cvkealey
@cvkealey Жыл бұрын
Glad it helped!
@Pantholder27
@Pantholder27 Жыл бұрын
The drive id thing saved me my job. All jokes aside thanks!
@stephenbarwick7754
@stephenbarwick7754 2 жыл бұрын
Hi Chad - thanks so much for this video. Have been trying to find a solution on how to get file content from a Group Forms Sharepoint. You made it very clear!
@MrLittleBigMan97
@MrLittleBigMan97 2 жыл бұрын
Great video! I am currently trying to receive an xml attachment from an email and get the xml data from the attachment and use it to create sharepoint list items. Any idea on how to achieve this? Right now when a new email arrives that matches the emails with the xml attachments I create a file in a sharepoint document library and have the file content set to the attachments content. I then use a compose function with xpath() and xml() to try and create string items to set variables to but the compose actions output refuses to be recognized by my set variable action following it. Any ideas?
@cvkealey
@cvkealey 2 жыл бұрын
Full disclosure: I have not done what you're trying to do, so may not be the best person to advise on this. However, I think the missing piece of the puzzle is getting that date from xml into json. XML and JSON are similar, but not interchangeable. JSON can be parsed into a schema that the "Create item" action in SharePoint understands, XML can't (at least, not easily). This video should help you get to where you want to go: kzbin.info/www/bejne/boK2mIusnMt7i6c
@joaoribeiro7150
@joaoribeiro7150 2 жыл бұрын
Thanks for the videos Chad. They are really great, but something is failing and I can't find the error. I rewatched your videos several times, but couldn't find the answer so I am hoping you would be able to help out. The issue I am having is that on the Append to array variable step, the ContentBytes value automatically changes from File Content to Body after I test it and no attachment is sent via email. Any idea what could be the issue? Thank you very much in advance.
@cvkealey
@cvkealey 2 жыл бұрын
I'm not sure I follow what you're saying. It would help to see a screenshot of that action in your flow. If you're on Facebook, you could join this group (facebook.com/groups/Powerautomate) and post a message with a description and a screenshot or two. If you're not on Facebook, I would suggest joining the "official" Power Automate Users community (powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity) and posting a message there. I check in on the Facebook group pretty much daily and the MS community a couple times a week.
@trishmalloy1856
@trishmalloy1856 Жыл бұрын
Thank you!!
@cvkealey
@cvkealey Жыл бұрын
You're welcome!
@parinpmehta
@parinpmehta Жыл бұрын
Hey @Chad, love the videos! thanks so much. However, hoping you can help...I'm running into an error with a Group Form (sharepoint) used to generate an email with the form details + uploaded file(s). The upload question in the form is optional and the flow fails if the user does not upload a file (Parse json fails when attachment content is null). I tried to add a conditional to only parse the file content if attachment is true, but then the initialize variable can't be nested within the 'true' condition. How can i avoid parsing when no file is uploaded? I'm not sure where i can add the conditional given that i have to initialize the variable at the top level. The desired result: send an email regardless if an attachment was uploaded
@cvkealey
@cvkealey Жыл бұрын
Here's how I handle that: kzbin.info/www/bejne/oHO3notmmNJphLc
@parinpmehta
@parinpmehta Жыл бұрын
@@cvkealey oops i should've known you already had a video for that 🙂. Thanks so much!
@MrAirtaz
@MrAirtaz Жыл бұрын
Using the OneDrive connector for Group forms, was this before having SharePoint's Get file content using path?
@cvkealey
@cvkealey Жыл бұрын
Not sure I tried that action....it might work. Between the OneDrive and SharePoint connectors, some actions ask for what should be the same thing, but isn't. For example, the "Identifier" provided in the schema won't work in the "Identifier" field in SharePoint actions.
@mattmcadams8453
@mattmcadams8453 3 ай бұрын
Hello Chad, this series so far is exactly what I was looking for, thank you so much for doing them. I did have a question/comment, I am doing a Group Form. I was not able to use the Get File Content for OneDrive, PowerAutomate changed it to Get Content for SharePoint after I put in the driveID.Name. But that didn't work, got an error saying that I needed a path for the file, so I copied the path to the document folder on the group site. That seems to be working at this point. Was that a change? or am I still going to have problems. Every test I run along with your video still come back as successful so not sure. Thank you again for all your help!!
@cvkealey
@cvkealey 3 ай бұрын
I have not set one of these flows up since the new editor was rolled out, so I have not seen that happen. I'll need to do some testing and probably record a new video. Thank you for the heads up!
@mrmpanah74
@mrmpanah74 Жыл бұрын
Thanks for the video, it's very helpful. I have followed the process and built this however I am getting errors on Parse JSON, can you please share how you build the Parse JSON? thanks
@cvkealey
@cvkealey Жыл бұрын
See this video: kzbin.info/www/bejne/hZKlY6aqmJuHnq8
@thalytaguimaraes9936
@thalytaguimaraes9936 2 жыл бұрын
Not sure if you explained it but what if I have more than one upload question? Do I have to create a JSON flow for each one of the questions? Thanks for the video tho - very very helpful!
@cvkealey
@cvkealey 2 жыл бұрын
If you have multiple files attached to a single question, you just need one "parse json" action and then you can add all of the files from that question to an array. If you have multiple separate file upload questions, you need to repeat that process for each of them. This is why I usually do that in a scope; it's easy to copy/paste the scope and then just changed the configuration of the actions inside it. Also, you need to think about whether you want to handle the files from the other questions separately, or add all the files from all the questions to one array. Either is possible, but it depends what you want/need to do with the files.
@thalytaguimaraes9936
@thalytaguimaraes9936 2 жыл бұрын
@@cvkealey Thanks for the quick reply. I actually have multiple separate file upload questions and need all the files in one single folder. Is that possible?
@cvkealey
@cvkealey 2 жыл бұрын
@@thalytaguimaraes9936 sure, just append them all to the same array variable, then run an apply to each loop on that variable with a "Create file" action inside. That's covered in the Part 4 video (I think....)
@amelielouise7641
@amelielouise7641 5 ай бұрын
Hi Chad, I am trying to complete this flow, but I don't use Onedrive for Business. All the files attached to my Microsoft Form get saved in my Sharepoint. When I use the "Get file content" (Sharepoint) function in my flow, it asks me for different parameters to the ones you are using, and all the functions are different. Do you know how I can complete this flow without any functions that connect to Onedrive?
@cvkealey
@cvkealey 5 ай бұрын
I have not found a way to do it without using the OneDrive connector. Technically, OneDrive for business IS SharePoint, but scoped to s single user. The identifier you need is driveid.id. This is explained in the video starting around the 7:00 minute mark.
@semracurevac-helac3662
@semracurevac-helac3662 Жыл бұрын
These videos are great. I am having problem in situations when no file is submitted. My flow fails. Can you please help me fix it?
@cvkealey
@cvkealey Жыл бұрын
I can show you how I fix it on my flows: kzbin.info/www/bejne/oHO3notmmNJphLc
@jonarhonm6990
@jonarhonm6990 11 ай бұрын
Hey Chad - is possible to do a video on populating a Word document with images uploaded via MS Forms?
@cvkealey
@cvkealey 11 ай бұрын
You mean fill in a word template, or just create a new word document? The template method requires a premium license (which I don't have), but there are ways to create "regular" word documents. Inserting the images may be a little complicated. I'm pretty sure it can be done by converting the image content to base64 encoding, but will need to do some testing.
@nutela2002
@nutela2002 2 ай бұрын
You have saved my life ! Litteraly ! But im trying to find the info on changing the name of the file before sending it in email. Where should i add this ? Thanks LOTS
@cvkealey
@cvkealey 2 ай бұрын
You can rename it when building the array of files. See kzbin.info/www/bejne/hoPahqFmlr-sqa8
MS Forms & Power Automate - Part 4: What to do with the files
21:06
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 79 МЛН
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 34 МЛН
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 8 МЛН
MS Forms & Power Automate - Part 1: Personal v. Group forms
13:49
Chad Kealey
Рет қаралды 4,3 М.
Microsoft Forms, EXTERNAL File Request via Power Automate
16:20
DamoBird365
Рет қаралды 3,8 М.
MS Forms File Upload to SharePoint
14:15
Chad Kealey
Рет қаралды 19 М.
Approve a Document in Microsoft Forms
12:26
MyExcelOnline.com
Рет қаралды 30 М.
Power Automate Microsoft Forms Connector tutorial with Attachments
25:00
Запрещенный Гаджет для Авто с aliexpress 2
0:50
Тимур Сидельников
Рет қаралды 920 М.
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
Kumanda İle Bilgisayarı Yönetmek #shorts
0:29
Osman Kabadayı
Рет қаралды 2,2 МЛН