Setup
1. Create a Slack App
- Go to api.slack.com/apps and create a new app
- In OAuth & Permissions, add bot scopes:
chat:write,app_mentions:read,channels:history,im:history,groups:history - In Socket Mode, enable it and create an App-Level Token with
connections:writescope - In Event Subscriptions, subscribe to
app_mentionandmessage.im - Install the app to your workspace
2. Configure in Lukan
Configuration
| Field | Description |
|---|---|
botToken | Bot User OAuth Token (xoxb-...) |
appToken | App-Level Token for Socket Mode (xapp-...) |
allowedChannels | Channel IDs where the bot responds (empty = everywhere) |
allowedUsers | User IDs allowed to interact (empty = all) |
prefix | Command prefix filter |
Pipeline Approvals
Slack works as a notification channel for approval gates. You can use:- Channel ID (
C01ABC123) — sends to the channel - User ID (
U01XYZ789) — sends a DM to the user
