Тёмный

The Ultimate Power Automate Flow to work with Microsoft Forms Attachments and File Uploads 

Paul Murana
Подписаться 6 тыс.
Просмотров 1,1 тыс.
50% 1

In this video, we revisit the topic of handling attachments in Microsoft Forms, presenting an advanced and more efficient solution using Power Automate. The video addresses a specific challenge posed by a viewer dealing with a form containing 27 file upload fields.
The solution showcased bypasses the complexities of managing numerous attachments by dynamically selecting and processing all attachments into a single array. This approach simplifies the handling of stringified JSON data and is adaptable regardless of the number of upload fields in the form.
The video walks through each stage of the process, including preparing the JSON output, converting it to XML, and then using XPath queries to identify and extract only the attachment data. It then demonstrates how to compile all attachment data into a single JSON array, which can be easily used for various purposes like uploading to a SharePoint list or document library, attaching to emails, and more.
If you found this video useful please consider buying me a coffee:
www.buymeacoffee.com/paulie

Хобби

Опубликовано:

 

14 дек 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@robofski
@robofski 6 месяцев назад
Next level stuff!! And I love that your videos are ‘warts and all’ You don’t try to make yourself look perfect, you miss a comma, flow fails and you fix it, and we all learn something!!!
@PaulieM
@PaulieM 6 месяцев назад
Yep! I could have edited the mistakes out but they didn’t take up too much time so thought best to leave them in! Glad you liked the video, it’s a neat solution in my opinion!
@elliskarim
@elliskarim 6 месяцев назад
Thanks for sharing this tutorial. I had previously solved this problem by using an array to store all of the file upload questions, and then iterating through each question in the array to get file contents. I really like your approach as it dynamically selects the file upload fields directly from the forms response. Like you, I haven't quite warmed up to the new editor yet. Here's a handy tip: You can use negative numbers in the slice function to trim the string at both ends: slice('0123456789', 1, -1) should return 12345678 .
@PaulieM
@PaulieM 6 месяцев назад
That is a tasty tip! Thank you!
@PaulieM
@PaulieM 6 месяцев назад
For anyone that follows the video, the simplified expression you would use in the select action would be: *slice(item(), 1, -1)*
@enowack
@enowack 3 месяца назад
This is perfect. The one thing I need to do is use a Team SP Library instead of my personal business one drive. How would we do that?
@tisjulesitis
@tisjulesitis 2 месяца назад
I have the same challenge. Let me know if you find out anything
@nguyenmanhtuan1772
@nguyenmanhtuan1772 6 месяцев назад
Thank you very much for another great video 🥰
@PaulieM
@PaulieM 6 месяцев назад
You are so welcome!
@rajaamohammed6965
@rajaamohammed6965 6 месяцев назад
Great content and excellent video!
@PaulieM
@PaulieM 6 месяцев назад
Glad it was helpful to you.
@rogehrify
@rogehrify 19 дней назад
Is it possible to apply this method when submitting files to planner?
@laurazygo9642
@laurazygo9642 3 месяца назад
I am a complete novice when it comes to Power Automate but I have followed your guide and it has helped me enormously. I have the flow working but when I try to send an email it is failing because of the types of attachments I am trying to add. In addition to following your steps I have also converted the Microsoft form into HTML and then PDF so when it comes to the email attachments I am trying to add your instructions (as an array) and then the PDF details not as an array and it doesn't like it. I have screen shots if that would be helpful.
@PaulieM
@PaulieM 3 месяца назад
You could combine the PDF into your first array using the “Append to array” action.
@alexsbuck5531
@alexsbuck5531 4 месяца назад
Awesome, thanks for sharing! One question though: - what alternative can be used to upload attachments? I want to share the Form with external partners hence not possible for them to upload attachments ?
@PaulieM
@PaulieM 4 месяца назад
Check out this video.. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-c4aLEJaORYo.htmlsi=woqKX0Ei1oJdK12y
@stanlygomes1236
@stanlygomes1236 25 дней назад
Hey Paul! This video helped me push past a barrier I was having with PowerAutomate for a similar flow case as presented here. I’m having an issue with sending the attachments to a Jira ticket. I’m able to upload the attachments with this (as long as I use a covertBase64toBinary for “content” field), but when I try to open the attachment on Jira it is corrupted. Would you be able to help me with this?
@PaulieM
@PaulieM 24 дня назад
I would have thought you should send the attachments to Jira in Base64 format. Are they part of a JSON payload?
@stanlygomes1236
@stanlygomes1236 21 день назад
@@PaulieM yes they are part of the JSON payload for an HTTP POST request. When I tried using the Base64 content, the HTTP response would be that it didn’t add any attachments.
@stanlygomes1236
@stanlygomes1236 20 дней назад
@PaulieM sorry for the confusion, it worked when I switched back to Base64!
Далее
⚡️Uylanishim kerak, sovchilikka borasizmi?...😅
00:50
Все кругом Миланы... 🤣
00:12
Просмотров 264 тыс.
100❤️
00:19
Просмотров 2,4 млн
Don't throw exceptions in C#. Do this instead
18:13
Просмотров 252 тыс.
Community Support - Convert JSON to a CSV file
5:43
MongoDB in 100 Seconds
2:27
Просмотров 1 млн
СЕКРЕТ AMG ВЫХЛОПА РАСКРЫТ #shorts
0:58
Cat Tommy lost his love…💔 #cat #cats
0:27
Просмотров 114 млн
СЕКРЕТ AMG ВЫХЛОПА РАСКРЫТ #shorts
0:58
Будни в пекарне. Часть 1
0:59
Просмотров 4,1 млн