Skip to content
Browse the docs

Slack bots

Connect a Slack workspace to Nested, start agent tasks from mentions, channel messages, or emoji reactions, and post the agent’s answer back to Slack.

Updated 1 min readView as MarkdownOpen in Nested

Some work starts in Slack. Connecting a Slack workspace lets an agent take requests from channels as Nested tasks and reply in the thread, instead of running a separate bot. Use a Slack trigger in Automations for most setups; raw channel bindings remain for agent-level routing.

Before you start#

  • Have permission to install apps in the Slack workspace.
  • Open Automations and use the Integrations card to connect Slack, or Add workspace on the Slack bots page. A Slack workspace can be connected to only one Nested team. Enterprise Grid org-wide installs are not supported.
  • Invite the Nested bot to each channel it should hear.

Start work with an automation#

  1. Create an automation and add a Slack trigger.
  2. Pick the Slack workspace and a Channel, or Any channel.
  3. Pick Events: App mention (the Nested bot is mentioned), New message in channel (optionally Only if the message contains a word), or Emoji reaction with the emoji’s Slack name, such as eyes.
  4. Optional: turn on Reply in thread to post the agent’s completion on the originating thread.
  5. Optional: under While it runs, let the agent read recent messages in one channel; under When it finishes, post the final message to a channel.

Raw channel bindings#

From an agent’s settings → Automations → Slack, open the Slack bots page. Channel bindings map channels to agents; All other channels is the catch-all for unbound channels. Select Add binding, choose the channel and agent, enter Events as comma-separated Slack event types (default app_mention), and turn Reply in thread on or off. Delete a binding to stop a channel from creating tasks.

Example#

Bind #launch-help to your support agent with App mention and Reply in thread. A teammate writes “@Nested what changed in the last release?”; a task starts in Nested and the agent’s answer lands in the thread.

Questions

Why doesn’t the bot react to messages in my channel?
Invite the Nested bot to the channel. Events fire only in channels the bot is in.
Can I connect the same Slack workspace to two Nested teams?
No. An owner or admin of the team that already has it must disconnect it first.