Re: Marketo webhooks

kamil-balda
Level 1

Marketo webhooks

Hi,

 

I'm struggling with adding two fields then put this value into another field.

I use this article https://blog.teknkl.com/extremely-strange-webhooks-exploring-http-range/ to walk step by step to find the solution. I created a web-hook, import all files from this file rangehook_mathjson_files.zip into marketo.

 

But when I run this web-hook in response I got whole file instead a just piece of it set by "Range" value in request headers. 

Please see this screenshot: https://www.dropbox.com/s/6zzos7j4pu9aeov/Screenshot%202021-07-02%20at%2015.04.19.png?dl=0 , it should look like this: 
Things that I mentioned above starts from here: https://blog.teknkl.com/extremely-strange-webhooks-exploring-http-range/#basicscorearithmeticwelladd... 

 

5 REPLIES 5
Katja_Keesom
Level 10 - Community Advisor

Re: Marketo webhooks

By adding, do you mean mathematically adding or concatenating?

SanfordWhiteman
Level 10 - Community Moderator

Re: Marketo webhooks

(The webhook in the post does math.)
SanfordWhiteman
Level 10 - Community Moderator

Re: Marketo webhooks

I appreciate you trying out the pretty crazy method in my post!

 

But I’d need to see screenshots of the entire setup to know where you’re going wrong. It sounds like the Range: header isn’t being sent correctly.

kamil-balda
Level 1

Re: Marketo webhooks

Hi,

"It sounds like the Range: header isn’t being sent correctly." -> exactly, I feel the same. 

kamilbalda_0-1626281127743.png

In my Postman this is working fine, in example above we adding 24 + 1 = 25, so it's ok.

But in Marketo response in wrong. Below I attach images step by step how I configured it:

 

kamilbalda_1-1626282524320.png

 

kamilbalda_3-1626282581072.png

 

kamilbalda_4-1626282720947.png

 

 

with this settings I get in Marketo: 

kamilbalda_6-1626283307589.png

kamilbalda_5-1626282781092.png

kamilbalda_7-1626283329763.png

 

 

In 99% I'm sure that sth is wrong with {{lead.Behaviour Score}} 

 

But I have no idea what to do or check next : ( 

 

 

 

Jo_Pitts1
Level 10 - Community Advisor

Re: Marketo webhooks

@kamil-balda ,

can you supply the code of your webhook, along with a more accurate synopsis of the use case?

 

Cheers

Jo