đź“–
Ravenhub Docs
  • Getting started with Ravenhub
  • Ravenhub API
  • Templates
  • Broadcasts
  • Event Types
  • Notification Center
  • Event Stream
  • Slack Integration
Powered by GitBook
On this page

Was this helpful?

Event Types

Use event types to send notifications to your users based on activities and actions in your app. Think of these as triggers for your notifications.

PreviousBroadcastsNextNotification Center

Last updated 4 years ago

Was this helpful?

Create an Event Type

An Event Type is some action or event in your application that will trigger a notification to be sent. For example, in a social media application this might be "Someone added you as a friend." or "Someone liked your photo."

Give the event type a name and description. The description will be helpful for your customers to understand when they are viewing the settings page within the notification center. The API Endpoint will automatically be generated after you save. At the bottom you can click “+Add Template” to assign the you created before to this Event Type. This will make it so that whenever this Event Type occurs, the template is used to send a notification to your customer. Click save when you’re done.

After saving, you’ll see the API Endpoint generated. You’ll want to save this and use it when sending your first notification.

template
See the Getting started guide for a full end to end example