Learn to send Slack notifications swiftly with Novu (manually managed)
Create an app from Slack's app dashboard
Select 'From Scratch' in the following dialog
Name your app and select the workspace
Click on the 'Create App' button
Slack greets you with this screen
Client Id
from the Slack Developer’s Dashboard for configuring Slack Integration in the Novu Web Dashboard later, so keep it handy.
Get 'Client Id' from the Slack developer's dashboard
Create a workflow from the Novu Web Dashboard
Drag and drop the 'chat' option
Configure the step as per your liking
Make sure that Slack integration is set to active
Client Id
. You should have it already but if you don’t, you can obtain it from the Slack Developer’s Dashboard.
Get 'Client Id' from the Slack developer's dashboard
Plug the 'Client Id' into the Slack Integration setting in Novu web dashboard
novu.js
, in our case, which is as follows:
Click the 'Get Snippet' button to get trigger code
Paste this trigger code in your backend
Turn on 'Incoming Webhooks' in your Slack app
Click the 'Add New Webhook to Workspace' button
Select the channel
Copy the webhookUrl from Slack
webhookUrl
Novu will use to authenticate when using the Slack provider.Novu.js
file we created earlier so that the final file becomes :
Add your endpoint to the redirect URL section on Slack
Our app in action!