web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow with SQL only wor...
Power Automate
Unanswered

Flow with SQL only works on test

(0) ShareShare
ReportReport
Posted on by 20

Hi, 

 

I connected my SQL server to flow and it seems to be correct. 

My flow is very simple. I just want to send an email when an item is created. I have a second flow that sends an email when an item is modified. 

For when an item is created:

The problem is that nothing happens with the flow when I perform trigger action and tests don´t do anything. Only when I select the test using SQL data it runs the flow but sends an email with the first entry of the data base. 

What could be happening?flow test.PNG

 

Thanks!

 

Categories:
  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @closcher ,

     

    If the connection is created for the first time, the triggering of the flow may not be particularly timely. This also involves the operating status of the gateway and the impact of the network environment.

    You can try to update the connection. When testing, make sure you add a new record to the specified table and then observe if there are new records in the Flow run history.

    Please wait for some time or refresh the Flow details page and see the results.

     

    Best Regards,

  • closcher Profile Picture
    20 on at

    Thanks for your response @v-bacao-msft . 

     

    When an item is created flow: Test works using SQL server data but again it brings me the first record of the table. I assume the connection is working correctly. 

    I´m adding records into my application (not directly into SQL) and still nothing happens with the flow. 

    SQL test.PNGItem created.PNG

    When an item is modified: nothing happens when I modify items in my application. 

     

    Thanks. 

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @closcher ,

     

    Please try to add record in SQL table directly and check if Flow can be triggered normally.

     

    Best Regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 432

#2
11manish Profile Picture

11manish 313 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 154

Last 30 days Overall leaderboard