Slack Connection
Connect to Slack using a Bot Token. This allows your workflows to send messages, update messages, and retrieve channel history.
Configuration
| Field | Description | Required |
|---|---|---|
| Bot Token | Your Slack Bot User OAuth Token (starts with xoxb-) | Yes |
Getting Your Bot Token
- Go to api.slack.com/apps and click Create New App
- Choose From scratch, give it a name, and select your workspace
- Go to OAuth & Permissions in the sidebar
- Under Scopes > Bot Token Scopes, add the following scopes:
chat:write— send and update messageschannels:read— list public channelschannels:history— read public channel messagesgroups:read— list private channels the bot is ingroups:history— read private channel messages
- Click Install to Workspace at the top of the page and approve
- Copy the Bot User OAuth Token (starts with
xoxb-)
Usage
Once created, this connection becomes available in:
- Slack Send Message — send a message to a channel
- Slack Update Message — update an existing message
- Slack Get Messages — retrieve messages from a channel
TIP
The bot must be invited to a channel before it can post or read messages there. In Slack, type /invite @YourBotName in the channel, or add the bot from the channel's integration settings.