Generic Events (Legacy)

Use generic events to send custom notifications that aren’t tied to Salesforce data changes.

Generic Events is a legacy product. Salesforce no longer enhances Generic Events with new features and provides limited support for this product. Instead of Generic Events, consider using Platform Events. To learn about Platform Events, see the Platform Events Developer Guide and the Platform Events Basics Trailhead module.

Important

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:

StreamingChannel isn’t available for users in Experience Cloud sites, including Partner Community and Customer Community users. Also, StreamingChannel isn’t available in legacy Customer Portals.

Note