Marketo Engage Webhook Payload Templates

  • Updated

Here are multiple variations of the payload template that can be used with Sendoso:

Standard Payload Template:

{
 "send":
 {
   "lead_id": {{lead.id}},
   "email": {{lead.Email Address}},
   "name": {{lead.First Name}},
   "last_name": {{lead.Last Name}}, 
   "company_name": {{company.Company Name}},
   "address": {{lead.address}},
   "city": {{lead.city}},
   "state": {{lead.state}},
   "zip": {{lead.Postal Code}},
   "country": {{lead.country}},
   "mobile_no": {{lead.Phone Number}}
 },
 "uuid": {{lead.Sendoso Touch ID}},
 "key": "ENTER USER KEY FROM SENDOSO"
}


Personal Address Payload Template:

{
"send":
{
  "lead_id": {{lead.id}},
  "email": {{lead.Email Address}},
  "name": {{lead.First Name}},
  "last_name": {{lead.Last Name}}, 
  "company_name": {{company.Company Name}},
"address": {{lead.personalAddress}},
  "city": {{lead.personalCity}},
  "state": {{lead.personalState}},
  "zip": {{lead.personalZip Code}},
  "country": {{lead.personalCountry}},
"mobile_no": {{lead.personalPhone}}
},
"uuid": {{lead.Sendoso Touch ID}},
"key": "ENTER USER KEY FROM SENDOSO"
}

 

International Payload with Tax ID:

{
 "send":
 {
   "lead_id": {{lead.id}},
   "email": {{lead.Email Address}},
   "name": {{lead.First Name}},
   "last_name": {{lead.Last Name}}, 
   "company_name": {{company.Company Name}},
   "address": {{lead.address}},
   "city": {{lead.city}},
   "state": {{lead.state}},
   "zip": {{lead.Postal Code}},
   "country": {{lead.country}},
   "mobile_no": {{lead.Phone Number}},
   "tax_id": {{lead.customfield1}}
 },
 "uuid": {{lead.Sendoso Touch ID}},
 "key": "ENTER USER KEY FROM SENDOSO"
}

Please note - if you would like to include the Tax ID, you will need to set up a custom field in Marketo for that information. Once you have the field set up, please adjust the template above to include the correct field name.

Was this article helpful?

1 out of 1 found this helpful

Have feedback about this article? Click here to share your thoughts.