Real-time access

Tekst can pick up new and updated Salesforce cases in real time. There are two methods: Change Data Capture (CDC) and Platform Events. Both are native Salesforce features. You set one of them up in Salesforce, then select it in Tekst.

Change Data Capture (CDC)

Change Data Capture is a native Salesforce feature that emits an event whenever a record is created or modified. Tekst subscribes to these events to receive new and updated cases in real time.

Limitations

  • Salesforce controls the event stream, so CDC offers limited configuration: you can only choose which objects emit events.
  • Not all Salesforce editions include CDC, and the number of events you can use depends on your Salesforce plan.

Set up CDC in Salesforce

  1. Log in to Salesforce as an administrator.
  2. Go to Setup > Integrations > Change Data Capture.
  3. Move Case from Available Entities to Selected Entities and save.

Platform Events

Platform Events work much like Change Data Capture, but they are more configurable: you decide which fields an event carries and when it fires, for example only when a case is created or closed. They are not available out of the box. Your Salesforce administrator has to create the platform event and the logic that publishes it.

Platform event API names always end with the suffix __e. Include this suffix when you enter the event name in Tekst.

For the full setup, see Set up Salesforce platform events.

Select the method in Tekst

To choose the method in Tekst:

  1. Go to Integrations and open your Salesforce integration.

  2. On the Settings tab, set Real-Time Events to Change Data Capture or Platform Event. You can also set this during setup, on the Setup Real-Time Events step.

  3. Under Salesforce Region (Region Selection during setup), choose the region of your Salesforce instance: United States or Europe.

  4. For Platform Event, enter the API name of your event in Targeted Platform Event (for example, Example_Event__e) and map the event fields to the case fields.

    Map the event field that carries your case identifier to Id if your event carries the Case Id, or to CaseNumber if it carries the case number. The mapping starts on CaseNumber, so change it if you send the Case Id. If the two don't match, Tekst finds no case for the event.

  5. Save your changes.

Settings tab of a Salesforce integration with Salesforce Region set to Europe, Real-Time Events set to Platform Event and the Targeted Platform Event field

Comparison

Topic Change Data Capture Platform Events
Setup Native to Salesforce, little configuration needed Your administrator creates the platform event and the triggers that publish it
Configurability Minimal: only the object is configurable Highly configurable: choose the fields to broadcast and the cases and updates that fire an event
When events fire On every create, update and delete of a case. An update made by Tekst also fires an event Only when your triggers publish one, for example on create and important updates
Limits Salesforce limits on CDC events Salesforce limits on platform events

If you have questions about which method fits your organization, contact support@tekst.com.

0 comments

Please sign in to leave a comment.