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

Update Common Data Model when SQL Database gets updated



I have an app that is using Common Data Model entities as storage. And I'd like to trigger a Flow that whenever a SQL Server table or row gets updated, it updates a corresponding row in the Common Data Model. I want to have both persistence methods in sync. However, Flow doesn't seem to have a Trigger for SQL Server. Is there any workaround for this? 



Community Support
Community Support

Hi @gpiffaretti,


I have moved your posts from PowerApps forum to microsoft Flow forum.

For the questions, yes, currently there is no SQL server trigger provided under Microsoft Flow, and if you would like to add this, please consider to submit an idea in the Flow idea forum:

For the workaround, there is database mail feature available under SQL server, please consider to setup the database mail with the corresponding action, then use the "When a New Mail arrives" trigger (with some condition filter) under Microsoft Flow to trigger the update for CDS.

Adding some reference:

Database Mail

Hope this information is helpful.



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

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 (1,584)