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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / O365 Group Form respon...
Power Automate
Answered

O365 Group Form responses with attachments to Sharepoint List items using Flow

(0) ShareShare
ReportReport
Posted on by 4

Hello everyone! I really hope someone can help me out here as I have scratched my head quite a lot with this problem.

Anyways as the subject already described we would like to have a flow which will automate the process of getting Form responses with attachments to Sharepoint List.

I followed this tutorial, but there is slight difference which generates the issue - we have O365 Group Form not user form, which means that Form responses are saved to Sharepoint not OneDrive for Business: https://www.youtube.com/watch?v=Foy8i6jPZrg
Our current configuration looks like this:

image.png

This part is understandable. JSON is parsed also correctly:

image.png

Now we create Sharepoint List Item:

image.png

But now comes the part which gives me headache. Everythings seems to be okey and logical. We want to get with "Get file content" from the parsed ID with JSON of the file in Sharepoint. After that we want that file to be attached to Sharepoint List Item as attachment:

image.png

 

This is the from I submit:

image.png

But it doesnt work unfortunately. Sharepoint List Item is created, but there are no attachments:
image.png


And if we look at the Flow Run it says failed:
image.png

And it says that File Not Found:
image.png



When I put there OneDrive for Business as in the video I get this kind of error, which is understandable as these files aren't located there.

 
Categories:
I have the same question (0)
  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @martlehtmets ,

     

    You can get the file contents according to the File path, and manually enter the File path.

    /Shared Documents/Apps/Microsoft Forms/GroupFormName/QuestionName/@{items('Apply_to_each')['name']}

    Image reference:

    96.PNG 

     

    Best Regards,

  • martlehtmets Profile Picture
    4 on at

    Wow...that's the thing when you struggle with something. IMHO I tried this option also, but probably did something still wrong. IT WORKS NOW!!! Thanks a ton @v-bacao-msft !

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @v-bacao-msft is there a way to show multiple attachments from the Group forms to one single Sharepoint list item? 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-bacao-msft 

     

    I'm still unable to add attachments following the above solution; any guidance on possible causes would be appreciated. 

     

    Dummy file location saved from a group form. 

    dummy file location of the uploaded attachmentdummy file location of the uploaded attachment

    JSON node gets the correct file name, and the link does lead to the right file.

    Parsing as expected - name of dummy file seems correctParsing as expected - name of dummy file seems correct

     

    Get file content follows the same process folder path but I still get the below error 

     

    {
    "status": 400,
    "message": "Route did not match\r\nclientRequestId: 8dbd2d74-8c81-4e7e-9bce-4c681fed0b15\r\nserviceRequestId: 8dbd2d74-8c81-4e7e-9bce-4c681fed0b15"
    }
     

    input to the get file connectorinput to the get file connector

     

    Any ideas welcome. 

    Thanks. 

  • Walthar Profile Picture
    2 on at

    I tried as @v-bacao-msft  wrote, all looks ok but when I check list and attachment, name and extension is there but when I click on attachments file is not readable....XLS or PDF the same problem...

  • Supersan123 Profile Picture
    55 on at

    I managed to do it as shown above but a problem occurred to me, when there is no error attachment so how do I create a condition if there is an attachment do the process if I didn't continue? I tried that way but as I check that the "anexo" field form has an attachment?forum7.JPG

  • jeffhhs Profile Picture
    40 on at

    Have you figured this out?  Flow returns error when there is no attachment BUT still moves all other fields to list.

  • Supersan123 Profile Picture
    55 on at

    yes, i solved it by placing a condition in a form, where i ask if he wants to insert an attachment and if the answer is yes then open the field to insert and put this condition in my flow

  • Mris13 Profile Picture
    2 on at

    The below article tackles multiple attachments and to check if they are present or not.

     

    Working with Files on MS Forms in MS Power Automate (bythedevs.com)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard