Novu’s Node.js SDK provides simple, yet comprehensive notification management, and delivery capabilities through multiple channels that you can implement using code that integrates seamlessly with your Node.js application.
Explore the source code on GitHub
Installation
Usage
import { Novu } from "@novu/node";
const novu = new Novu("<NOVU_SECRET_KEY>");
await novu.trigger("<WORKFLOW_TRIGGER_IDENTIFIER>", {
to: {
subscriberId: "<USER_IDENTIFIER>",
email: "test@email.com",
firstName: "John",
lastName: "Doe",
},
payload: {
organization: {
logo: "https://evilcorp.com/logo.png",
},
},
});
Responses are generated using AI and may contain mistakes.