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
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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (2,548)