cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rajpradip
Regular Visitor

How to make a connection between Dynamics MS flow and External Application through API

Hello,

 

I have a dynamics instance and I am using flow to connect dynamics with external application.

 

Requirements: 

 

Using External Application's API, I need to create Opportunity, Account/Contact records in dynamics when record status = won in external application. I have API URL and API key.

 

How to trigger a flow when record status = won in external application.  How to design a flow for this trigger.

 

Currently I am triggering a flow manually. See below screenshot:

 

rajpradip_0-1623991327386.png

 

Could you please help me on this?

 

Thanks

Pradip

 

5 REPLIES 5
abm
Super User III
Super User III

Hi @rajpradip 

 

Do you have a direct access to the external database connector? If its SQL, Dataverse or SharePoint then you could use the Power Automate default triggers when a record is created? If you access  via API then you need to access the data filter by status is won. That means the API need to support this as a filter. If not you need to retrieve all the data and check the status if its won or not. 

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials
rajpradip
Regular Visitor

Hi abm,

 

Thank you for sharing your ideas. 

 

We have API and key so able to filter data in HTTP. But how to setup the trigger in flow so flow automatically triggered when record status updated in external app.?

 

Thanks

Pradip

abm
Super User III
Super User III

Hi @rajpradip 

 

See this webhook post

 

Using HTTP Response trigger and Webhook to connect... - Power Platform Community (microsoft.com)

 

If not you need to schedule a trigger to run daily filter by date or something.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials
rajpradip
Regular Visitor

Hi @abm,

 

Thank you for your response. Webhook option is good but I don't think this option available on their end. 

 

Now I think we have only one option is o schedule a trigger to run daily filter by conditions.

 

Thanks

Pradip

abm
Super User III
Super User III

Hi @rajpradip 

 

Yes thats the only option I can think of.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,977)