Nexen
Nexen
Explore posts from servers
NNovu
Created by Nexen on 5/4/2024 in #💬│support
exclude from topic more actors
Hello, was intentional to have just one actor to be excluded? For my usecase i would like to exclude more subscribers.
const topicKey = 'posts:comment:12345';

await novu.trigger('<WORKFLOW_TRIGGER_IDENTIFIER>', {
to: [{ type: 'Topic', topicKey: topicKey }],
payload: {},
actor: { subscriberId: ['<SUBSCRIBER_ID_1>', '<SUBSCRIBER_ID_2>'] },
});
const topicKey = 'posts:comment:12345';

await novu.trigger('<WORKFLOW_TRIGGER_IDENTIFIER>', {
to: [{ type: 'Topic', topicKey: topicKey }],
payload: {},
actor: { subscriberId: ['<SUBSCRIBER_ID_1>', '<SUBSCRIBER_ID_2>'] },
});
16 replies
NNovu
Created by Nexen on 5/4/2024 in #💬│support
Custom image of websocket
Hello, Is there a simple way to edit ws app and build custom image just of that to include in self hosted solution?
11 replies
CC#
Created by Nexen on 12/27/2023 in #help
Making sense of monolith structure and modularity
Hello, I am mainly frontend developer (working on mac, so using vscode), but on my personal project im working on dotnet core web api. It kinda exploded with functionality and i got stuck. I need to shed a light and figure out what is the correct easy way for my structure for the future. I have now monolith with Main project - controllers with swagger, Logic project - services, Models project -models with EF, typical backend in monolith. Now i need to have notification system and aggregator when activity happens like Liked post, commented post. I have tried to create separate service for this, which would have separate database and save only important things (entityid, actor, ...) using activity streams spec, Push notification can be created from activity spec, but i dont want to save names and stuff if something changes. The backend itself has: users, posts, pages, general things(alerts, badges,..) so i guess it can be afterwards split by these to modules So the structure now is: client -> backend the ideal way would be to have one "endpoint" for client, so: client -> backend -> notification service But the notification service has only ids, so i need to hit backend to get actual data (post name,...) how can i deal with this? I want it easy and simple and to be ready later on to split it to microservices for better scaling and of course there could be more services added later. Also client has generated api from swagger, so swagger is very important for me. I hope it makes sense to you, what my structure is, if not, i can explain more or with images.
7 replies
NNovu
Created by Nexen on 10/27/2023 in #💬│support
Push fcm title body variables
How can i have dynamic title and text for push notification? I dont want to send hardcoded text from workflow.
9 replies
NNovu
Created by Nexen on 10/27/2023 in #💬│support
push notifications grouping
Hello, is there a way to group notifications based on some id? e.g. group chat messages based on room ID.
3 replies
NNovu
Created by Nexen on 7/22/2023 in #💬│support
Flutter example
This is a followup from last time, the thread is locked, so i have to ask again. Whats the plan for flutter client?
3 replies
NNovu
Created by Nexen on 1/21/2023 in #💬│support
Flutter example
Could we get a flutter example that we can follow? Thanks!
11 replies
NNovu
Created by Nexen on 1/4/2023 in #💬│support
topic filter
Hello, if i have
await novu.trigger('<REPLACE_WITH_EVENT_NAME_FROM_ADMIN_PANEL>', {
to: [{ type: TriggerRecipientsTypeEnum.TOPIC, topicKey: topicKey }],
payload: {
"NOT": ["a","b"]
},
});
await novu.trigger('<REPLACE_WITH_EVENT_NAME_FROM_ADMIN_PANEL>', {
to: [{ type: TriggerRecipientsTypeEnum.TOPIC, topicKey: topicKey }],
payload: {
"NOT": ["a","b"]
},
});
how can i can send trigger to a topic, where subscriber id is not String[] ?
10 replies
NNovu
Created by Nexen on 1/2/2023 in #💬│support
api documentation is missing topics
Hello, can someone add in all endpoints for topics?
23 replies
NNovu
Created by Nexen on 1/2/2023 in #💬│support
empty data payload on fcm
14 replies
NNovu
Created by Nexen on 1/2/2023 in #💬│support
Network error on v10
11 replies
NNovu
Created by Nexen on 12/26/2022 in #💬│support
Silent push notifications
Hello, i didnt find in workflow any sign that we could send push notification with data only (does not show notification at all). Is it possible to set that up? my plan is (multiplatform) to send silent notification (whenever notification is clicked) to the rest of the devices to remove notifications with specific ids.
8 replies
NNovu
Created by Nexen on 12/21/2022 in #💬│support
socket url and authentication
Hello, i have problems with socket connection. How should the url look like and where can i get token ? from source code i see it tries to match subscriber id, but i cannot see it anywhere. im not using react or angular.
37 replies
NNovu
Created by Nexen on 12/21/2022 in #💬│support
novu trigger and scaling question
Hello, My system has subscribe model, user can subscribe to post and comments. When user creates post (and user is subscribed) i have to send thousands of notifications, when someone comments, send to all except owner of comment. Another case is, im holding device group on my own for now. My frontend is flutter. Shame that i cant use your components 🙂 Questions: 1) multiple subscriberIds in novu trigger or sent novu trigger per user? 2) is scaling supported on selfhost? How about sockets? 3) is there a way if user has multiple devices, when notification is clicked on one device, its removed from other devices?
26 replies