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

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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (2,327)