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 / Flow to run a query ag...
Power Automate
Unanswered

Flow to run a query against a dataset and send query as a Email attachment

(0) ShareShare
ReportReport
Posted on by

Screenshot 2023-02-16 140635.pngI'd like to create a flow which is recurring daily, runs a query against a data set, composes that dataset into Excel, then sends an Email notification with the excel attached. 

I've created the flow attached the recurring, query and email all seem to work but the attached CSV isn't correct and I don't seem to be able to change the CSV step to an Excel step. 

Any help would be great, if that made sense. 

Categories:
I have the same question (0)
  • grantjenkins Profile Picture
    11,063 Moderator on at

    A few questions:

    • Is CSV acceptable or do you need/want Excel?
    • Are you currently getting any errors and if so what is the error?
    • How many rows of data do you expect to have?
    • can you expand your Email action to see what you put for the attachment?

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard