In-app notifications for your users.
packages/notifications/keys.ts
file.
NotificationsTrigger
component from the @repo/notifications
package and use it in your app. We’ve already added this to the sidebar in the example app:
in-app
channel provider and create a corresponding message template.
Then you can trigger that workflow for a particular user in your app, passing in the necessary data to populate the message template: