#️⃣Slack
This page is the guide for slack integration.
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.
Adding a new connection
Enter your app name and select your slack workspace.
Then click on Create App
Go back to Basic Information on the left sidebar.
Scroll down to App Credentials.
Copy Client ID into the API Key field in Plumber
Click on Submit.
A new window with the Slack consent screen will pop up.
Your Slack integration is now ready!
Send a message to a channel
Channel
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.
Message text
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.
Send as a bot?
If false
, the message will be sent as yourself.
Last updated