cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
roger40
New Member

Question about how Power Automate flow gets triggered

Hello, I'm documenting the architecture of my application built using power platform and I have the following question:

In the diagrams that I saw, not sure if they are correct, power automate use dataverse API, but if this is true how it is possible that a flow is triggered when a record is created in dataverse? Because if power automate use dataverse API I think it means that power automate sends REST requests to dataverse and this would mean requests are sent like every second to check if something was created.

 

In my opinion it would be more correct that Dataverse uses Power Automate API to send a request saying that a new record was created so the flow can be triggered.

 

What do you think of this?

 

Here is an example of the logic view of view model 4+1 and of level 2 of C4 model of the first case ( power automate uses Dataverse API): https://ibb.co/VY5fK1z

1 REPLY 1
ChrisPiasecki
Super User
Super User

Hi @roger40,

 

The underlying trigger depends on the connector that is used. In the case of the Dataverse connector, it uses webhooks under the hood. Other connectors may use continuous polling to check for changes. 

 

Power Automate under the hood does store flow runs in the Process Sessions table in Dataverse, so it does interact with the Dataverse API when a flow runs.

 

More information on webhook and polling triggers at the references below.

 

https://docs.microsoft.com/en-us/connectors/custom-connectors/create-webhook-trigger 

https://docs.microsoft.com/en-us/connectors/custom-connectors/create-polling-trigger 

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,947)