cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
bbrazeau
Level: Powered On

Webhook - 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?

 

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.pngCaller - Run History - multiple minutes.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

 

 

2 REPLIES 2
Super User
Super User

Re: Webhook - How to?

Hi @bbrazeau 

 

I wrote a blog about this type of scenario back in 2018. Here's a link to it: https://blog.mattweston365.com/2018/08/re-use-in-microsoft-flow-wise-man-once.html

 

That should give you an idea of how you can use it and answer some of your questions.

 

If you're still struggling after following that, please let me know.





Did my reply help? Please give it a thumbs up.
Did I answer your question? Please mark my post as a solution!
If you liked my response, please consider giving it a thumbs up. THANKS!


Proud to be a Flownaut!





Community Leader: Black Country PowerApps & Flow User Group

Community Support Team
Community Support Team

Re: Webhook - How to?

Hi @bbrazeau 

 

Has your problem been solved by @MattWeston365 's help?
If your problem has been solved, You could go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

Best Regards,
Community Support Team _ Lin Tu

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,056)