Novu

N

Novu

Open Source Community by Novu

Join

💬│support

🚀│general

Status of translation support

Hello novu-community, first of all thanks for building this awesome product - it seems like the perfect solution for all notification issues 🙌 Right now we are planning to introduce novu as notification provider at my startup. We are building a Digial-Asset-Management SaaS platform which is multilingual. For that reason we need to create our notification concept also multi-lingual....

Send large HTML as payload in the trigger event

Hello, I have a Rails backend which sends emails through Mailgun. My workflow right now is the following: - Define a template as a HTML file with tags. - Render the template as a HTML string and substitute the tags. - Send the HTML string to the Mailgun API, because their API has support for a HTML property which receives HTML strings ...

VM instance on GCP becomes unresponsive

Since I setup Novu with docker on a vm instance in gcp, without any real traffic, I have noticed that the vm becomes unresponsive after a couple of days, I recently increased storage to 250gb to check if it's a storage issue, and also increased the vm memory to 8gb and today the vm is unresponsive again, I am unable to ssh into it, and typically have to shutdown and start up again to regain access. has anyone else experienced this? any directions as to what could possibly be going wrong?...

How to add a feed to the in-app step of a template from the API?

Just recently discovered feeds for the in-app notifications and I have 2 questions: 1. With the create notification template endpoint, can you define the feed of the in-app notification step? 2. What can we do with feeds? Does the React component provide a way to add tabs to the notification center to group notifications by feed?...

ITriggerOverrideFCM Overrides don't match Docs

Having a few issues getting FCM notifications to not trigger twice in the onBackgroundMessage listener of our app using FCM and webPush. Part of the problem that makes this more confusing is that the Docs on https://docs.novu.co/channels/push/fcm/ don't match up with the types provided. ```...

Getting Next page using useNotifications

Adding the question asked by @vortovor " Hi, is there a limit for notifications count in respose of useNotifications()hook? I am getting always 10 items even though more than 10 notifications was sent. "

How to know if trigger event failed?

I have a test app where I created test-template, which has 2 steps, push and in-app. If the push step fails, the trigger event will stop, and right now I am sending the notification to a user that has no push subscription configured, and the template fails succesfully. However, the response I get is the same as if the notifcation was sent correctly. It has no errors, it is acknowledged and with status processed. So, using the API, is there no way to get a failure response when the transaction actually fails? In the pasted image you can see the trigger event done to the user with subscriber_id 100, and a response which indicates success, but in the dashboard the trigger event is marked as failed....

Internal server error - Integration store - Custom SMPT

I am trying to add my SMPT server, but when I try to connect it I get internal server error. I have tried connecting without SSL but the result is the same....

Set log lavel

Can i change the log level to not receave messages like {"level":30,"time":1686166363435,"pid":17,"serviceName":"@novu/worker","serviceVersion":"0.15.0","platform":"Docker","tenant":"OS","context":0,"msg":"MetricQueueService/ws_socket_queue/waiting"} {"level":30,"time":1686166363435,"pid":17,"serviceName":"@novu/worker","serviceVersion":"0.15.0","platform":"Docker","tenant":"OS","context":0,"msg":"MetricQueueService/ws_socket_queue/delayed"} {"level":30,"time":1686166363435,"pid":17,"serviceName":"@novu/worker","serviceVersion":"0.15.0","platform":"Docker","tenant":"OS","context":0,"msg":"MetricQueueService/ws_socket_queue/active"}...

Same problem with novu

So I reinstalled novu on another VPS with docker and I have the same problem. Some functions don't work, for example, if I create a new memberu in the team, the button to copy the invitation is not functional. Do I need to make other settings on the VPS? I use ubuntu....

Does the getNotifications API have a query param override to get all data instead of pagination?

For example, if I am getting all notifications with a certain transactionID is there a way to get all of that data in one call instead of paginating the data with a size of 10 results?

How to get the message IDs for all of notifications that were part of a trigger operation?

Let's say I trigger a notification to a list of subscribers in Novu, and all of these are in-app notifications. Is there a way that I can then get the message IDs for all of these notification messages on trigger? Rather than by having all of the clients send the individual messageIDs to the backend.

context.stylis is not a function, error with the React Novu package

I am implementing Novu onto my codebase. A few days ago I tested Novu on a test app built with React and it worked fine. Now, my real app is also built with React but uses React Router to simulate a multi-page app, and it's far more complex than the test app. Adding the Novu notification center to a component in my app resulted in the error you can see on the added screenshot, when React tries to render the notification center It seems to relate the emotion CSS library, and I thought it had to do with the dependencies not installing correctly, so I deleted my node_modules and did a clean install, but it doesn't work, the error keeps appearing. Other things that I have thought of is that it could be related to the React version (my codebase has the 16.8.6), but I wanna be sure of that before going through the hassle of updating React and potentially breaking stuff. Anyone got any leads on how to solve it?...

Step queued

What does step queued mean when I filter on something and give a test snippet? I have set the filter to OnlineRightNow yes....

Self-Hosted Invite email not sent, copy invite link not working

I've read that the invitation email can't be sent on local hosted, but if I click copy invite link, nothing is copied.

Novu embed,widget,ws service load size

Hi, I have added a chart of outgoing bytes from the given services like ws,embed and widget. Is it possible that you could be explain for what such a services are responsible? WS this is websocket and I have expected that the biggest bytes loadout will be there, but the embed and widget services got much much higher loadout than ws and than i have expected. Will you explain me why is that and for what purpose are that services? Thanks for answer...

Failed to refresh slots cache.

I changed redis server and get {"level":50,"time":1685629699169,"pid":17,"serviceName":"@novu/worker","serviceVersion":"0.15.0","platform":"Docker","tenant":"OS","context":"InMemoryCluster","err":{"type":"ClusterAllFailedError","message":"Failed to refresh slots cache.","stack":"ClusterAllFailedError: Failed to refresh slots cache.\n at tryNode (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/ioredis/built/cluster/index.js:308:31)\n at /usr/src/app/node_modules/.pnpm/[email protected]/node_modules/ioredis/built/cluster/index.js:325:21\n at /usr/src/app/node_modules/.pnpm/[email protected]/node_modules/ioredis/built/cluster/index.js:662:24\n at run (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/ioredis/built/utils/index.js:117:22)\n at tryCatcher (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/standard-as-callback/built/utils.js:12:23)\n at /usr/src/app/node_modules/.pnpm/[email protected]/node_modules/standard-as-callback/built/index.js:33:51\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)","lastNodeError":{"type":"Error","message":"Connection is closed.","stack":"Error: Connection is closed.\n at close (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/ioredis/built/redis/event_handler.js:189:25)\n at Socket.<anonymous> (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/ioredis/built/redis/event_handler.js:160:20)\n at Object.onceWrapper (node:events:628:26)\n at Socket.emit (node:events:513:28)\n at Socket.emit (node:domain:489:12)\n at TCP.<anonymous> (node:net:301:12)\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17)"}},"msg":"Failed to refresh slots cache."}...

Importing users in bulk (CSV or something like that)

Hello. I would like to import the already existing users that I have in my database to Novu in bulk. OneSignal, for example, supports importing users through CSV files; does Novu have something similar?

Is prioritisation of a particular workflow provided by Novu?

Usecase: Suppose I have two workflows Workflow 1. Where I want to send some promotional event to subscribers which has low priority Workflow 2. I want to send onboarding email and sms to subscriber which should be immediate i.e high priority. Does novu provide priority feature for a particular workflow ?...

Socket timeout

Hi Guys, Is it possible to set up some kind of timeout for socket? I have self hosting configuration and right now the socket is open as long as the service page in browser is open by user. For example I want to set up 5 minutes of timeout and then if user refresh page then will reconnect. Or is it possible from the frontend site of development to disconnect such a socket if there is long time of inactivity?
Thanks for answer...