Bocorbojon
NNovu
•Created by Bocorbojon on 11/1/2023 in #💬│support
Self-hosted isntance of mongodb using 200% of CPU when sending ~1500 notifications through topic
8 replies
NNovu
•Created by Bocorbojon on 7/12/2023 in #💬│support
Migrate notifications from MySQL database to Novu
Hello, right now in my system I have a notifications drawer that retrieves the notifications from a MySQL database, and I am working on implementing Novu. I was wondering if there is a way to migrate my old notifications onto Novu so the users don't lose them.
12 replies
NNovu
•Created by Bocorbojon on 6/14/2023 in #💬│support
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
I saw that Novu supports using triple braces to send dynamic HTML content as the payload, and I sent my HTML string to Novu but got an unexpected provider error with the message:
{
"body": "{\"errors\":[\"Option Metadata must not exceed 3500 bytes.\",\"Data Data must be no more than 2048 bytes long\"]}",
"statusCode": 400
}
So, is there a workaround to send large HTML content? I would like to keep my templates configured and rendered in my Rails backend instead of creating layouts on Novu.19 replies
NNovu
•Created by Bocorbojon on 6/12/2023 in #💬│support
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?
14 replies
NNovu
•Created by Bocorbojon on 6/6/2023 in #💬│support
context.stylis is not a function, error with the React Novu package
6 replies
NNovu
•Created by Bocorbojon on 6/1/2023 in #💬│support
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?
10 replies
NNovu
•Created by Bocorbojon on 5/31/2023 in #💬│support
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?
5 replies
NNovu
•Created by Bocorbojon on 5/31/2023 in #💬│support
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?
Finally, I would really appreciate if someone could give me a guide on how to setup and test the integration to know if I am doing things right.
18 replies