Skip to content

Slack

The Slack connector indexes channel and DM messages into the local SQLite index and exposes read tools across channels, DMs, threads, search, and users, plus two HITL-gated write tools for posting messages.


  • Service id: slack
  • Item types: message
Terminal window
nimbus connector auth slack

OAuth (Slack user access token). The Gateway resolves a short-lived user access token via the Slack OAuth flow (refreshed via getValidSlackAccessToken) and injects it into the connector spawn as SLACK_USER_ACCESS_TOKEN.

Tool Purpose
slack_channel_history Fetch message history for a channel, DM, or mpim.
slack_channel_list List channels the user is a member of (public, private, mpim, im).
slack_dm_history Fetch DM / mpim history (alias of channel_history).
slack_dm_list List direct message conversations (im + mpim).
slack_search Search messages (workspace search).
slack_thread_replies Fetch replies in a thread (channel + thread parent ts).
slack_user_get Get a single user profile by ID.
slack_user_list List users in the workspace (paginated).

Every tool below requires interactive consent through the Gateway HITL gate before it executes.

Tool Purpose
slack_message_post Post a message to a channel.
slack_message_post_dm Open or find a DM with user id(s) and send a message.

If you run the ChatOps bot, a write that needs a typed confirmation (for example a pull request merge) shows a card in the channel. Confirm opens a modal where the resource owner types the confirm text exactly; only that text approves, and typing approve in the channel does not. For this to work, the Slack app needs:

  • Interactivity turned on (Socket Mode needs no request URL, only the toggle; in an App Manifest, settings.interactivity.is_enabled: true). Without it the Confirm click never reaches Nimbus and the write waits.
  • The bot scope views:write (oauth_config.scopes.bot), which opens the modal. Without it Nimbus logs missing_scope and the card stays live.