cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Shivaji
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
v-alzhan-msft
Community Support
Community Support

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
ChristianAbata
Super User
Super User

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
v-alzhan-msft
Community Support
Community Support

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,482)