Learn how to use Novu to quickly send multi-channel (SMS, Email, Chat, Push) notifications with iFrame embed
The recipients of a triggered notification are called subscribers.The workflow includes the following:
Channel | Content Style | Custom Variables{{handlebars}} format |
---|---|---|
HTML | ✅ | |
Visual Editor | ✅ | |
SMS | Text | ✅ |
Chat | Text | ✅ |
In-App | Text | ✅ |
Push | Text | ✅ |
{{ }}
. This means you can inject variables from your code into a notification item’s text via a payload.subscriberId
.
With Novu, you can create a subscriber using any of its SDKs (Node.js, PHP, .NET, Go, Ruby, Python and Kotlin). The code to create a subscriber in Novu is:
<NOVU_API_KEY>
with it. Now, if you’ll go to the Novu dashboard, you shall see the subscriber we created above with subscriberId
of 123
.
You can also update information about an already existing subscriber using the subscriber.update
method as shown below:
index.html
applicationIdentifier
and subscriberID
.
An application identifier is a public key used to identify your application. You can get your own application identifier from the Novu dashboard settings.
And subscribers are users to which notifications will be sent. They are identified by a subscriberID
which you can also find in the Novu subscribers dashboard.
applicationIdentifier
and **subscriberID
,**when you will click the bell, you will see the following:
Get Snippet
button
Run a Test
option
subscriberId
that we have created (123
)
Run Trigger
quickstart
and send a notification to the subscriber with subscriberId
of 123
.
Now we will open our web application and see a red dot next to the bell icon, this indicate that we have an unseen notification in our feed.
When we will click on it, we will see our notification.