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
Dual Super User
Dual 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
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.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (7,475)