Slack Notifier Adapter
- Eliot Muir
- Aryn Wiebe
Need some help? Contact us:
If you want to Speed up your processes with good Slack Notifications, follow along below for how you can go about doing it.
You will need a Slack account that you control - if you don’t already have one then Get a free Slack Account
You will also need to have IguanaX installed - see Installation.
Import the Slack Notifier component - see Create a Componentif you need a reminder on how to do this from the dashboard.
We need to go through’s Slack’s process to create a Private app. Effectively we need to set up a password that Iguana can use to talk to Slack.
Go to https://api.slack.com/
You need to be logged in and have the right permissions. Slack’s user interface can be a pain in the butt here since if you’re not logged in, it will take you to the application rather than staying on the API page. If that happens, you will need to go back to https://api.slack.com/. Make sure you select your workspace.
This is one way to find it, from the home page
Then:
Name it anything you like. “Brad” ?
The screen snap below shows what is involved - you will need to have a good sense of imagination and remember it is your workspace and not iNTERFACEWARE (that’s my workspace )
Getting tired yet lol! I know it’s a big GUI to wade through:
This is common concept when setting up a Private app. We have to tell Slack what the app is allowed to access.
The trick here is to enter the scopes you are searching for like for chat:write.public we have:
Some actions (scopes) require other permissions to work, so Slack will prompt you about getting those permissions as well.
Repeat rinse with users:read.email
After this you should see:
You will scroll to the top of the screen for this:
then you will see something like:
and then you get the gold - the Api Key which Slack calls a Bot User OAuth Token.
Copy paste it into the Key (see Custom Fields ) for the Slack Notifier component:
Create a new Slack Channel to receive notifications. This channel must be public.
Each Channel in Slack has a unique ID. To find it, in the regular Slack application, right click on a channel you want to write to the app and select the View channel details
You will see something like this:
Copy the Channel ID into the ChannelID Custom Fields of the notifier component:
The email will be used to tag a user in your Slack notification.
Can you start to see how easy it will be to Speed up your processes with good Slack Notifications and eliminate communication bottlenecks?
Now life gets interesting when you think about how to apply this.
Take a look at SLACK Library for more information on the concepts used in building and adapting this component.