Overview

This synchronization process is defined in the pipeline batch Salesforce Contacts Sync Pipeline Batch.

The contact synchronization process involves the following steps:

  1. Read contacts from Salesforce.
  2. Loop through the contacts from Salesforce. For each contact:
    1. Get the xDB contact that corresponds to the Salesforce contact if one exists, otherwise create a new xDB contact.
    2. Get the entry from the work queue that corresponds to the xDB contact if one exists, otherwise create a new work queue entry.
    3. Apply value mappings by reading values from the Salesforce contact and writing those values to the work queue entry.
  3. Read contacts from work queue.
  4. Create a known contact set for the xDB bulk contact update API.
  5. Loop through the contacts from the work queue. For each contact:
  1. Add the contact to the known contact set.
  1. Submit the known contact set.