cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pa365user
Helper I
Helper I

How can I add a file attached to a Microsoft Form to a SharePoint list?

I have a Microsoft Form that has the option to attach a file.  How can I add that file to a SharePoint list?  I also need the form to complete successfully if no file is submitted with the Form as well.

 

2020-02-04_16-54-38.jpg

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @pa365user ,

 

Please refer to screenshot below to create the flow:

1.png

 

 

Best regards,
Alice       
 
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

t-tatoku
Community Support
Community Support

Hello @pa365user ,

I have also created a similar flow, and got an error when there was no attachment.

If you add the condition after "create item" action as follows, it worked for me. 

condition.png   empty.png

The red square part "empty(..)" was created as right image.

I hope it helps!

 

 

 

 

View solution in original post

7 REPLIES 7
abm
Super User
Super User

Hi @pa365user 

 

Please see this blog https://www.bythedevs.com/post/working-with-files-on-ms-forms-group-form-in-ms-power-automate

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Thanks @abm for the quick reply.  I've worked through the referenced document, but the doc instruct you to add the attachment to email.  I can't figure out how to add the attachment to a SharePoint list.

v-alzhan-msft
Community Support
Community Support

Hi @pa365user ,

 

Please refer to screenshot below to create the flow:

1.png

 

 

Best regards,
Alice       
 
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

@v-alzhan-msft That seemed to work, thank you!

 

How can I prevent the Flow from erroring out if there is no file attached?

 

2020-02-05_9-01-22.jpg

 

 
t-tatoku
Community Support
Community Support

Hello @pa365user ,

I have also created a similar flow, and got an error when there was no attachment.

If you add the condition after "create item" action as follows, it worked for me. 

condition.png   empty.png

The red square part "empty(..)" was created as right image.

I hope it helps!

 

 

 

 

@t-tatoku This worked beautifully, Thank you so much 🙂

Are you able to share the scrip in Parse JSON Section?

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,114)