Marketo Lead to SAP C4C Contact Data Sync
This section describes the recipe for the data sync between Marketo Lead business object and SAP Cloud for Customer Contact business object.
SAP Cloud for Customer (C4C) is a cloud solution to manage customer sales, customer service, and marketing activities efficiently and is one of the key SAP solutions to manage customer relationships.
Marketo provides software platforms and technologies designed for marketing departments such as account-based marketing, which includes email, mobile, social, digital ads, web management, and analytics.
Business Use Case
The business purpose of this integration is to extract updated Marketo Contact records and update them in SAP Cloud for Customer.
Custom Fields
Contact can be linked to some owner or Employee and Account, hence it is always recommended to sync the Employee and Account objects before syncing the Contacts to Marketo. This recipe syncs the Contact object in Marketo with the following custom fields.
On SAP C4C | Comments |
MKTOContactID | Custom field in SAP C4C for Contact records to hold the Marketo Contact records id. |
ZLeadScore | Custom field having the lead score for a Contact. |
ZAcquisitionProgram | Custom field having the acquisition program id for a Contact. |
ZAcquisitionDate | Custom field having the acquisition date for a Contact. |
ZSource | Custom field having the source of a Contact. |
On Marketo | Comments |
contactHouseNumber | Custom field in Marketo to hold the house number for SAP C4C Contact. |
c4CContactID | Custom field in Marketo for Contact records to hold the SAP C4C Contact records id. |
c4CContactObjectID | Custom field in Marketo for Contact records to hold the SAP C4C Contact object id. |
isDeleted | Custom field in Marketo to indicate that record has been obsoleted in SAP C4C. |
Product Compatibility
The recipe is tested for the SAP Cloud for Customer product version 1908.04.0006. Hence the recipe is compatible to run for the tested and also older versions of the product.
Marketo to SAP C4C Contact Sync Flow
This is designed to run for ongoing sync. For the Contact records synced into Marketo from SAPC4C, if an update activity is performed, then the updated data is synced back to SAP C4C.
Operations Used
This recipe has a sub flow to handle the obsolete contact record in SAP C4C, that is, updateDeletedSAPC4CContactsToMkto.
Operation Name | Application | Description |
getMarketoLeadChangesActivity | Marketo | Queries Marketo Contact record ids which have been synced from SAP C4C and updated later in Marketo. |
queryMarketoLeadRecords | Marketo | Queries Marketo Contact records data using ids. |
patchSAPC4CMultipleContact | SAP C4C | Updates the Marketo Contact data to SAP C4C. |
getContactBusinessAddressStateCode | SAP C4C | Gets list of State codes for Contact object defined in SAP C4C. |
getContactBusiness AddressCountryCode | SAP C4C | Gets list of Country codes for Contact object defined in SAP C4C. |
getContactSalutation | SAP C4C | Gets list of Salutation codes for Contact object defined in SAP C4C. |
getContactDepartmentCodes | SAP C4C | Gets list of Department codes for Contact object defined in SAP C4C. |
Usage Notes
In order to add new standard or custom fields to the integration, copy the required field and add it to the
filteredLeads list while making the upsert API call to Marketo.
In order to change or remove standard or custom fields from the integration, remove the required field mapping and change or remove the field from the
filteredLeads list while making the upsert API call to Marketo.