Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Flow is only adding PDF attachments - need to be able to attach excel and or word.

(0) ShareShare
ReportReport
Posted on by 2

I created a flow in which employees upload documents for review by using microsoft forms. 

The documents are added as attachments in a microsoft list item. On the form I set the parameters as a total of 9 documents can be uploaded at a time and document types that can be uploaded are: 

PDF 

Word 

Excel 

 

when I created my flow PDFS seem to attach fine, however any other document type does not open. 

I am assuming I am needing to fix my JaSON scheme? 

Any suggestions ? 

  • Rodrigo Hentz Profile Picture
    on at
    Re: Flow is only adding PDF attachments - need to be able to attach excel and or word.

    Hi @at831408 how are you?

     

    @at831408 I understood that you are having issues on save attachments in a SharePoint list item from documents sent using Forms . Is that?

     

    I did a simple using a JSON parser, One Drive Business and SharePoint.

     

    Take a look on it.

     

    2020-08-24-001.jpg

     

    The schema that I added was:

     

    {
        "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"
            ]
        }
    }
     
    Please let me know if this helped on your issue.
     
    Regards
     
    Rodrigo Hentz
    Microsoft Support Engineer

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow