Novu

N

Novu

Open Source Community by Novu

Join

💬│support

🚀│general

Newly created Subscriber will always return a 404 error in subscriber/get

Hi, I'm using the latest novu JS SDK and i can create new subscribers without issues. I also see them in the Web-GUI. I can run novu.subscribers.list() and it will list all the users but when i run subscribers.get(subscriberId) i always get a 404 error. Any ideas?

Failed to preview Step with id: `send-email`

I am trying to use a react-email template and I cannot get it to preview in the local studio as I keep getting that error. Other ways seem to work like inline html with vars. ``` // app/novu/workflows/trial-ending.js import { workflow } from "@novu/framework";...

Configure Redis Sentinels

Hey Folks! In my production setup I have a 3 node Redis config with 1 master(read/write) and 2 replicas (read) and 3 Redis Sentinel nodes to handle failover and high availability. Looking at the docker compose file, I only see the option to provide a single Redis host but not a list of Sentinel hosts to connect to. How do I configure Redis Sentinels instead of connecting to a single host?...

Why Novu Web Widget stores auth_token in local storage?

I don't understand why Novu Web Widget needs to store the auth token for APIs like /feed, /unread etc in local storage. This is not a good practice, since someone running a malacious script in any app (where we are using Novu Widget) can copy local storage contents to their server The Novu token then allows the attacker to access all notification data of the subscriber. Is there a way where the web widget can avoid local storage altogether or the only approach is to have our own implementation of web widget of Novu?...

How to connect azure storage bucket to novu

Hey 🙂 Is it possible to connect a azure storage bucket (don't know the official name) instead of an aws s3 bucket for handling attachments? can someone explain me, why it's needed to handle attachments with an aws s3 bucket? just for my interests 🙂

Step has invalid result

We have the following issue, when using novu v2.0.0 self hosted and @novu/[email protected]: Workflow with id: order-recieved has an invalid state. Step with id: in-app has invalid result. Please provide the correct step result. Any ideas?...
No description

email attachment issue in php code

i tried triggering email with an attachment with php code ```$response = $novu->triggerEvent([ 'name' => 'work-with-us-email', 'payload' => [ 'fullName' => $arrData['full_name'],...

Filter out push-notification step if subscribes has no channel configured

I have a workflow with multiple steps (InApp, Push, Email) that works perfect but some of executaions are showing as error. The error happens for users that they dont have enabled push notification in their mobile app and novu don't have a registered any Expo Token for that subscriber making the Push step to fail. I tried to filter the step is subscribes has no channels configured but did not work. Is there any recommended way how can I filter the push step is subscriber has no channel configured?...
No description

Remove In-App by Pattern

Is there a way to remove in-app notifications by pattern? We want to change in-app notifications from "You have recieved X from X", when using bulk/digest to "You have recieved X times X". Is there a way to do this?...

CJS/ESM fixes for framework ETA?

We're having issues with using @novu/framework that seem like they may be addressed by https://github.com/novuhq/novu/pull/6707 -- just wondering if there is an ETA for the next release that may include these fixes? thanks

Does @novu/framework support isOnline/lastTimeOnline/Webhook

Does @novu/framework support isOnline/lastTimeOnline/Webhook?

Bulk trigger 429 error

Hi, We are successfully using Novu in production for over a year. We are using the cloud version of Novu....

Assistance with Novu Database Backup

We are using our own separate environment for Novu and when I requested our DevOps team to take a backup of the Novu database, they provided MongoDB files. However, I could not find any data related to the notification history within the backup. I suspect they might have fetched the wrong data, but I'm not certain. I have a few questions regarding this: 1) Is it possible to take a backup of Novu notifications from our environment? If so, could you provide guidance on how to properly back up the Novu database?...

how to manage mongo data storage?

hey i self host novu and i have some issue regarding storage as per my load mongo jobs and execution detail collection are rapily increasing so is there any way to remove mongo collection data after some specific time period?

Push channel Preferences not being respected

what could be the reason for a workflow with following preference to still send a PUSH notification? ```"preference": { "enabled": true, "channels": { "push": false...

Get unread message count

I have integrated the Novu notification service in my React application using HeadlessService from @novu/headless. I have utilized headlessService.fetchNotifications to fetch notifications. Now, I need a custom hook or function to get the unread notification count across all pages. Is there any such inbuild function?@Pawan Jain

Local Studio not Working with Self Hosted Instance - 401 Not Authorized

Hi all Just wanted to ask here, if anyone was able to run the local studio with a self hosted instance. I get a 401 and also saw there’s an ongoing discussion here: https://github.com/novuhq/novu/issues/6710...

Triggering events on topics

probably I am missing something, I am read the API documentation https://docs.novu.co/api-reference/events/trigger-event as well the ruby SDK implementation and don't see it documented however if I read the e2e tests https://github.com/novuhq/novu/blob/6ffc13f105e3661ea0925be07691307b932473b3/apps/api/src/app/events/e2e/trigger-event-topic.e2e.ts it is covered and uses the the events/trigger endpoint ...

Network Error

Hi @all I just installed Novu 2.0.0 through docker compose its up and running but when i signup i am getting an error Network error...
No description

Backing Up Novu Notifications details from MongoDB

I'm working with Novu notifications in our own environment, and we're using MongoDB to store the data. Our DevOps team provided information that the notifications are stored in MongoDB, but the tables we checked don't seem to contain sufficient data related to the notifications. Could you please provide guidance on: What tables or collections should I check for complete notifications data?...