cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Connecting to an API: register, create make, and receive webhooks

I am working on a flow that will be triggered when ever there are changes to a custom API I made. The parts I have been able to understand about using microsoft flow and Webhooks are:

 

1) I know i have to have a url for FLOW to request the creation of a webhook wherever it is your trying to request the information from (based of of multiple videos and documentation examples, including Microsoft tutorial on triggers, where GitHub was used).

What do I need to do in my API to create the ability for webhooks to be used, created/deleted, or even be registered in my own API?

 

 

2) when the API is found how do I format the JSON body or schema the best way? (whether the format for sending the information back to the place requesting it, this case FLOW, or receiving it, in this case the request from FLOW to HTTP POST)

 

I may not undestand everything. Im not sure if i understand webhooks fully. Its been a battle of about 8 hours of searching to udnerstand them even a little. 

                A) are webhooks objects or actions?

                B) If so are webhooks objects on both ends of the request or a single object sent between two locations (server, client etc)

 

Im am very open to anything along these lines, or redefining what I think about webhooks, triggers, API calls etc.

2 REPLIES 2
v-yamao-msft
Community Support
Community Support

Hi @Anonymous,

 

It seems that you are trying to use Custom trigger in your flow, please take this doc on Use a webhook as a trigger for Azure Logic Apps and Microsoft Flow for a reference:

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

 

Please check the following doc on Custom connectors for more details:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/register-custom-api 

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Initially problem was understanding custom connectors, but the real struggle is building the webhooks. It took about 2 days to find the documentation under ASP.NET for how to make a webhookMeaning to write the code for them. 

 

Thank you for your reply. I was able to firgure it out a little bit now. After some research on what webhooks were etc. A thought about it include links to ASP.NET Webhooks under triggers or something? 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,380)