N
Novu•3mo ago
martzoukos

How to route Slack alerts to tenants

Hello, I'm planning to allow my app's users to enable Slack notifications for tenant-wide events (for example, my app has a helpdesk component so whenever a new conversation is created, I need to send a notification to a channel in that specific tenant). However, when playing with the integration I see that there is no tenantID connection of the Slack app, just the "Shareable URL" which has the subscriber ID in the URL. Here's the set up of my app to help out with what I'm trying to achieve: - My app has Organizations, which are mapped to Novu Tenants - My app has Users, which are mapped to Novu Subscribers - These Users can belong to 1-n Organizations Can you help me set this up so that: - A User installs the my Slack app (and thus the novu integration) in their own Slack - Whenever there is a new Conversation in my app they, and only they, receive a notification Thank you in advance!
3 Replies
martzoukos
martzoukos•3mo ago
Had some thought over this. Is the answer to create separate Integrations and Workflows per Company (tenant) and apply the appropriate Condition? 😯 I would really love some guidance as I have a customer waiting on this integration and I'm wondering if there is a generic way to do this or if I should just go ahead and create a custom workflow+integration for them. Thank you again!
Pawan Jain
Pawan Jain•3mo ago
@martzoukos Thanks for sharing the usecase and apologies for delay in response. @martzoukos , you will have to create n integrations for n tenants and use tenants conditions with each slack provider integration https://docs.novu.co/concepts/tenants#integration-level-customizations
martzoukos
martzoukos•3mo ago
That answers my question. Thank you @Pawan Jain !
Want results from more Discord servers?
Add your server