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

I am trying to create a flow to send an email weekly with excel doc from sql server and save .

Hey,

 

Currenly i am exporting data from sqlserver as an excel file and attaching it to the email and send it 5 people. After they fill the excel file, they will send me back with an updated excel file. I will upload the updated excel file into database.  

 

I need to automate this !!! 

1) Send a Mail which contains Excel file exported from SQLServer.

2) Once my colleague updates/fills the Excel file it should automatically get updated in the SQLServer with a timestamp on it.

 

Is this possible ? Orelse any moderate changes will work ? 

 

Any help is appreciated!! 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: I am trying to create a flow to send an email weekly with excel doc from sql server and save .

Hi @Shivaji ,

 

I suggest that you could use the easiest way to weekly run a flow to delete rows in a excel table, get rows from the sql table, insert the rows to the excel table, the excel table should be saved in the OneDrive before the flow runs.

 

The you could create another flow to trigger when a file is updated in the OneDrive folder, delete rows in the sql table, list rows in the excel table, insert the rows to sql table.

 

Best regards,

Alice   

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: I am trying to create a flow to send an email weekly with excel doc from sql server and save .

yes you can @Shivaji  for every change in your file you can keep updated your sql

see

 

keepSQL.PNG



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
Highlighted
Community Support
Community Support

Re: I am trying to create a flow to send an email weekly with excel doc from sql server and save .

Hi @Shivaji ,

 

I suggest that you could use the easiest way to weekly run a flow to delete rows in a excel table, get rows from the sql table, insert the rows to the excel table, the excel table should be saved in the OneDrive before the flow runs.

 

The you could create another flow to trigger when a file is updated in the OneDrive folder, delete rows in the sql table, list rows in the excel table, insert the rows to sql table.

 

Best regards,

Alice   

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (9,700)