Slack integration misunderstanding
Hi, I would like to notify subscribers to their own slack webhooks. Why do I need to set a provider to my own slack app (the provider needs all the client ids etc) when the users credentials will contain different slack urls to their own slack app and mine will therefore never be used? I would expect it to behave like Discord provider where no credentials at the provider set up are not needes and all is done by setting the subscribers own slack url.
2 Replies
Hi @prunella, I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question.
-----------------------------
While I generate an answer, here are some sources that might be helpful:
* Slack
* Chat Channel Overview
* How to use Novu to send notifications to a Slack channel
* Update subscriber credentials
-----------------------------
Answer
The requirement to set up a provider with your own Slack app, including client IDs and other credentials, is due to how Novu integrates with Slack. Unlike the Discord webhook integration, which directly uses webhook URLs without additional provider setup, Slack integration in Novu might require a more involved configuration to manage app-level settings and permissions, which could include features not necessarily supported by just webhook URLs.
For Slack, this setup allows Novu to handle more advanced integration features, such as managing permissions and different types of Slack app interactions beyond simple messaging. The provider setup can support a variety of use cases and organizational requirements, ensuring that the integration adheres to both Slack's API requirements and the security or administrative configurations that might be necessary for your application (1) .
Despite the credentials provided at the provider level, individual user webhook URLs can still be used to route messages to specific Slack workspaces or channels, allowing for personalized notifications. This setup process ensures that all interactions are authenticated and authorized under your Slack app, leveraging Slack's security and app management features, even though the notifications are ultimately sent to different Slack URLs specified by your users.
If you have a specific scenario or need assistance configuring Slack integration to behave more like the Discord provider, I recommend exploring the detailed Slack integration documentation provided by Novu or reaching out to their community for more tailored support, (2) .