#️⃣Slack
This page is the guide for slack integration.
Last updated
This page is the guide for slack integration.
Last updated
Slack is a messaging application designed for businesses that enables individuals to access the information they require. By uniting people to function as a cohesive team, Slack revolutionizes the way organizations communicate.
For more information about Slack, click here.
Head to this link and click on Create New App > From scratch
Enter your app name and select your slack workspace.
Then click on Create App
Go to OAuth & Permissions page.
Copy OAuth Redirect URL from Plumber and add it in Redirect URL. Click on Save URLs.
Go to Bot Token Scopes and add chat:write.customize
along with chat:write
scope to enable the bot functionality.
Go back to Basic Information on the left sidebar.
Scroll down to App Credentials.
Copy Client ID into the API Key field in Plumber
Copy Client Secret into the API Secret field in Plumber
Click on Submit.
A new window with the Slack consent screen will pop up.
Click on Allow.
Your Slack integration is now ready!
If you do not find your channel in the dropdown list, ensure that the channel is Public or the user that your API token is created under has access to the channel.
Public channel
Select from the dropdown list of channels.
Private channel
To send to private channels, you would need the Slack ID of the private channel. To retrieve this:
start by typing /display ids
into any conversation on Slack.
Select the built-in shortcut Display IDs
Copy and paste the selected conversation/channel ID into Plumber and click Use: <CHANNEL_ID>
You can now either send as yourself (i.e. Send as bot? False) or invite the app into the private channel to send as a bot.
To mention users, use the following format: <@USER_ID>. e.g.:
To get the user's ID, click on the overflow button in their Slack profile, and choosing the Copy member ID
option.
To mention user groups, use the following format: <!subteam^ID>, e.g.:
You can also manually retrieve a specific user group's ID by clicking Copy group ID
in the overflow menu.
If false
, the message will be sent as yourself.
Select the private channel in the dropdown as shown in the screenshot below.