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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,584)