# Connect Slack

Connect Slack channels to dimmi so customer threads become conversations, replies sync both ways, and your team can triage from Slack.

Connect your Slack workspace in **Settings → Integrations**. Threads that need help become conversations in your default inbox, and replies flow both ways between Slack and dimmi.

One dimmi workspace connects to one Slack workspace. dimmi only watches channels you invite the dimmi app into, and each channel has its own [room mode](/channels/slack-room-modes/), trigger, and AI settings.

## Triggers

Each channel's trigger decides which top-level customer messages open a new conversation.

| Trigger | Opens a conversation when |
| --- | --- |
| **Each new question** | A customer posts a message. Follow-ups within 2 minutes join the same thread while no one has answered (default). |
| **Every message**, **Every post** | Every single customer message. |
| **Requests the AI spots** | Messages the AI recognizes as support requests. |
| **When someone reacts** | Anyone reacts to a message with `:ticket:`. |
| **When the app is mentioned** | Someone mentions the dimmi app. |
| **Never** | Never opens new conversations from top-level posts. |

Across every trigger:

- **Noise stays out:** short "thanks" replies do not open conversations, and bot messages are ignored.
- **Thread replies:** a customer reply inside a thread continues its conversation (or opens one, unless the trigger is **Never**).

## Use the dimmi agent in Slack

Tick **Slack** under **Settings → dimmi agent → Where & when → Channels** to let the default agent help in Slack. To give one Slack channel its own agent, place that agent on the channel in [Agent Studio](/ai/multiple-agents/#place-an-agent). Then pick a mode per channel:

- **Answer in the thread:** the agent replies to the customer in Slack (default).
- **Draft for review:** the agent posts a suggested reply under the conversation's triage card for a teammate to approve and send. Without a triage channel, linked teammates see the draft privately in the channel.

You can set a delay of up to 900 seconds before the agent answers. It always steps back if a teammate replies in the thread or if the customer mentions a teammate.

Under each agent reply, only the customer who asked can click **Solved** to close the conversation.

## Work from Slack as a teammate

dimmi links a Slack user to a dimmi teammate automatically when their Slack email matches a verified sign-in email of an active workspace member.

- **Reply in a customer's thread:** dimmi records your Slack reply as your public answer in the inbox.
- **Reply under a triage card:** saves as an internal note the customer never sees. Start a message with `>>` to send it as a public reply to the customer. Choose your triage channel under **Post new conversations to**.
- **Emoji shortcuts on the first message:** react with `:white_check_mark:` to close, `:eyes:` to assign to yourself, or `:rotating_light:` to mark urgent.

## What happens when Slack is disconnected

dimmi only keeps Slack data while its app is installed. The connection ends when someone uninstalls the dimmi app in Slack, Slack revokes its token, or a teammate disconnects Slack in **Settings → Integrations**.

- **Immediately:** dimmi wipes the stored Slack tokens and stops watching every channel.
- **For 10 days:** everything stays as it was. Connect the same Slack workspace again and nothing is lost.
- **After 10 days:** dimmi deletes what came from Slack, for good.

| Deleted | Kept |
| --- | --- |
| The text and files of every message that came from Slack: your customers' messages, and replies your teammates wrote in Slack | The conversations themselves and the replies your team wrote in dimmi, so reports and counts do not change |
| Slack user, team, channel and thread identifiers, and the channel settings | Conversations from every other channel |
| Customers known only from Slack, and the Slack link on any other customer | Customers who also reached you another way |
| Links between teammates and their Slack users, and Operator chats held in Slack | Teammates and their dimmi accounts |

The deletion is recorded in the [audit log](/workspace/audit-log/) as `slack_data.deleted`, with counts only. Connecting Slack after the deletion starts from scratch.

On a self-hosted install, `channels.slack.data_deletion_grace_days` sets the wait. It defaults to `10` and cannot exceed `14`, the deadline Slack gives apps.

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
