AnsweredAssumed Answered

Calling Webhooks in Marketo

Question asked by 28845a7a67506c12f99d0f2e7fdb17c484e5c0fc on Jun 26, 2015
Latest reply on Jun 26, 2015 by Josh Hill

Hello:

I am trying to use a webhook to call a REST API.

I am having a hard time getting my webhook to work.

 

I have to pass in a combination of parameters that came from the form and some parameters that I have to pass in that are not in marketo.

 

Possibly making a mistake in 3 places :

1. Payload template : Is there an example of a payload that I can look at so that I can format it correctly?

Tried this and am not sure it works

 

{ "PRODUCT": {{myproduct}} ,

"COUNTRY": {{lead.Company Name}},

"COMPANY_NAME": {{lead.Country Name}},

"EMAIL": {{lead.Email Address}}

}

 

2. Request Token Encoding :

I dont know what this should be

When I use a REST Client I set it to

application/x-/www.-form-urlencoded

 

3 Getting the response in XML

I am trying to map it to marketo fields I created : which I think will work

 

Any help on 1 & 2 will be appreciated.

thanks!
Anand

Outcomes