If you are now using Sendoso's new Automations feature, you'll need to make a slight change to your webhook payload template to accommodate the new feature.
Here is the old payload:
{
"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"
}Here is the updated one:
{
"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}}
},
"automation_uuid": {{lead.Sendoso Touch ID}},
"key": "ENTER USER KEY FROM SENDOSO"
}The only change that is being made is that the "uuid" parameter is being changed to "automation_uuid".
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}}
},
"automation_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}}
},
"automation_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.