web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : oX5fpRbbp2qPmpUwGbRLc+
Power Automate - Building Flows
Answered

Forms allowing upload - attach actual file and email to staff

Like (0) ShareShare
ReportReport
Posted on 21 Oct 2020 13:05:57 by 5

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?

Screenshot 2020-10-21 at 12.56.34.png

Screenshot 2020-10-21 at 12.56.03.png

I have the same question (0)
  • Pstork1 Profile Picture
    67,398 Most Valuable Professional on 12 May 2021 at 03:07:58
    Re: Forms allowing upload - attach actual file and email to staff

    Then the process is essentially the same, just use the SharePoint actions instead of the OneDrive actions.

  • eddoria01 Profile Picture
    93 on 11 May 2021 at 23:05:22
    Re: Forms allowing upload - attach actual file and email to staff

    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.

  • Pstork1 Profile Picture
    67,398 Most Valuable Professional on 11 May 2021 at 12:00:18
    Re: Forms allowing upload - attach actual file and email to staff

    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.

  • eddoria01 Profile Picture
    93 on 11 May 2021 at 01:44:26
    Re: Forms allowing upload - attach actual file and email to staff

    Is there a similar flow action to do this from SharePoint?

  • NewPAuser_UK Profile Picture
    5 on 22 Oct 2020 at 06:41:43
    Re: Forms allowing upload - attach actual file and email to staff

    Thanks Pstork1 - worked perfectly

  • Verified answer
    Pstork1 Profile Picture
    67,398 Most Valuable Professional on 21 Oct 2020 at 13:45:06
    Re: Forms allowing upload - attach actual file and email to staff

    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.

    image.png

    image.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading started
Loading complete