OverviewΒΆ

This synchronization process is defined in the pipeline batch xDB Contacts to CRM Sync Pipeline Batch.

The contact synchronization process involves the following steps:

  1. Read contacts from xDB.
  2. Loop through the contacts from xDB. For each contact:
  1. Get the CRM contact that corresponds to the xDB contact if one exists, otherwise create a new CRM contact.
  2. Apply value mappings by reading values from the xDB contact and writing those values to the CRM contact.
  3. Save the CRM contact.
  4. If the CRM contact was created.
  1. Get the xDB contact.
  2. Get the contact from the work queue that corresponds to the xDB contact if one exists, otherwise add the contact to the work queue.
  3. Apply value mappings by reading values the CRM contact and writing those values to the work queue contact.

Note

Writing data back to the xDB contact is needed so that the CRM contact id is set on the xDB contact. This facilitates future synchronization.

  1. Read contacts from work queue.
  2. Create a known contact set for the xDB bulk contact update API.
  3. 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.
../../_images/xdb-contacts-sequence-diagram-simple.png

Note

A more detailed sequence diagram is available here.