Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

CDP4S can publish Salesforce platform events the first time it sees configured types of Sitecore CDP session event. This allows custom functionality such as Flows to perform special tasks when these events occur.

...

In Settings, specify the type(s) of Sitecore CDP event you want CDP4S to publish in Salesforce, in the Monitor Custom Events field.

...

The event data may vary. To extract a field value, use the GetEventData Apex Action provided by S4SCDP4S. Supply the EventData__c field value to the Input eventJson, and the field accessor (nested objects use colon separators). If the field is found the value will be returned as a string, otherwise it will be null.

...

To relate the visit record, use the SessionRef__c fields on the event and the Sitecore CDP CDP4S Visit records.

...

The Sitecore CDP CDP4S Visit record has a master-detail relationship to Sitecore CDP CDP4S Guest, which in turn is related to a master object (if any) via the lookup field configured in settings.