> ## 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.

# Get conversation

> Get complete metadata for a Slack conversation.

`getConversation` loads metadata for a public channel, private channel, direct
message, or group direct message by its stable conversation ID.

## Example

```ts automations/get-slack-conversation.automation.ts theme={null}
import { automation } from "automate.ax"
import { getConversation } from "automate.ax/slack"

export default automation("Get Slack conversation", () => {
  getConversation({ conversationId: "C01234567", includeMemberCount: true })
})
```

## Inputs

| Input                | Type                                             | Required | Default         | Description                          |
| -------------------- | ------------------------------------------------ | -------- | --------------- | ------------------------------------ |
| `conversationId`     | `string`                                         | Yes      | —               | Stable Slack conversation ID.        |
| `includeMemberCount` | `boolean`                                        | No       | Slack default   | Asks Slack to include `memberCount`. |
| `account`            | `string \| IntegrationAccountReference<"slack">` | No       | Project default | Slack workspace binding.             |

## Output

Returns `Signal<SlackConversation>`. It always contains `id`; applicable
optional fields include `name`, `userId`, `memberCount`, `topic`, `purpose`, and
flags describing archive, membership, privacy, sharing, and conversation type.

Because one action accepts every conversation type, the connection needs read
access for public channels, private channels, DMs, and group DMs.
