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

# Slack Bot

> Investigate incidents, get automation results, and follow up — all from Slack.

Mention @foggy in any Slack channel to start an investigation. Foggy replies in a thread with evidence, root cause analysis, and recommended actions — so the whole team sees the answer without leaving Slack.

<Info>
  For setup instructions and channel mapping, see the [Slack integration](/integrations/slack) page.
</Info>

## How it works

1. **You @mention Foggy** in any mapped channel or thread
2. **Foggy reacts with 👀** to acknowledge the request
3. **Foggy investigates** — querying your connected data sources (Grafana, Prometheus, Kubernetes, and more)
4. **Foggy replies in a thread** with findings, evidence, and recommendations
5. **Foggy reacts with ✅** when done, or ⚠️ if something needs attention
6. Every reply includes a **"View in Foggy"** link to see the full chain-of-thought in the web interface

Foggy maintains full context within a thread — mention @foggy again to ask follow-ups without repeating your original question. Automation results from [scheduled and alert-triggered investigations](/features/automations) are also delivered to Slack.

## Tips for better results

* **Be specific** — include service names, error types, and time windows ("last 2 hours", "since the deployment at 3pm")
* **Use follow-ups** — drill deeper in threads rather than starting new conversations
* **Ask from incident channels** — the whole team sees the investigation without extra sharing

## Next steps

<CardGroup cols={2}>
  <Card title="Automations" icon="clock" href="/features/automations">
    Set up scheduled and alert-triggered investigations that run automatically.
  </Card>

  <Card title="Knowledge Base" icon="book" href="/features/knowledge-base">
    Add runbooks and context so Foggy gives more accurate answers.
  </Card>

  <Card title="Connect data sources" icon="plug" href="/integrations/grafana">
    Add Grafana, Kubernetes, and more to power investigations.
  </Card>
</CardGroup>
