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
Community Champion
Community Champion

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.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (1,165)