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

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Slack

> Read conversations, send messages, upload files, and react to Slack events from TypeScript automations.

Import Slack actions and triggers from `automate.ax/slack`. Actions accept plain
values or compatible signals; triggers return signals containing normalized
Slack event data.

```ts theme={null}
import { automation } from "automate.ax"
import { onAppMention, replyToThread } from "automate.ax/slack"

export default automation("Answer Slack mentions", () => {
  const mention = onAppMention()

  replyToThread({
    conversation: mention.conversationId,
    text: "Thanks — I’m looking into it.",
    threadTimestamp: mention.message.timestamp,
  })
})
```

## Accounts

Leave `account` unset to use the project's default Slack binding, or pass a
binding for another workspace. See [Integration accounts](/concepts/integration-accounts).
Trigger account selection must be static.

Slack uses opaque conversation IDs and message timestamps as identifiers. Keep
the `conversationId` and `timestamp` returned by message actions and triggers;
follow-up actions usually need both.

## Explore Slack

<CardGroup cols={2}>
  <Card title="Send messages" href="/reference/integrations/slack/actions/send-message">
    Send, reply to, edit, delete, and schedule Slack messages.
  </Card>

  <Card title="Read conversations" href="/reference/integrations/slack/actions/get-conversation-history">
    Find conversations, list their members, and read message history.
  </Card>

  <Card title="Upload files" href="/reference/integrations/slack/actions/upload-file">
    Upload a file privately or share it in a conversation or thread.
  </Card>

  <Card title="Slack triggers" href="/reference/integrations/slack/triggers/on-message-posted">
    Start automations from messages, mentions, and reaction changes.
  </Card>
</CardGroup>
