N
Novu4mo ago
iStun4Fun

tenant vs Topic

I want to send all notifications grouped into organizations/tenant so we are willing to: Sub the user to all that tenants to receive the notifications at db triggers. Let the user know from which tenant the notif is coming with a badge/color. My doubts are: Can I fetch all their tenants in same feed? Success/feed notification comes with what tenant is so we can print there. And the arch is like the following? Notif send to tenant Framework send to all their subs Subs receive and manage them individually How are counted this in a organization that have 10 users? As 10 actions or 1?
6 Replies
Tomer Barnea
Tomer Barnea4mo ago
Hey @iStun4Fun a couple of follow up question to make sure I understand. Is one subscriber limited to one tenant? are workflows shared between tenants?
iStun4Fun
iStun4FunOP4mo ago
no mainly This is intended for a notif infra where we would like to send to a group like organization but that would be better handled by topic i think, is there also a way that topic can be changed at the user preferences level with headless?
Tomer Barnea
Tomer Barnea4mo ago
I'd use topics for that, if the main reason you want to target them for triggers, topics would be the best option. Can you share the use case for this?
iStun4Fun
iStun4FunOP4mo ago
Yes! Its a multitenant account where u can handle more than one org and change the context between them with an easy to reach selector so this way we can filter with Front End with groups of organizations or all the notifications that are meant for that user (all the topics they are subscribed is each organization)
Tomer Barnea
Tomer Barnea4mo ago
cc @Pawan Jain
Pawan Jain
Pawan Jain4mo ago
Hey @iStun4Fun Currently, Tenants are not linked to subscribers or workflows. Tenants data can be used inside the workflow step content, in step conditions and integration conditions As per your requirement, using topic will be best choice. However topic does not have branding settings and it is not included in preferences
Want results from more Discord servers?
Add your server