cancel
Showing results for 
Search instead for 
Did you mean: 

Add/Update leads into Marketo using batchsize of 300

sravankunadi
New Contributor II

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 1

Aleksandar_A
Contributor III

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).

Group By N

Then you map the request.
Mapper

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.