N
Novu5mo ago
Ragu

User specific filter on topic subscription

I'm trying out Novu to understand the features provided for personal use. I'm looking for a feature where users subscribing to topics, can add personal filter/condition to receive the notification based on payload passed to that topic. Eg : Topic created : marketing sub-1 and sub-2 subscribed to this topic. sub-1 can add filter >> payload.type="offers" filter to receive notification from topic marketing. sub-2 can add filter >> payload.type="webinars" filter to receive notification from topic marketing. Can we achieve above with any work around using novu. The payload.type property can grow large, so I do not want to create marketing_offers, marketing_webinars topics, which I'm thinking as last resort. Any suggestions on above?
4 Replies
Dima Grossman
Dima Grossman5mo ago
Unfortuently we don't allow adding filters on topic subscriptions at the moment, but something we are looking into with the team
Ragu
RaguOP5mo ago
Thank you @Dima Grossman I would like to hear your thoughts if any on how we can create a wor around if at all possible with Novu workflow filters or any other feature.
Dima Grossman
Dima Grossman5mo ago
One option I can think of, is maybe persisteing a property on the subscriber.data field, and later use Step conditions to filter based on it?
Ragu
RaguOP5mo ago
I might have to create subscriber data specific to topic with some prefix, will give this a shot.

Did you find this page helpful?