> ## Documentation Index
> Fetch the complete documentation index at: https://docs.traversal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Slack

> Investigate incidents, triage alerts, and explore system behavior directly from Slack.

With the Traversal Slack bot, you can start investigations, receive reports, and ask follow-up questions without leaving Slack. Mention `@Traversal` in any channel the app has been added to, or DM it directly.

With Traversal in Slack, engineers can:

* Start investigations from any channel or DM, either by invoking Traversal manually or through configured auto-triggers.
* See investigations for incidents or alerts shared in their Slack channels or DMs.
* Ask follow-up questions in natural language to refine the analysis.
* Work alongside Incident and Alert Workers that maintain channel context and act proactively.

> [card] [Watch the demo](https://www.youtube.com/watch?v=F9XOKYv0ugU)
>
> See Traversal investigating an incident from Slack.

> [card] [Install the Slack app](https://docs.traversal.com/integrations/slack.md)
>
> Get the Traversal Slack app into your workspace, including SaaS, single-tenant SaaS, and BYOC install paths.

> [!TIP]
>
> To shape how Traversal investigates or formats its responses in a channel, set [channel custom instructions](https://docs.traversal.com/using-traversal/customization.md). They apply to every investigation in that channel.

## Commands

Traversal provides the following slash commands in Slack:

| Command | Description |
| :- | :- |
| `/traversal help` | Get documentation and instructions on how to use Traversal in Slack. |
| `/traversal register-trigger` | Create a new message trigger or channel join trigger for automatic investigations. |
| `/traversal show-triggers` | View and delete all triggers configured for your organization. |
| `/traversal show-channel-triggers` | View all triggers configured for the current channel. |
| `/traversal worker start` | Start a [Worker](https://docs.traversal.com/using-traversal/workers.md) in the current channel. |
| `/traversal worker stop` | Stop the Worker in the current channel. |

## Triggers

Triggers let Traversal automatically start investigations when certain conditions are met. There are two types.

### Message triggers

Message triggers fire when a message in a configured channel matches certain conditions, for example a keyword match or a message from a specific user. Use `/traversal register-trigger` to create one. You'll provide:

* A **channel ID** for the channel to monitor
* **Conditions** such as keyword matches or sender filters
* The **type of context** Traversal should pull into the investigation

> [!TIP]
>
> To find a channel ID, click on the channel name in Slack to open channel details. The channel ID is near the bottom.

### Channel join triggers

Channel join triggers fire when Traversal is added to a channel that matches a pattern you define. The pattern can match against the channel **name**, **topic**, or **description**. For example, it can match channels whose name starts with `inci-` or whose topic contains `alert`. If the condition is met when Traversal is added to a channel, Traversal automatically runs an investigation.

You can also specify the context source Traversal pulls into the investigation:

* Channel topic
* Channel description
* Message content
* Message thread content

### Managing triggers

Use `/traversal show-triggers` to view and delete triggers across your organization. Use `/traversal show-channel-triggers` to see only the triggers configured for the current channel.

## Traversal Workers

Traversal can also work in a channel continuously as a [Worker](https://docs.traversal.com/using-traversal/workers.md), following what happens and deciding when to act without waiting for an `@Traversal` mention.

* [Incident Workers](https://docs.traversal.com/using-traversal/incident-workers.md) own live incident response from initial investigation through verified recovery and the post-mortem.
* [Alert Workers](https://docs.traversal.com/using-traversal/alert-workers.md) continuously triage alerts, reuse relevant prior work, and identify the signals that need action.

[Deploy Workers](https://docs.traversal.com/using-traversal/workers-console.md) by scanning your workspace, picking a channel, or setting an auto-deploy rule. Each Worker comes with a [scratchpad, private chat, schedules, and custom instructions](https://docs.traversal.com/using-traversal/worker-features.md), and the [Workers console](https://docs.traversal.com/using-traversal/workers-console.md) shows all your Workers in one view.

You can also start and stop a Worker without leaving Slack. The rules that apply on both platforms are in [Start and stop a Worker from chat](https://docs.traversal.com/using-traversal/worker-features.md#start-and-stop-a-worker-from-chat).

### Start a Worker

Run `/traversal worker start` in the channel you want the Worker in. A form opens with two fields:

* **Worker type**: **Incident**, **Alerts**, or **Custom**. **Incident** is the default.
* **Custom instructions**: optional for **Incident** and **Alerts**, required for **Custom**.

Click **Start Worker**. Traversal confirms privately, and the Worker posts its usual arrival message in the channel, noting that it was deployed with a Slack command.

Refusals appear in the form. If the channel already has a Worker, the form shows its type instead of the fields. For a private channel, invite `@Traversal` first.

### Stop a Worker

Run `/traversal worker stop` in the channel. The Worker signs off in the channel and names who stopped it. If the channel has no running Worker, Traversal tells you so privately.

## DM Traversal

You can message Traversal directly to start an investigation. Open the Traversal app in Slack and send it a message. You don't need to be in a specific channel.

## Investigation output

When Traversal completes an investigation, it renders the report directly in Slack. The report includes:

* Citations, with links to the observability sources referenced in the investigation.
* A link to open the investigation in the Traversal UI for more detail.
* A feedback option so Traversal can learn about your system over time.
* A memory proposal card in the thread when Traversal wants to remember something. Approve or reject it there, or in the [Knowledge Bank](https://docs.traversal.com/using-traversal/knowledge-bank.md).

## Follow-ups

Tag `@Traversal` in the same thread as an investigation report to ask follow-up questions or trigger additional analysis.

```text theme={null}
@Traversal what services were impacted?
```

```text theme={null}
@Traversal re-run this with the last 6 hours of data
```

## Cross-channel context

Traversal can pull context from any channel it has been added to. You can reference other channels to enrich an investigation or summarize activity across channels, in channels and in DMs with Traversal.

```text theme={null}
@Traversal please summarize the alerts in #alerts-prod and #alerts-staging over the last 24 hours
```

```text theme={null}
@Traversal summarize the alerts over the last 24 hours in this channel
```

```text theme={null}
@Traversal check #incidents-payments for related issues
```

> [!NOTE]
>
> Traversal can only read channels it has been added to. Add Traversal to any channel you want it to reference.

## Permissions

Traversal requests the Slack scopes below. The write scopes let it post messages, upload files, unfurl links, pin messages, and add reactions in Slack. They don't change anything in your other systems.

| Scope | Why it's needed |
| :- | :- |
| `commands` | Enable the Traversal slash commands |
| `chat:write` | Post updates, summaries, and investigation results |
| `app_mentions:read` | Respond when someone mentions `@Traversal` |
| `channels:read`, `groups:read`, `im:read`, `mpim:read` | Read basic channel/DM metadata to anchor investigations |
| `channels:history`, `groups:history`, `im:history`, `mpim:history` | When added to a channel or DM, read recent history to build context (errors, timelines) without asking people to re-type details |
| `channels:join` | Automatically join configured incident channels so Traversal is available the moment one is created |
| `files:read`, `files:write` | Ingest helpful artifacts (logs, traces) and upload images in investigation reports |
| `links:read`, `links:write` | Detect links in messages and unfurl them with relevant context |
| `pins:read`, `pins:write` | Pull context from pinned messages; pin significant milestones during incidents |
| `reactions:read` | Interpret emoji reactions on bot messages for feedback |
| `reactions:write` | React to messages, for example to signal [Alert Worker](https://docs.traversal.com/using-traversal/alert-workers.md) verdicts |
| `users:read`, `users:read.email` | Map Slack users to your Traversal account for a consistent experience |
| `incoming-webhook` | Post asynchronous alerts when no active WebSocket is available |

## Security and data handling

* **Data usage.** Slack data is used only to deliver the features described on this page. We do not use Slack data to train LLMs.
* **Transport and storage.** All traffic is encrypted in transit, tokens are stored securely, and Slack signature verification is enforced on every request.
* **Retention.** See the [privacy policy](https://www.traversal.com/legal/privacy-policy) for retention and deletion practices.

> [!NOTE]
>
> Traversal uses generative AI and may produce inaccurate or incomplete outputs. Validate recommendations before acting.

## FAQ

> [accordion] My message triggers aren't firing investigations
>
> Run `/traversal show-channel-triggers` to confirm the trigger is enabled in the intended channel. Trigger conditions are case-sensitive, so the message content must match your configured conditions exactly.

> [accordion] Who can set up triggers?
>
> Only organization admins can register, view, or delete triggers. If you run `/traversal register-trigger`, `/traversal show-triggers`, or `/traversal show-channel-triggers` and see a message that the command is restricted, ask your admin to configure the trigger for you.

## Support

Questions or issues? Email [support@traversal.com](mailto:support@traversal.com).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.