Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

A Flow that takes uploaded excel attachment from a form and sends attachments to email

(1) ShareShare
ReportReport
Posted on by 5

Hello, 

 

I have spent several days trying to find a flow compatible with Excel documents when uploaded as attachments to emails. Currently, my flow runs and sends a file as an email attachment, but that file is unreadable. Any ideas on how to make this flow compatible with Excel documents 

 

Screenshot 2024-07-10 at 1.23.23 PM.pngScreenshot 2024-07-10 at 1.23.37 PM.pngScreenshot 2024-07-10 at 1.23.50 PM.pngScreenshot 2024-07-10 at 1.23.56 PM.png

  • Verified answer
    creativeopinion Profile Picture
    10,439 Super User 2025 Season 1 on at
    Re: A Flow that takes uploaded excel attachment from a form and sends attachments to email

    @Jbod Your filename is missing an extension. 

    creativeopinion_0-1720644796042.png

     

    Refer to this section of my tutorial where I cover how to create a dynamic file name.

     

    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

     

  • Michael E. Gernaey Profile Picture
    43,399 Super User 2025 Season 1 on at
    Re: A Flow that takes uploaded excel attachment from a form and sends attachments to email

    Hi @Jbod 

     

    Can you please open the file from where it started and verify its good.

     

    Next, can you please add a Create File (sharepoint, onedrive don't care) and just use the Get File Contents output into its input, then open that.

     

    If thats corrupted, then the file is just corrupted, and we are using cycles for nothing.

     

  • Michael E. Gernaey Profile Picture
    43,399 Super User 2025 Season 1 on at
    Re: A Flow that takes uploaded excel attachment from a form and sends attachments to email

    Hi @Jbod 

     

    On this line

    FLMike_0-1720639300161.png

     

    click the little Mapper Icon at the end

    Enter your name and Content separately

     

    Don't use the JSON, I am surprised you aren't getting an error.


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

     

  • Jbod Profile Picture
    5 on at
    Re: A Flow that takes uploaded excel attachment from a form and sends attachments to email

    I am still getting the same output, which is an unreadable file. The attachment looks like this. 

    Screenshot 2024-07-10 at 1.53.48 PM.png

     

  • creativeopinion Profile Picture
    10,439 Super User 2025 Season 1 on at
    Re: A Flow that takes uploaded excel attachment from a form and sends attachments to email

    @Jbod In the Append to Array variable action, you need to ensure you are inserting the File Content dynamic content from the Get file Content action.

    creativeopinion_1-1720637070905.png

     

     

     

    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

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492