I have a Microsoft Form created and it asked the user various questions and allows them to upload a file at the end.
I have the flow working currently which emails a number of users the responses to the questions which is all working fine.
However, the email only contains a file attachment with what looks like the file location rather than the file itself.
Is it possible to attach the upload rather than just the location?
Then the process is essentially the same, just use the SharePoint actions instead of the OneDrive actions.
Thank you for your response. Our form is part of an O365 group so when the form is filled in and submitted, any files uploaded and then saved automatically as part of the O365 group sharepoint site.
Yes there is a get file content action for SharePoint as well. But the point is that MS Forms automatically saves uploaded files to OneDrive. There is no way to change that behavior and have the Form store the file in SharePoint. But for files uploaded to SharePoint manually or through other processes you can definitely get the file content.
Is there a similar flow action to do this from SharePoint?
Thanks Pstork1 - worked perfectly
Files uploaded to Forms are automatically saved to the Maker's OneDrive for Business. To add them as an attachment you need to retrieve the file contents from there. To do that take the response from the upload question and Parse the JSON. Then use the ID to retrieve the file content from JSON. You can then insert the name and file content as an attachment. (Note: I've used the First() function to pull the first file from the collection, since it always returns a collection) See the screenshot below.
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2