Chat Providers Integration
Configure and manage chat providers like Slack, Microsoft Teams, WhatsApp, and Discord with Novu's notification infrastructure.
The Chat channel delivers messages to your subscribers via their preferred chat platforms and application.
Messaging platforms vs. Messaging applications
- Messaging platforms: Ideal for structured, workplace communication. Use these to notify teams or users in collaborative environments. Examples: Slack, Teams
- Messaging apps: Best for consumer-facing messaging. Engage users directly through personal or group chats. Examples: WhatsApp, Telegram, Discord
How chat delivery works in Novu
Here’s the typical flow for sending a chat notification through Novu:
Add a chat provider
Start by adding a chat provider in the integration store on your Novu dashboard.
You can connect one or more integrations for different or even the same providers, for example, multiple Slack workspaces.
To learn how to add a chat provider, refer to the setup guide for that provider.
Add the chat channel to your workflow
Next, include a Chat step in your workflow.
This step defines when and how a chat message should be sent as part of your notification workflow.
Define the chat content
Within the Chat step editor, write the message body.
The editor supports dynamic data for personalized and contextual messages.
Store subscriber credentials
Each subscriber must have valid chat credentials, such as a webhookUrl or unique identifier, to receive chat notifications.
You can store or update these credentials using the Novu dashboard, API, or SDKs.
Trigger the workflow
Trigger the workflow using your application code. Novu automatically:
- Resolves the subscriber.
- Retrieves the correct credentials, for example, the
webhookUrl. - Selects the appropriate provider.
- Renders the message.
- Delivers it to the chat platform.
Configuring chat providers
When you add a chat provider in the Integration Store, you'll configure credentials specific to that provider.
Provider authentication
You may need to provide credentials specific to your chat provider, such as an API key, Client ID, or Client Secret. However, some providers, like Discord, may not require any global credentials to be set in the Integration Store.
Each provider has different requirements.
How to manages Chat credentials
The chat channel works by storing specific credentials for each subscriber. This credential is typically a webhookUrl that tells Novu where to send a message for that specific subscriber.
Before triggering a chat notification, you must update the subscriber with this webhookUrl.
Storing subscriber credentials
Use the subscribers.credentials.update method to store the webhookUrl for a specific subscriber and provider.
Checkout the API reference for more details.
Supported providers
Here are the chat providers that are currently supported by Novu. Select any provider to see its detailed setup guide.