Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Corrupting Excel Attachment

(0) ShareShare
ReportReport
Posted on by 2

I built this flow.  The creation of file works well.  My problem is the email sends a corrupted attachment.  

 

Am I supposed to use another get file after the file creation?  Any other ideas?  

 

Thanks 

mcasey_0-1703905496457.png

 

  • creativeopinion Profile Picture
    10,385 Super User 2025 Season 1 on at
    Re: Corrupting Excel Attachment

    @mcasey I think you need to run a Get File content and a Create File action again since you are running a script after you've created the file initially.

     

    creativeopinion_2-1704294619364.png

     

    You'll also want to ensure you are including an extension in the File Name field.

    creativeopinion_3-1704294684620.png

     

    For additional troubleshooting, check the created Excel file after it's initially created and after you've run the script to ensure there isn't any issues when creating the file from Power Automate. If you are still running into issues—try switching to the Classic Designer.. the New Designer still has a few bugs.

     

    For more flow troubleshooting tips—check out This YT Tutorial: 5 Power Automate Troubleshooting FAQs and Helpful Tips for Creating Better Flows

    In this tutorial I cover:

     How to troubleshoot a false Condition action result

     How to get dynamic content when it isn’t selectable from the list of dynamic content

     How to troubleshoot an Apply to Each action that isn’t looping through

     How to troubleshoot a skipped Apply to Each action

     How to troubleshoot a Filter Query

     How to use a SharePoint yes/no column in a Filter Query

     How to use Compose actions to troubleshoot a Power Automate flow

    How to troubleshoot multiple emails being sent

     How to troubleshoot multiple Teams messages being sent

     

    Tip: Rename your actions to keep your flow organized! This way you can easily tell which dynamic content belongs to which action when you are using it in your flow.

    creativeopinion_0-1704294534163.png

    creativeopinion_1-1704294556824.png

     

    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!

    👉 Watch my tutorials on YouTube
    👉 Tips and Tricks on TikTok

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

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,596 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow