Skip to main content
Connect Slack for operational questions, deployment context, troubleshooting, collaboration, and incident investigations. An installed app can also answer direct mentions in the same thread.

Prerequisites

An OpenCluster Admin can connect an installed Slack app or add an existing token for read-only access. To install the app, you also need permission to install apps in the Slack workspace. Ask your deployment administrator to configure the Slack app. The current installation flow requests these bot scopes:
  • channels:read, channels:history and groups:history for channel and thread reads.
  • users:read for display names.
  • app_mentions:read for direct mentions and chat:write for replies.
Mentions require event delivery from the installed app.

Connect

Start app authorization through the API, then approve access in Slack.
  1. Start the browser authorization flow with type slack.
  2. Authorize the app in Slack and return in the same browser session. Check that the Integration is verified when you return.
  3. Invite the app to the channels it should read. OpenCluster does not join channels on its own.
For read-only access with an existing token, use the Create integration operation with these settings.

Ask in Slack

Mention @OpenCluster with an operational question in a channel the installed app has joined. For example, ask “Is the checkout Deployment healthy in payments?” It can use eligible connected systems such as Kubernetes and Prometheus and replies in the originating thread. Mention it again there to continue the conversation. For these questions, Slack evidence reads are restricted to that installation and thread. They cannot search other channels or workspaces. Ordinary messages without a mention and direct-message conversation initiation are not supported. Slack participation is separate from OpenCluster API roles. Questions arrive through the authorized app installation, and channel participants can see the replies. Consider who can participate in the channel and what information other connected sources may return. A failed Slack reply does not change the stored investigation result.

Read Slack as evidence

For questions started through the Conversation API, Slack can list public channels and read permitted channel history and known threads. Access depends on the token’s scopes, channel membership, and Slack retention. Private-channel discovery is not supported. An existing user token with search:read can search discussions visible to that user, including private channels and direct messages. Use that broader access only when intended. Installed bots cannot search workspace-wide. Connecting a pasted token provides read access and cannot enable app-mention replies.

Troubleshooting

  • No messages. Invite the app and verify the channel’s history scope.
  • No reply. Check the installed app, signing secret, event subscription, channel membership and connection state. Use Verify integration for diagnosis.
  • Token revoked. Reconnect the app or replace a pasted token with a valid one. OpenCluster checks replacement credentials before saving them.
  • Reply delivery failed. An Admin can retry terminal failed work through the Slack recovery operation. A retry can occasionally duplicate a message if the earlier send succeeded in Slack.