Events

You can configure notifications for your particular needs by first defining one or more domain events for your application using the Tenant admin Webapp. A domain event consists of a name, id, description, and a Json Schema describing the data that gets posted (event payload) along with it. For notifications, the data you want to post contains values for the email template placeholders defined in the notification type.

Triggering Events

The events you define when configuring your notifications are triggered in your application logic via ADSP’s Event Service APIs. When ADSP receives one, it will

  • match the domain event with a notification type,
  • determine who needs to be notified, based on subscribers and notification criteria,
  • combine the information in the event payload with the message template’s placeholders, and
  • send a notification through the appropriate channel.