# Slack integration

Connect Slack, link your account, and set personal triggers or channel automations.

Open **Integrations > Slack** to connect your Slack workspace. Slack sends you back to `/integrations/slack` after installation.

## [Connection](/content/docs/integrations-slack#connection/index.html)

Select **Connect Slack** to install Talyn. Then select **Link my Slack account** to connect your Slack identity.

Invite the bot with `/invite @Talyn` in each channel you want it to read. Talyn only sees channels it joined.

Older Slack installs must reinstall the app before an automation can reply. Replies need the `chat:write` permission.

## [Personal triggers](/content/docs/integrations-slack#personal-triggers/index.html)

Choose a trigger emoji, mention `@Talyn`, or send the bot a direct message. These triggers start your session.

A bot mention uses the personal trigger. It does not start a channel automation.

See [Slack sessions](/content/docs/slack/index.html) for repository selection and progress reactions.

## [Channel automations](/content/docs/integrations-slack#channel-automations/index.html)

Channel automations are rolling out behind the `slackChannelRules` flag. Create them under **Integrations > Slack > Automations**.

Each automation runs on a new message in a channel. Choose the Slack workspace and one or more channels.  
Add **Text contains** to match words. Select **Include thread replies** to let replies inside threads start the automation.

By default, anyone in the channel can start an automation. This includes apps and bots, so an alert from incident.io or Alertmanager can start a session.  
The editor has no setting for this. To allow only people who linked their Slack account, or only given Slack user IDs, set the rule through the [Talyn MCP server](/content/docs/mcp/index.html).  
Messages from Talyn itself never start an automation.

Talyn reads the full message, including the blocks and attachments that apps use. **Text contains** matches that full text.

Choose one or more actions:

| Action | What it does |
| --- | --- |
| **Start a session** | Choose a repository or **Let Talyn choose**. Set the prompt, model, and internet access. |
| **Reply in the thread** | Post text in the message thread. Use `{{session.url}}` or `{{message.permalink}}` in the text. |
| **Add a reaction** | Add an emoji to the message. |

The workspace owner pays for the box-hours that an automation uses. Select **Show history** on an automation to see each result. A run that starts a session links to it.
