cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mmkrapez
Frequent Visitor

MS FLOW Help (SQL Query -> Insert rows on excel/Create CSV-> send that as excel attachment in email)

Hi,

I am having trouble but very close to making it work!

Let me know if you have any ideas. Ive tried doing insert row for excel but doesnt show up in dynamic text in email attachment so I think the way to go is create CSV table. The error I get is Bad Request on 'Send an email'

Capture.PNG

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @mmkrapez,

 

 

You could create the flow as below:

Capture.PNG

 

 

 

 

Please let me know if your problem could be solved.

 

Best regards,

Alice

View solution in original post

4 REPLIES 4
mmkrapez
Frequent Visitor

I've got it to send a file. 

But it's of type FILE...I need it to go into an excel file organized?with headers and data under.

v-yuazh-msft
Community Support
Community Support

Hi @mmkrapez,

 

Could you please share a full screenshot of your flow which could send a file?

Could you please explain more details about the go into an excel file organized with headers and data under that you mentioned?

 

If you would like to send an email with an excel file as the attachment,

You could create the excel file in your onedrive for business to trigger the flow, and then the flow would send an email with the excel as attachment.

You could create the flow as below:

Capture.PNG

 

 

You could also create an CSV table,and then send the email with attachment, you could create the flow as below:

Capture.PNG

 

Please share more details about your problem so we could provide a proper workaround for you or let me know if your problem could be solved.

 

Best regards,

Alice

@v-yuazh-msft

 

I don't want to get excel rows, I want to insert excel rows because the process should go like this: I am getting the rows from SQL and inserting them into a blank excel document table, then I want to email that excel document. 

 

I created the headings already so that shouldnt be a problem.

 

Hi @mmkrapez,

 

 

You could create the flow as below:

Capture.PNG

 

 

 

 

Please let me know if your problem could be solved.

 

Best regards,

Alice

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,977)