Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

How create an .xlsx file from power automate?

(1) ShareShare
ReportReport
Posted on by 13

I need to create and email an excel as an attachment. The data source is sql server, It must be a .xslx file and not a csv.

 

Is there a way to create an .xlsx from power automate and send it by email?

I don't want the Excel to be stored in OneDrive or SharePoint, I just want it to read the data from the SQL Server and send the Excel.

  • Verified answer
    Michael E. Gernaey Profile Picture
    43,218 Super User 2025 Season 1 on at
    Re: How create an .xlsx file from power automate?

    Hi @Supremelimo 

     

    Let's clarify a bit. You don't want to create a file, you want to create an in memory representation of a file, which is different.

     

    There is no way I am aware of, at least not exactly. You can easily create the Data in an array, and then you could write it to a file, with an extension of XSLX.

    Then read it back off using Get Content

    And then send that as an Attachment.

     

    But just in memory create a workbook, not that i know of.


    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

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 >