AnsweredAssumed Answered

Can a webhook be created that pulls data from another Marketo record?

Question asked by Elliott Lowe Expert on Aug 30, 2014
Latest reply on Aug 31, 2014 by 53504
We are creating new lead records that are referred from other leads in Marketo/SFDC.  We capture the referrer's SFDC ID in a field on the new lead record from the query parameter in the link the referrer has to our website.  We want to send an email to the new lead that includes the referrer's name and email address.  Is it possible to create a webhook thta would use the Marketo SOAP API to update fields in the referred lead's record with the values from the referrer's lead record and  if so, what should be in the various sections of the webhook? 

Below is the configuration of the webhook I created to do this, but it failed with the error string 'connect() timed out!'.  Any ideas where i am going wrong?

Request Type:
https://[our org ID]
<?xml version="1.0" encoding="UTF-8"?>
                                   <SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:ns1="">
                                   <mktowsUserId>[our User ID]</mktowsUserId>
                                   <requestSignature>[our Encryption Key]</requestSignature> <requestTimestamp>{{system.dateTime:default=}}</requestTimestamp>
                                   <keyValue>{{lead.eReferrer:default=edit me}}</keyValue> </leadKey>
                                   </SOAP-ENV:Body> </SOAP-ENV:Envelope>

Request Token Encoding:  URL

Response Type: XML