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

# Slack

# Slack

The **Slack** node lets you interact with Slack from within an orchestration — send messages, manage channels, look up users, upload files, and more.

<img src="https://mintcdn.com/subverse-611dde60/UZLalX8VX2i72yfQ/images/agentverse/slack-action-node.png?fit=max&auto=format&n=UZLalX8VX2i72yfQ&q=85&s=311d1889007c2f3a3980fd22266bd5b6" alt="Slack Node" width="806" height="1358" data-path="images/agentverse/slack-action-node.png" />

***

## Credentials

This node requires a **Slack OAuth2** credential.

To create a credential:

1. Go to **Settings → Credentials → New Credential**
2. Select **Slack OAuth2**
3. Authenticate with your Slack workspace

***

## Operations

### Message

| Operation       | Description                         |
| --------------- | ----------------------------------- |
| `Send`          | Post a message to a channel or user |
| `Update`        | Edit an existing message            |
| `Delete`        | Delete a message                    |
| `Get Permalink` | Get a permanent link to a message   |
| `Search`        | Search messages in a workspace      |
| `Reply`         | Reply to a message in a thread      |

### Channel

| Operation     | Description                                |
| ------------- | ------------------------------------------ |
| `Archive`     | Archive a channel                          |
| `Close`       | Close a direct message channel             |
| `Create`      | Create a new public or private channel     |
| `Get`         | Retrieve details of a channel              |
| `Get Many`    | List multiple channels                     |
| `History`     | Retrieve messages from a channel's history |
| `Invite`      | Invite a user to a channel                 |
| `Join`        | Join a channel                             |
| `Kick`        | Remove a user from a channel               |
| `Leave`       | Leave a channel                            |
| `Member`      | List members of a channel                  |
| `Open`        | Open a direct message channel              |
| `Rename`      | Rename a channel                           |
| `Set Purpose` | Set the purpose (description) of a channel |
| `Set Topic`   | Set the topic of a channel                 |
| `Unarchive`   | Unarchive a channel                        |

### User

| Operation        | Description                         |
| ---------------- | ----------------------------------- |
| `Get`            | Get a user's profile by ID or email |
| `Get Many`       | List users in a workspace           |
| `Get Status`     | Get a user's current status         |
| `Update Profile` | Update a user's profile fields      |

### File

| Operation  | Description                |
| ---------- | -------------------------- |
| `Get`      | Get file metadata          |
| `Get Many` | List files in a workspace  |
| `Upload`   | Upload a file to a channel |
| `Delete`   | Delete a file              |

### Reaction

| Operation | Description                       |
| --------- | --------------------------------- |
| `Add`     | Add a reaction emoji to a message |
| `Get`     | Get reactions on a message        |
| `Remove`  | Remove a reaction from a message  |

***

## Parameters: Send a Message

| Parameter           | Type       | Required | Description                                                                                                                                                     |
| ------------------- | ---------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Send Message To** | Select     | Yes      | The destination: a channel or a user                                                                                                                            |
| **Message Type**    | Select     | Yes      | `Simple Text Message` — plain text with markdown support; or `Blocks` — use Slack's Block Kit UI builder for rich messages with form fields, sections, and more |
| **Message Text**    | String     | Yes      | The message text to post. Supports [Slack markdown](https://api.slack.com/reference/surfaces/formatting).                                                       |
| **Options**         | Collection | No       | Additional options (thread reply, username override, icon emoji, etc.)                                                                                          |

***

## Output Data

A successful `Send Message` operation returns:

```json theme={null}
{
  "ok": true,
  "channel": "C012AB3CD",
  "ts": "1678901234.000100",
  "message": {
    "text": "Hello from AgentVerse!",
    "type": "message",
    "user": "U012AB3CD"
  }
}
```

Reference fields in downstream nodes:

```
{{ slack.ts }}
{{ slack.channel }}
```

***

## Related Nodes

* [Slack Trigger](./slack-trigger.md) — Trigger an orchestration from a Slack event
* [AI Agent](./ai-agent.md) — Generate message content with an LLM before sending
