Email event

Version:

This topic describes how tasks with the subtype email from Salesforce are mapped to events in Sitecore.

Format in Salesforce

In Salesforce, a contact can be associated with multiple emails. Each email is a separate object that is linked to the contact.

Note

Only completed email messages are read from Salesforce.

Format in Sitecore

In Sitecore, email details are stored in an event. The event is associated with an interaction. The following interaction facet is used to identify that the interaction came from Salesforce:

Facet NameSalesforceInteraction
Facet TypeSitecore.DataExchange.Tools.SalesforceConnect.Facets.SalesforceInteraction

The following event type is used to store email details:

Event TypeSitecore.DataExchange.Tools.SalesforceConnect.Events.EmailEvent

Mapping values

You must have separate mappings for the interaction facet and the event.

Source objectsinteraction facet, eventTask object from Salesforce
Target objectinteraction facetSitecore.DataExchange.Tools.SalesforceConnect.Facets.SalesforceInteraction
Mapping definitioninteraction facetSalesforce to xConnect Interaction Mappings maps to Salesforce Task to xConnect Interaction Salesforce Facet
Target objecteventSitecore.DataExchange.Tools.SalesforceConnect.Events.EmailEvent
Mapping definitioneventSalesforce to xConnect Event Mappings maps to Salesforce Task to xConnect Event
Mapping email tasks from Salesforce to Sitecore
If you have suggestions for improving this article, let us know!