Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Monitoring the sql server and send email only once for a designated row value in a table



I need to mornitor a sql server table "ReqOrder" with flow, when the field "Order_Status" has the value of  "New", an email will be sent to the order admin. I would like a single email to to sent out regardless of how many rows having the Order_Status of "New"in the sql server table.  Right now the flow I created will send out the number of emails which equals the number of rows having the Order_Status being "New".  This is a scope issue which I don't know where to make changes.



Community Support Team
Community Support Team

Re: Monitoring the sql server and send email only once for a designated row value in a table

Hi mzhang,


I have a flow which is monitoring a SharePoint list, while I guess that it might be a reference for you. You could consider to use the action “Create HTML table” in your flow to send you an email which contain a full list of all of the items from the previous step.


More details about action “Create HTML table”, please check this doc for a reference:


My flow is configured likes below, you may consider to use the action “SQL – Get rows”, then use Filter Query to filter the field which has the value of “New”.

Please try to modify the flow according to your needs, hope it can be a reference for you.



Please feel free reply if you need more help.


Best regards,
Mabel Mao

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

Helpful resources


Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.


Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,119)