Novu

N

Novu

Open Source Community by Novu

Join

💬│support

🚀│general

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...

Ruby SDK error handling

I was wondering, does the Ruby library include some kind of error handling for the case that an API call fails and responds with an error status? Or do we have to check the status code in the response and raise an error manually?

What are the steps to integrate Novu with OneSignal?

Hello everyone. I am having difficulty understanding how to integrate Novu with OneSignal and I have several questions: 1. How do I configure it? I added my OneSignal app id and API keys in the Integration Store, but I don't know if I also have to initialize OneSignal as shown here: https://github.com/novuhq/novu/blob/main/providers/one-signal/README.md 2. What exactly does the integration do? Does it use the OneSignal API to programatically create devices (or Users if you are using the new user-centric model) to the OneSignal app and create notifications, or is it something different? 3. Do I have to do some configuration in the side of OneSignal?...

After an event is triggered , how to find out that the triggered event was success?

I have a use case where i want to send a sms to a user . So suppose I use a third party "A" which sends an sms when triggered but for some reason "A" is down so I want to use third party "B" to send sms. So my question is how to find the status of the action performed by the trigger ?...

Use Google Cloud storage

I am trying to use Google cloud storage to save attachments/images. I have set the following variables: `STORAGE_SERVICE=GCS GCS GCS_BUCKET_NAME=...

2 events with same identifier in production

So I had an event1 in development, I made changes to it but they did not show in “Changes” tab for promotion. So I deleted it and still the changes did not show up in “Changes” tab. Then I created a new event2 with the same identifier as the previous one and promoted it but now I have 2 events with same identifier in Production which may cause bugs in prod notifications!...

If a notification is sent to a team of users can we clear a notification for everyone in that team?

Once sending a notification to multiple people on a team is it possible to clear the notification for all members of the team without explicitly knowing the messageIDs for all the messages sense? Can we also leverage visibility rules where certain users can only see certain notifications based on their permissions?...

Can we soft-delete notifications for users?

Is there a way to soft-delete notifications for users to preserve their history but have them removed from the notification center?

Querying Notifications based on contents of payload

Is it possible to query notifications based on the content of the payload? e.g. I only want to get all notifications that have a field "PRIMARY" within the payload

Add member to organization

This is your code when we want to add some new member to organization: ``` if (process.env.NOVU_API_KEY && (process.env.NODE_ENV === 'dev' || process.env.NODE_ENV === 'production')) { const novu = new Novu(process.env.NOVU_API_KEY); // cspell:disable-next...

CSS lost if email sent via NOVU is forwarded

Hey everyone, I have implemented novu in my project and I am sending emails using the service. The flow is working very smoothly, but after receiving email if I try to forward that to another emailId, all the css is getting lost and it comes as a plain html. Does anyone know why?

Novu on GCP - Cloud Run

I am launching the deployment on GCP using the Cloud run service, at some point the build fails, in the image are the logs

Update Notification

Is there a way to update the content of an existing notification in Novu?