SOLVED

Webhooks Exception handling

Go to solution
Anonymous
Not applicable

Webhooks Exception handling

Hi,
I have a question regarding webhooks exception handling.
I have created a webhook which is called when a form is submitted. This webhooks send the lead data to a webservice( which is very critical to our business). 

My question is if the webservice is down, how the webhook will handle it.  Would webhook take any action or sends the lead info later when the webservice  is up again?
Would webhook sends  any notification to administrator? 

Thanks


Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Kenny_Elkington
Marketo Employee

Re: Webhooks Exception handling

Hey Sandeep,

Raj's solution requires one additional step.  "Call Webhook" is not allowed in Batch campaigns, so you would need an additional campaign set up with a "Campaign is Requested - Marketo Flow Action" and then the "Call Webhook"  step in the flow.  Your Batch campaign would then need a "Request Campaign" flow step targeting this campaign.  This will allow you to call the webhook through Raj's proposed batch campaign.

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Re: Webhooks Exception handling

Seems like the best way to handle this would be with exception reporting. You could set it up to be daily or based on each exception...
Anonymous
Not applicable

Re: Webhooks Exception handling

Thanks Mark.
Can you please share the steps to setup exception reporting.

Thanks
Anonymous
Not applicable

Re: Webhooks Exception handling

...You would need to blueprint what did/didn't happen in the the other systems based on the exception. If these other systems are intergrated with Marketo you will be able to trigger off of the lack of workflow after the next updaye sync. Fclow steps could be send alert, add to list or add to campaign...
Anonymous
Not applicable

Re: Webhooks Exception handling

Sandeep
Just set up a batch campaign that runs through all the failed webhook calls in the last 7 (or x number of days) and calls the webhook again.  Here's an example filter -

0EM50000000RH2g.jpg
Kenny_Elkington
Marketo Employee

Re: Webhooks Exception handling

Hey Sandeep,

Raj's solution requires one additional step.  "Call Webhook" is not allowed in Batch campaigns, so you would need an additional campaign set up with a "Campaign is Requested - Marketo Flow Action" and then the "Call Webhook"  step in the flow.  Your Batch campaign would then need a "Request Campaign" flow step targeting this campaign.  This will allow you to call the webhook through Raj's proposed batch campaign.
Anonymous
Not applicable

Re: Webhooks Exception handling

Thanks Raj & Kenny