Hello,
We're working with a third-party vendor to utilize Marketo to send notification emails based off events triggered within the third-party.
According to them, they utilize webhooks (as opposed to Rest API) and will push out a payload based on specific events occurring.
Now if I am understanding Marketo's Webhook functionality, Marketo typically takes an event "call" and wants to go fetch that data. If the third-party platform already pushes out that data - what is the best way to make this work?
Assuming maybe something like having the third-party do the event push to some location and then have the Marketo webhook fetch the data? Like a middleman situation?
Apologies if this is super basic - we typically use Rest API so this is the first potential webhook request.
Solved! Go to Solution.
Assuming maybe something like having the third-party do the event push to some location and then have the Marketo webhook fetch the data? Like a middleman situation?
That’s right. You can’t just throw a stateless HTTP request (that’s what a webhook is) directly to Marketo.
You need an intermediate service that handles the access token and turns the data into a valid REST payload — possibly a single Push Lead or a series of API calls, depending on what you need to happen in Marketo.
Such a service is quite easy to write, could be an Amazon Lambda/other cloud function/single PHP file/whatever. But you need something.
Assuming maybe something like having the third-party do the event push to some location and then have the Marketo webhook fetch the data? Like a middleman situation?
That’s right. You can’t just throw a stateless HTTP request (that’s what a webhook is) directly to Marketo.
You need an intermediate service that handles the access token and turns the data into a valid REST payload — possibly a single Push Lead or a series of API calls, depending on what you need to happen in Marketo.
Such a service is quite easy to write, could be an Amazon Lambda/other cloud function/single PHP file/whatever. But you need something.
Apologies for being slow on the reply. Good to know I was in the right thought process. Ended up going with the vendor's notification process instead of building out an middle-ground for the data to push/pull into.
Thank you for the clarification!