Slack
@omadia/channel-slack
Slack-Channel via Events API (Webhook, prod-empfohlen) oder Socket Mode (Fallback ohne Public-Host). Routet Slack-DMs und @Mentions in den Omadia-Orchestrator.
- latest
- v0.2.2
- license
- MIT
- versions
- 3
- author
- byte5 GmbH
install
In your omadia instance, open Admin → Registries and add this registry, then install Slack from Admin → Plugins → Store.
https://hub.omadia.aisetup guide
Create a Slack app
You create a Slack app, grant bot scopes and choose one of two transport modes. Takes about 10 minutes.
1. Create the app
- Open api.slack.com/apps → Create New App → From scratch.
- Pick a name + workspace → Create App.
2. Set bot scopes
Left sidebar → OAuth & Permissions → Scopes → Bot Token Scopes → add these:
app_mentions:read, chat:write, reactions:write, im:history,
channels:history, groups:history, mpim:history, users:read.
3. Install & get the bot token
- At the top, click Install to Workspace → Allow.
- Copy the Bot User OAuth Token (starts with
xoxb-) → paste below as Bot User OAuth Token.
4. Choose a transport
Option A — Events API (for production, public HTTPS host)
- Basic Information → App Credentials → copy the Signing Secret → field Signing Secret.
- Set the Public HTTPS Base-URL field (e.g.
https://bot.example.com). - Left sidebar → Event Subscriptions → Enable → Request URL:
<your-base-url>/api/slack/events(must be reachable, Slack verifies immediately). - Subscribe to bot events:
app_mention,message.im,message.channels,message.groups,message.mpim→ Save Changes.
Option B — Socket Mode (local / behind a firewall, no public host)
- Leave Public HTTPS Base-URL empty.
- Basic Information → App-Level Tokens → Generate Token with scope
connections:write→ copy → field App-Level Token (xapp-…). - Left sidebar → Socket Mode → Enable.
- Event Subscriptions → subscribe to the same bot events as above (no Request URL needed).
5. Invite the bot to channels
Run /invite @YourBot in each channel you want. DMs work without an
invite (if Allow direct messages is on).
versions
setup fields
Values the operator fills in at install-time.
permissions
memory
reads: [0] · writes: [0]
graph
reads: [0] · writes: [0]
network
outbound: [2]
filesystem
scratch: false