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 Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Kudoed Authors
Users online (4,099)