AnsweredAssumed Answered

Calling a Webhook

Question asked by 57597 on May 21, 2014
Latest reply on May 27, 2014 by Jep Castelein
Hi, 

We are currently testing a Webhook process to grab info from an external system and pass into an email/smart campaign for delivery.  in this case we are looking at -  is to call a fullpath to an image i.e. 

The JSON is called and is valid as you can see below (links obfuscated for obvious reasons).  The webhook then calls data.image and links to a Marketo field (called jsonresponse - i.e.  ({{lead.jsonresponse:default=Webhook call failed}}

     {
         "success": true,
         "data": {
             "id": "12345",
             "title": "Black & White",
             "link": "http://www.thesite.com/url",
             "text": "lorem ipsum dolor amit",
             "image": "http://www.thesite.com/image.jpg"
         }
     }

     I have set this up in a smart campaign (call webhook, wait 2 mins, then send email) and set the email to go but everytime it sends it only gives me Webhook Failed.   Marketo under Activity Log gives me a response code of 1000 which I am unsure of success/failure etc and without any fiurther debugging capabilities I am at a loss on why it could be failing.

     Any help/thoughts greatly appreciated.

     Thanks

     N

Outcomes