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 / Trying to take attachm...
Power Automate
Unanswered

Trying to take attachment from Forms and inserting into Approvals

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a form that takes an attachment as one of the questions. It is always just 1 excel file (xlsx). Then I need to take the attachment and insert it into an Approval. No changes need to be made to the file in the process. I've tried several things, but I always end up with a message from Excel saying that the file is corrupted. If I specify the MimeType (which I've verified several times is the correct MimeType), then the Approval message doesn't include the attachment.

 

waterguy1_0-1673456429260.png

waterguy1_1-1673456462157.png

waterguy1_2-1673456537948.png

 

 

 

Categories:
I have the same question (0)
  • Ellis Karim Profile Picture
    11,931 Super User 2026 Season 1 on at

    Please see the following:

    How to send Microsoft Forms file uploads to an Approval workflow using Power Automate


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    When trying that solution, I receive an error stating that the file cannot be found.

     

     

    waterguy1_1-1673467188644.png

     

    waterguy1_0-1673467151989.png

     

  • Ellis Karim Profile Picture
    11,931 Super User 2026 Season 1 on at

    Hi  @Anonymous,

     

    In the Apply to each 7 loop, make sure that the you have used the json function. The expression  “wraps” the dynamic content for the Upload your file question inside a json function as shown in the tutorial:

     

    snag_abffcba.png

     

     

    And the Get fie metadata should use the following expression (we aren't using the Parse JSON action so we can select the properties we need): 

     

    items('Apply_to_each_7')?['id'] 

    image-1.png

     
    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I've used both the above and the JSON block as seen in my screenshots. Both options lead to the same error.

     

  • Ellis Karim Profile Picture
    11,931 Super User 2026 Season 1 on at

    Please share the entire flow, starting from the When a new response is submitted trigger.

     

    Ellis

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The rest is as seen in prior replies

     

    waterguy1_0-1673729134894.png

     

  • Ellis Karim Profile Picture
    11,931 Super User 2026 Season 1 on at

    Hi @Anonymous ,

     

    Your flow should be similar to the following:

    Snag_10fb095e.png

    Note the expression in the Apply to each loop. Please try this in place of the values from Parse JSON:

    snag_72787c3 (2).png

    snag_7289e92.png

    See: How to send Microsoft Forms file uploads to an Approval workflow using Power Automate

     

    Ellis

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    That's what I have. As previously stated, this error occurs

     

    waterguy1_0-1674174306199.png

     

  • Ellis Karim Profile Picture
    11,931 Super User 2026 Season 1 on at

    Hi @Anonymous ,

     

    Please show your Apply to Each 7 action and please show the expressions in used (1) and (2) below:

     

    Snag_2d2a591e.png


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as ☑️ Solved.
    If you like my response, please give it a Thumbs Up.
    My Blog Site 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    ouput from previous steps:

    json(outputs('Get_response_details')?['body/r5e6b44f5381945f8b67044280e9ef4a4'])
     
    Get file metadata:
    items('Apply_to_each')?['id'
     
    waterguy1_0-1674249651535.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

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 67

#2
David_MA Profile Picture

David_MA 64 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard