© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
NovuN
Novu•2y ago•
7 replies
Rishabh-PriceLabs

Send customized notifications when triggering events via topic.

We have a use case where we want to send customized notifications to subscribers of a topic.
We have been sending some notifications to individual subscribers and adding some information related to the user in the payload.
body_params = {
        name: workflow_name,
        to: { subscriberId: user_id},
        payload: payload
      }
body_params = {
        name: workflow_name,
        to: { subscriberId: user_id},
        payload: payload
      }

We want to add a new type of event where we add multiple subscribers to a topic and then trigger the event.
body_params = {
        name: workflow_name,
        to: [{ type: 'Topic', topicKey: topic_key}],
        payload: payload
      }
body_params = {
        name: workflow_name,
        to: [{ type: 'Topic', topicKey: topic_key}],
        payload: payload
      }

However, we are losing the ability to send the data related to every unique user. I am not able to find anything related to this in the docs.
Novu banner
NovuJoin
Open Source Notification Infrastructure Community by Novu
4,169Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Triggering events on topics
NovuNNovu / 💬│support
16mo ago
Using Novu to send push notifications via FCM
NovuNNovu / 💬│support
2y ago
No notifications from topic
NovuNNovu / 💬│support
3y ago