Re: Webhook with the list id

Tijana_Avramov
Level 1

Webhook with the list id

We would like to create static/smart list in Marketo and have all leads which we want to trigger in that list.
But, we don't want to trigger webhook for each lead separately then to trigger webhook for the list id. Is this something which can be done?

Thank you for your help, 

Tijana

3 REPLIES 3
Mark_Price
Level 7

Re: Webhook with the list id

Out of the box, there isn't a way to aggregate the list such that there's 1 webhook call w/several leads passed in vs. 1 webhook per lead. 

What you can do is:

- use the API to fetch the listId

- do whatever processing you want with the external data source or web service

- update the records in Marketo with another API call

In this setup, you're limited to 300 leads per API call / paginating.  Generally this works but if you're dealing with millions upon millions of records the bulk update endpoint may be better suited for your goals. 

SanfordWhiteman
Level 10 - Community Moderator

Re: Webhook with the list id

The other question is why you "don't want to" do it the traditional webhook way? What is the business + technical justification? It's very easy to pass everyone in a list through a webhook. Of course the webhook executes once for each lead, that's what it's designed to do.

Tijana_Avramov
Level 1

Re: Webhook with the list id

Hi Mark and Sanford, 

Thank you both for your answers, it's been very helpful.

Tijana