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

# Slack

> Connect Slack to receive scheduled reports, query your agent data, and get real-time pattern alerts.

The Slack integration lets you receive scheduled performance reports, ask questions about your agent data directly from Slack, and get real-time pattern alerts.

<Note>
  Slack integration requires a Pro or Enterprise plan.
</Note>

## Setup

<Steps>
  <Step title="Connect your Slack workspace">
    Go to the **Integrations** page in your dashboard and click **Add Slack Workspace**. This starts an OAuth flow to authorize the bot in your Slack workspace.
  </Step>

  <Step title="Add the bot to a channel">
    In Slack, open the channel where you want to receive alerts. Go to **Channel settings** > **Integrations** and add The Context Company bot.
  </Step>

  <Step title="Subscribe the channel">
    Type `/subscribe` in the Slack channel to register it for alerts and recaps.
  </Step>
</Steps>

## Scheduled reports

Enable automated performance summaries delivered to your subscribed channels:

| Frequency | Delivery schedule |
| --------- | ----------------- |
| Daily     | Every morning     |
| Weekly    | Every Monday      |
| Monthly   | 1st of each month |

Configure reports from the **Integrations** page by toggling the frequency options. See [Recaps](/features/weekly-insights) for details on what's included in each report.

## Insight search in Slack

Mention the bot (`@The Context Company`) in any channel where it's installed to use [insight search](/features/insight-search) directly from Slack. Ask anything about your agent data and get answers in-thread.

The bot supports threaded conversations - ask follow-up questions in the same thread to drill deeper. The bot remembers the conversation context, so you can go from "What are the most common errors?" to "Show me examples of the first one" naturally.

When the bot detects a behavior worth tracking (like recurring user frustration around a specific topic), it suggests creating a [pattern](/features/patterns) with interactive buttons directly in the thread.

## Pattern alerts

When a [pattern](/features/patterns) is detected and alerts are configured, you receive a Slack notification in your subscribed channels. Configure which patterns trigger alerts and their frequency from the [Patterns](/features/patterns) page. Alert frequency options include every detection, threshold-based, or daily digest.

## Slash commands

| Command        | Description                                                |
| -------------- | ---------------------------------------------------------- |
| `/subscribe`   | Subscribe the current channel to receive alerts and recaps |
| `/unsubscribe` | Remove the current channel's subscription                  |

## Managing workspaces

View connected workspaces and subscribed channels from the **Integrations** page. You can disconnect a workspace at any time - this removes all channel subscriptions for that workspace.
