Novu

N

Novu

Open Source Community by Novu

Join

💬│support

🚀│general

Seeing topics representation on Novu's admin GUI

I think that topics are one of the most essential features and capabilities of Novu, but not having a visual representation within the dashboard makes it not so user-friendly to my opinion

Issues running worker on 0.14.0

Hey guys, im trying to run novu on 0.14.0 but somehow all triggered events are not being sent. When i look into the api logs it looks like everything is okay, but the worker is not doing anything. Could anyone help me? api logs: 2023-05-17T14:50:15-03:00 {"level":30,"time":1684345815507,"pid":17,"serviceName":"@novu/api","serviceVersion":"0.14.0","platform":"Docker","tenant":"OS","req":{"id":18208,"method":"POST","url":"/api/v1/events/trigger","query":{},"params":{"0":"events/trigger"},"headers":{"host":"novu.xxx.xxx","connection":"keep-alive","x-forwarded-for":"xxx, xxxx","x-forwarded-proto":"http","x-forwarded-host":"novu.xxx.xxx","x-forwarded-port":"xx","x-forwarded-path":"/api/v1/events/trigger","x-real-ip":"xxxx","content-length":"704","x-amzn-trace-id":"Root=1-646513d7-7924d5953d124ff82e4a6156","accept":"application/json, text/plain, */*","content-type":"application/json","user-agent":"axios/1.2.0","accept-encoding":"gzip, deflate, br","x-correlation-id":"d5538813-74dc-45b0-8d14-077cb376e943"},"remoteAddress":"::ffff:10.2.21.129","remotePort":41728},"userId":"635107bba2ee3de4f3c4945b","environmentId":"635107c3a2ee3de4f3c4946a","organizationId":"635107c2a2ee3de4f3c49464","msg":"TriggerQueueService.add: 3267f947-4da9-47c8-984f-9c5d5be5ead0 Group: 635107c2a2ee3de4f3c49464"}...

Activity Feed search does not seem to work properly

Hi All, I've been trying to use the search feature in Activity Feed but it does not seem to work correctly and always return all the records regardless of what I type in in the "Search" field. See attached picture where I typed some random string in Search and always get ALL the records, they don't seem to be filtered out. Is that expected? ...

Sender ID with SNS

Hi, is it possible to specify a custom Sender ID when sending an SMS via SNS? Instead of people receiving an SMS from a phone number (e.g. +447...), I would like them to get it from a custom Sender ID (e.g. "My Company"). Thanks.

How to generate Novu API key without UI

We are self hosting Novu API inside a container and we wanted to automate the process of initial setup like creating user, setup Provider integrations etc. Is there a way to generate the Novu API key through the APIs without the UI?

TTL for notifications

Hi, do you support some TTL mechanism for notifications index in mongodb? Is it possible to hold the notification in mongodb just for e.g. 2 days? Thanks for answer...

How to find my feedId?

When fetching notifications via the headless library - I see that the feedId: null I want to call the following function: ```typescript headlessService.markAllMessagesAsRead({...

Novu dashboard (GUI) notification center modifications

I receive in-app notifications to the notification center on behalf of a test subscriber ID that Novu automatically creates. However, I want to test different scenarios with different subscribers with unique names and attributes. Is it possible to change the subscriber ID the notification center listens to?...

Headless: fetchNotifications method

I want to fetch the "actor" image, the relative path will be data[0].actor, but I'm not sure how it suppose to be represented... incase the actor has an actual image - should I get the URL? Or something?

Using the headless notification center library with Ruby on Rails, Django or Laravel

According to the documentation, "users can easily incorporate our notification system into any framework or vanilla JavaScript project," and I just wanted to ensure that it includes non-javascript/typescript frameworks.

Link sent in SMS encoding when not desired

I am sending a link through a twilio integrated notification and it is encoding it when I just want it as plan text. From my server I am sending the link like this:
`https://clubhouse.links.golf/messages?id=${courseRequest.id}`
`https://clubhouse.links.golf/messages?id=${courseRequest.id}`
...

Activity feed empty (v0.14.0)

Hi all! After upgrading to v0.14.0 I'm triggering PUSH notifications and despite the fact that I'm getting 201 responses, I can't see anything in the Activity Feed. The /notifications API also returns no notifications.. Am I missing something obvious? Is there a breaking change regarding notification triggering?...

count websocket open connection

Do you support some mechanism for monitoring? I wish to monitor how many websockets is opened by ws service? Is it possible somehow? Thanks for answer...

Security support

Hi guys, Can you tell how you support the security for subscriberId? The websocket is identified by subscriberId, which is visible in web page source code. So do you somehow randomly generate subscriberId using some algorithm to prevent from guessing the subscriberId of another users? How this is done from the security point of view? Thanks for the answer...

Setting up Novu locally

Problems while setting up Novu locally

Digest E-mail missing event

Good day! I am having an issue when I send two different groups of events with two events in each group (grouped by subscriber ID and digest key) to a notification through API, the digest E-mail for the first group shows both events, while the digest E-mail for the second group shows only one event. This happens when I trigger the events in a short time (5 seconds between events). The settings of my notification include a regular digest with 30 seconds interval and the E-mail step. The API returns 201. The active feed shows that all four events have been triggered but the last event (transaction ID: b1759079-0e94-4f3b-8d20-110e65e466af) is not included in the second digest E-mail. Please assist in this matter. Thank you!...

Uncancel cancelled events

If I have the transactionId and have cancelled that event, is there a way to uncancel that event?

email template editor

Hi Novu, Are there any plans to improve the email template editor? Right now it for anything more than trivial changes it seems we need to revert to HTML. It'd be great if there was a more feature-complete WYSIWYG editor for brand layout as well as message templating. ...

Cancel event not working

I'm working in PHP. deleting an event through ->delete("events/trigger/{$transactionId}")['data'] directly works, but using ->cancelEvent($transactionId) results in an error. From what I can see, since DELETE returns 204 with an empty response body, request() returns false. cancelEvent() then tries to create a trigger with false as first argument instead of an array, resulting in an error. Is there something I'm doing wrong? Or should I just stick to using the delete() function directly?

Trigger not working when email is not specified in the payload

I created a subscriber by mentioning email in the payload. When call trigger API with the subscriber ID, I would expect it to send email to the email address associated with the subscriber. However, I don't see that happening. I only receive email when I mention the email property in the payload for the Trigger API. Am I doing anything wrong?