Forum Discussion

sravankunadi's avatar
sravankunadi
New Contributor II
3 years ago

Add/Update leads into Marketo using batchsize of 300

I would like to pass 300 leads in one API call. I am able to pass one record and it is working fine.

How do i achieve this ?

This is the sample request.
{
“action”:“createOnly”,
“lookupField”:“email”,
“input”:[
{
email":"kjashaedd-1@klooblept.com”,
“firstName”:“Kataldar-1”,
“postalCode”:“04828”
},
{
email":"kjashaedd-2@klooblept.com”,
“firstName”:“Kataldar-2”,
“postalCode”:“04828”
},
{
email":"kjashaedd-3@klooblept.com”,
“firstName”:“Kataldar-3”,
“postalCode”:“04828”
}
]
}

1 Reply

  • Hi @sravankunadi

    You can group the leads using the Group By N Snap, with Group Size set to 300 (because of the limitation of 300 records that can be created or updated at the same time).

    Then you map the request.

    And send the payload to Marketo.

    Sample pipeline:
    SL-comm-Marketo-multiple-leads_2023_02_15.slp (8.8 KB)

    Let me know if this is what you want to achieve.

    BR,
    Aleksandar.