Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Local excel file to sql server update automatically

I am trying to build a flow where When the contents of an excel sheet changes a flow is triggered and the contents of the excel file are either updated or created in the sql server.. 

I am using azure "when a file is modified as a trigger".

my question is how can iterate through the ids and identify which ones to update and which ones to add. 

Please help




excel file 

id    desc

1     a

2     b

7     c

6     d (needs to be updated)

5     e (need to be added)


sql server

id    desc

1     a

6     l

8     x

7     c

2     b


after the flow triggers i would like the sql server to be as such

1    a

6    d

8    x

7    c

2    b

5    e



Helpful resources

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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (7,246)