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 / Parse JSON with differ...
Power Automate
Answered

Parse JSON with different file types - Forms to Sharepoint List Attachment

(0) ShareShare
ReportReport
Posted on by 32

I have a flow that takes a MS form response, stores it as an item in a Sharepoint List, and attaches form attachments to the item. There is a question in the form where pictures can be uploaded, and I'd like to allow other document types to be uploaded in that question as well. I use Parse JSON, Get File Content Using Path, and Add Attachment. I have noticed this flow works perfectly fine for Picture attachments, but it fails with word document attachments. The error it gives in this case is "Action 'Get_file_content_using_path' failed, File not found" even though I can see the file name and locate it in Sharepoint.

 

Parse JSON Schema:

 

{
  "type""array",
  "items": {
    "type""object",
    "properties": {
      "name": {
        "type""string"
      },
      "link": {
        "type""string"
      },
      "id": {
        "type""string"
      },
      "type": {},
      "size": {
        "type""integer"
      },
      "referenceId": {
        "type""string"
      },
      "driveId": {
        "type""string"
      },
      "status": {
        "type""integer"
      },
      "uploadSessionUrl": {}
    },
    "required": [
      "name",
      "link",
      "id",
      "type",
      "size",
      "referenceId",
      "driveId",
      "status",
      "uploadSessionUrl"
    ]
  }
}
 
Parse JSON Output:
[
  {
    "name""Leak Assessment.docx",
    "id""01PO6RFJWSUHQZXARVTNHLUP4KGFSOUNVR",
    "type"null,
    "size"278627,
    "referenceId""01PO6RFJWFMXQKYRK54VBK7ZKGPSQEU26Q",
    "driveId""b!_ww-1egalUilI6VRn4WilaHsMZhqDKlCrDDsUKjncvWSq9_IAlX-TbKbmIG9t582",
    "status"1,
    "uploadSessionUrl"null
  }
]
 
pmasse1_0-1714054331076.png

 

Categories:
I have the same question (0)
  • creativeopinion Profile Picture
    10,508 Moderator on at

    @pmasse1 You might find these YT Tutorials helpful:

     

    How to Get Microsoft Form File Uploads Attached to an Email 📧

     

    In this Microsoft Power Automate Tutorial I’m going to cover where file uploads from your Microsoft Forms are saved. I’ll also show you how attach the uploaded files to an email and how to dynamically name the files and customize the recipient of the email based on the selections made in your Microsoft Form. I will also cover how to handle responses that don’t include any file uploads.

     

    IN THIS VIDEO:

    ‌✅‌ Two types of MS Forms

    ‌✅‌ Where Microsoft Personal (OneDrive) Form File Uploads are Saved

    ‌✅‌ Where Microsoft Group Form File Uploads are Saved

    ‌✅‌ How to Add a File Upload Question to an MS Form

    ‌✅‌ How to get a Microsoft Form ID

    ‌✅‌ How to get a Microsoft Form Response

    ‌✅‌ How to Get the Dynamic Content Microsoft Form File Upload Content

    ‌✅‌ How to handle Single and Multiple Microsoft Form File Uploads

    ‌✅‌ How to use a Scope action to Organize and Group Your Flow Actions

    ‌✅‌ How to Get the File Content from an MS Form File Upload

    ‌✅‌ How to Collect All Files Uploaded to a MS Form and Attach to an Email

    ‌✅‌ How to Handle MS Form Response When a File Isn’t Uploaded

    ‌✅‌ How to Create an Email Key

    ‌✅‌ How to Send an Email to a Specific Recipient Based on Form Selection

    ‌✅‌ How to Create a Dynamic Output Based on Form Selection

     

    -----

    How to Add Microsoft Form File Uploads to a SharePoint List Item

     

    In this Microsoft Power Automate Tutorial I’m going to cover how to add file uploads to a SharePoint list item. First, I’ll show you how to get the file name and content from the File Uploads from your Microsoft Form, then I’ll show you how to add those files to a SharePoint item.

     

    IN THIS VIDEO:

    ✅ Two types of MS Forms

    ✅ Where Microsoft Personal (OneDrive) Form File Uploads are Saved

    ✅ Where Microsoft Group Form File Uploads are Saved

    ✅ How to Add a File Upload Question to an MS Form

    ✅ How to get a Microsoft Form ID

    ✅ How to get a Microsoft Form Response

    ✅ How to Get the Dynamic Content Microsoft Form File Upload Content

    ✅ How to handle Single and Multiple Microsoft Form File Uploads

    ✅ How to use a Scope action to Organize and Group Your Flow Actions

    ✅ How to Get the File Content from an MS Form File Upload

    ✅ How to Collect All Files from Multiple File Upload Questions

    ✅ How to Handle MS Form Response When a File Isn’t Uploaded

    ✅ How to Attach an MS Form Single File Upload to a SharePoint List Item

    ✅ How to Attach Multiple MS Form File Uploads to a SharePoint List Item

    ✅ How to Attach MS Form File Uploads to an Email

     

    -----

     

    How to Get a Microsoft Form RSVP Response into a SharePoint List

     

    IN THIS VIDEO:

    ✅ How to get a Microsoft Form Response into SharePoint

    ✅ How to get a Microsoft Form ID

    ✅ How to get a Microsoft Form response

    ✅ How to Build a Microsoft Form with Conditional Fields

    ✅ How to used Branching in Microsoft Forms

    ✅ How to format Microsoft Form multiple choice responses for a SharePoint multi-choice column

    ✅ How to parse a Microsoft Form multiple choice response as string of text

    ✅ How to convert a text response to a number

    ✅ How to use the Switch action

    ✅ How to create a custom email confirmation for a Microsoft Form submission

    ✅ How to Create a Custom View in a SharePoint list

    ✅ How to use the Compose Action

    ✅ How to write Power Automate Expressions

     

    Hope this helps!

    If I helped you solve your problem—please mark my post as a solution ✅.
    Consider giving me a 👍 if you liked my response!

    👉 Level up your Power Automate skills by checking out my tutorials on YouTube
    👉 Tips and Tricks on TikTok and Instagram

     

  • Verified answer
    pmasse1 Profile Picture
    32 on at

    I figured out a solution to this - instead of using link for file path, I specified the file path down the folder level and added /name

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 389

#2
Vish WR Profile Picture

Vish WR 331

#3
David_MA Profile Picture

David_MA 298 Super User 2026 Season 1

Last 30 days Overall leaderboard