cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bbrazeau
Advocate IV
Advocate IV

Webhoot - How to?

Trying to understand how to setup webhooks in flow to convert an existing flow that sometimes times out but not always.  Trying to distill it down to a simple example.


"Sender"

  • Flow Button
  • Http - HTTP
    • Method: Post
    • URI: <Receiver's URL>
    • Headers: Content-Type application/json
    • Body: {"message": "Do Stuff"}
  • Parse Json

 

"Receiver"

  • When HTTP Request is Received
  • Delay 10 minutes
  • Response
    • {"message":"Success"}


The real flow does stuff but its basically that.
So is converting this to Webhooks basically replacing the HTTP-HTTP action with HTTP-Webhook and setting the Subscribe URI to "Receivers" URL?  I tried that, but Sender never got the message / stopped running and I had to cancel it.
Also what is the unsubscribe URI?

 

4 REPLIES 4
v-alzhan-msft
Community Support
Community Support

Hi @bbrazeau ,

 

Could you please share a screenshot of the flow when you replace the HTTP-HTTP action with HTTP-Webhook and set the Subscribe URI to "Receivers" URL?

Could you please share the run history of the flow when the sender don't get the message or stop running.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Sure, may be overkill but here are a few images to review.

 

So the basic Flow with the HTTP caller:

Caller - HTTP.png

 

And the Receiver - I only have the delay at 5 seconds as I'm not testing the timeout.

Reciever.png

 

Successful run returning the Success Message after the 5 second delay.

Caller - HTTP - Run.png

 

Everything works as expected.  I then added a second HTTP action to the flow for the webhook call.

Caller - HTTP and Webhook.png

 

Running the flow, it triggers both calls to the receiver which were 5 seconds apart from the delay.

Reciever Run History.png

 

But looking at the Flow's activities, its stopped on the Webhook action

 

Caller - Run not finishing.png

 

And the run history shows its well beyond the 5 second delay so the Webhook isn't reacting to the returned message.Caller - Run History - multiple minutes.png

 

 

Likely I have the webhook setup incorrectly.

 

 

@v-alzhan-msft- is there other info I can provide to make it clearer?

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.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (3,687)