Webhook with the list id | Community
Skip to main content
Tijana_Avramov
Level 1
January 16, 2020
Question

Webhook with the list id

  • January 16, 2020
  • 3 replies
  • 2278 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Level 6
January 16, 2020

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
January 16, 2020

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
January 17, 2020

Hi Mark and Sanford, 

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

Tijana