Newer Version Available

This content describes an older version of this product. View Latest

Generic Events

Use generic events to send custom notifications that are not tied to Salesforce data changes.
Use generic streaming when you want to send and receive custom notifications. Use generic streaming to:
  • Publish and receive arbitrary payloads in JSON without a predefined event schema
  • Broadcast notifications to a target set of users, specific teams, or your entire org
  • Send notifications for events that are external to Salesforce
To use generic events, you need:
  • A StreamingChannel that defines the channel, with a name that is case-sensitive
  • One or more clients subscribed to the channel
  • The Streaming Channel Push REST API resource to monitor and invoke push events on the channel