Novu

N

Novu

Open Source Community by Novu

Join

💬│support

🚀│general

Self hosted custom SMTP configuration with self signed cert

Having configured a custom SMTP endpoint in Novu 0.18.0 we are getting errors due to the use of a self signed cert e.g. {"err":{"type":"PlatformException","message":"{\"success\":false,\"code\":\"failed\",\"message\":\"self signed certificate\"}","stack":"Error: {\"success\":false,\"code\":\"failed\",\"message\":\"self signed certificate\"}\n at NodemailerHandler.<anonymous> (/usr/src/app/packages/application-generic/build/main/factories/mail/handlers/base.handler.js:42:23)\n at Generator.next (<anonymous>)\n at fulfilled (/usr/src/app/packages/application-generic/build/main/factories/mail/handlers/base.handler.js:5:58)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)"},"responseTime":61,"msg":"request errored"} I'd foolishly disabled the 'Verify provider credentials' slider so I would not lose the settings. Now I am unable to alter any of the SSL related sliders and the SSL Options input box is gone! Could someone give me a few pointers (and maybe an example) as to where I can update these settings? I'm presuming they are stored somewhere in mongo?...

Triggered notification returned 201 but did not receive anything nor it showed in the activity feed

While I was testing the REST API for triggering fcm notifications (via Postman), there's a particular instance where the notification did show up anywhere despite getting a 201 acknowledged response. I checked the Activity feed and get-notifications api and couldn't find it anywhere. I'm wondering what could have been the reason and if it's a common occurrence on REST APIs 🤔 transactionId is f2251a9e-c4ed-4c4a-9969-478dd7dffcb3 see screenshot for the postman response...
No description

Self Hosting on Kubernetes with runAsNonRoot: true option

I would like to host Novu on a Kubernetes environment using the Novu Docker images. I am using the following Novu images: - ghcr.io/novuhq/novu/api...

How do I send a notification based on subscriber activity?

Essentially I want to create a workflow where a push notification is sent to a subscriber. And then if the subscriber hasn't been active recently an email notification is sent as well. How can I create this workflow?

What is the best way to remove a single deviceToken from a subscriber that has several deviceTokens

Hi, I just want to confirm what is the current best way to delete only specific tokens from the array of multiple deviceTokens of a subscriber (I'm using fcm). So far I've only tried using the REST API for updating the subscriber's credentials(https://docs.novu.co/api-reference/subscribers/update-subscriber-credentials) From my observation on how the updating the credentials work, I found that the provided deviceTokens in the requests always get added to the current list of the subscriber's deviceTokens (i.e. if the current deviceTokens is ["1","2","3"], sending a request with deviceTokens: ["4"] will make it deviceTokens: ["1","2","3","4"]), that part is actually well and good for me. (It might be worth mentioning that it conflicts with a solution that was provided on an older thread: https://discord.com/channels/895029566685462578/1073310233750933565/1073312550600577145) ...

What is a Template in Subscriber preference and where can I get the template ID

I am using Self hosted version of Novu with .net I am trying to set Notification preferences for a subscriber but I am not sure what is a template and where can I find the templateId? I see a MessageTemplate table and id in MongoDb but not sure how is it related to the preference?...

Network error while registering

Hello. I have problem with self-hosted service. When I'm trying to register UI shows Network Error. I use docker. Changed env to: JWT_SECRET and STORE_ENCRYPTION_KEY...
No description

I am facing the similar issue as mentioned in the github issue,

CORS fails when we try to register the user If I do the same curl request in postman then it is working fine, but through the browser it is failing If I make my node_env to "test" it is working ...

What is the max limit for the notificationTemplates.getAll() API?

For the node sdk API novu.notificationTemplates.getAll() we can pass in a page size and a limit. what is the max value that the limit can be?

Sending notifications without subscribers

We have a workflow where we need to: - send an external email to the user - send a slack notification to our internal slack channel (not tied to the user) Is there a way to add the slack notification in the workflow without it being related to the subscriber?...

Some bugs and questions

1. Cant make selection when the + is at the bottom 2. I choose to use the font family Roboto in the "Brand" but inapp notifications remain as is until they are clicked and then the font changes 3. I cant remove the logo from my email or from my brand 4. I cant control position of the logo in the email 5. I want to add a button within the middle of the text. how can I do it?...
No description

change password

Hello dear team, i was wondering if there is change password anywhere ? or this feature is not available yet.

Server Specs for Novu

what is the optimal specs for running a development Novu and the production Novu?

Error. Api Call which don't to work

Hi, we updated the new version to 0.18.0, after returned to 0.10.1 (the new version didn't work). On the old version, notifications work, but when I go to the Integrations store page there is a black screen. /v1/integrations request gives error 500. Other queries work. Mongodb and redis work.
No description

Delete production workflow

Good day, I have a workflow that has been promoted to production previously and could not be removed after the workflow was deleted from development. On the Changes tab, the deleted workflow is still there, when click on the Promote button, it prompts a message that the workflow is not found. Is there a way to remove the deleted workflow from the Changes tab and production? Thank you....

Can i create accounts on disabled sign up ?

Dear novu team, I have a case where i don't want any user registration since my app is public. But i want to be able to invite my team members and create accounts for them, for now after I have DISABLE_USER_REGISTRATION=true environment variable i still can't create account even through invitation link. is there away to bypass that using invitation link or to create account for them without changing the env to false again ? Thanks in advance....

Can i disable sign up ?

Dear novu team, is there a way to disable sign up ? I think i've seen an environment variable for that but i don't remember where.

IMessage missing subscriber and actor types.

Hi all. I notice the IMessage type when I am building my own React headless notification center does not match the actual data the API is returning: ```json { "cta": {...

Create topic inline with trigger similar to subscribers

Hi everyone, I have a question related to how to use topics. Seems like if I want to trigger an event and add a topic key that doesn't exist, then it errors out. What do you do for the use case where you don't know if there is a topic key ahead of the time? I could call the get topic by key endpoint but that seems too much work everytime I want to trigger an event. ...