web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How create an .xlsx fi...
Power Automate
Unanswered

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.

Categories:
I have the same question (0)
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,335 Super User 2025 Season 2 on at

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard