# Slack for Raycast

URL: https://www.raycast.com/mommertf/slack

> Search Slack channels and messages, open chats, send messages, see unread messages, snooze notifications and set your Slack status.

- Install: raycast://extensions/mommertf/slack
- Author: [Momme](https://www.raycast.com/mommertf)
- Installs: 355,675
- Platforms: macOS, Windows
- Categories: Communication, Productivity, AI Extensions
- Updated: 2026-11-18
- Source: https://github.com/raycast/extensions/tree/f8e165c85832e16d9c24152bbb98b4871b954fc8/extensions/slack/

## Commands

- **Open Channel**: Search for all workspace members, group chats, and channels and open them directly in your Slack app.
- **Search Messages**: Search for Slack messages.
- **Send Message**: Send a message to a channel or user in Slack.
- **Open Unread Messages**: Open an overview of unread messages directly in your native Slack app.
- **Unread Messages**: Browse through unread messages within direct messages, channels and groups.
- **Set Snooze**: Set settings for how long you want to snooze notifications.
- **Set Presence**: Let Slack decide automatically how to show your presence status or force it to be shown as offline.
- **Search Emojis**: Search custom emojis in your Slack team.
- **Set Status**: Set your status.

## AI tools

- **Users**: Search workspace members by name, username, email, or job title to mention in AI Chat.
- **Channels**: Search public and private channels by name to mention in AI Chat, listing your own channels by default.
- **Read Canvas**: Read an existing Slack canvas by URL or ID as Markdown and HTML, with a content snapshot and section IDs from a text/type lookup (headings by default). Lookup IDs have no section bodies or offsets; use specific criteria to identify exactly one target before editing.
- **Edit Canvas**: Apply one confirmed change to an existing Slack canvas after Read Canvas: insert before/after a section, insert at the start/end, replace/delete one section, or rename. Requires the latest snapshot; targeted operations require a section ID and unique lookup text. Whole-canvas replacement is prohibited. Table/rich-section replacement and deletion are refused; Slack has no documented cell/text-range edit API.
- **Get Channels**: Lists all channels in the Slack team
- **Get Channel History**: Fetches a channel's history of messages and events.
- **Read Conversation**: Read messages from a Slack channel, DM, group DM, user DM, or pasted Slack message permalink. When given a U or W user ID, it opens or finds that DM and returns its D-prefixed channel ID; use this to resolve a person before Upload Files. A permalink returns the referenced message and its thread.
- **Get Users**: List all users in the Slack team
- **Find Users**: Find Slack users by name, username, display name, or email address. Use this to resolve a person to a user ID, or to get their profile photo URL; hasCustomPhoto is false when the photo is Slack's default avatar. Before uploading files to that person, pass the user ID to Read Conversation and use its returned DM channel ID.
- **Set Status**: Set or unset the status of the current user
- **Get Emojis**: List all custom emojis in the Slack team
- **Search Messages**: Search all Messages in the Slack team
- **Read Thread**: Read a bounded page of messages in a Slack thread. Use this when the user asks to summarize, inspect, or answer questions about a specific threaded conversation. Requires the channel ID and the parent message timestamp, which can come from Get Channel History or Search Messages. The response includes hasMore and nextCursor so more messages can be fetched when needed.
- **Open Group DM**: Open or resume a Slack group DM with 2 to 8 users. Use Find Users first to resolve each person to a user ID. Do not include the authenticated user. Returns a group conversation ID that can be passed to Send Message or Upload Files.
- **Send Message**: Send a Slack message to a channel, group DM, existing DM, or user. Pass a conversation ID or user ID and the message text. When given a user ID, the tool opens or finds the DM first. For messages with file attachments, use Upload Files instead.
- **Update Message**: Edit a Slack message posted by the authenticated user. Requires the channel ID, message timestamp, and complete replacement text. Use the permalink or a read/search tool to resolve the message first when needed.
- **Add Reaction**: Add an emoji reaction to a Slack message. Requires the channel ID, message timestamp, and Slack emoji name. Use Get Emojis to discover custom workspace emoji names.
- **Reply to Thread**: Post a reply to a Slack thread. Requires the channel ID, the parent message timestamp, and the reply text. Use Read Thread first when context is needed. For replies with file attachments, use Upload Files instead.
- **Get Huddle Link**: Get a Slack Huddle join link for a channel, DM, group DM, or user. Pass a conversation ID or user ID. When given a user ID, the tool opens or finds the DM first.
- **Upload Files**: Upload one or more local files to a Slack channel, DM, group DM, or thread, optionally with message text. The channel must be a C, D, or G conversation ID; never pass a U or W user ID. For a named person, use Find Users, then Read Conversation, then pass its returned D-prefixed channel ID here. Pass multiple absolute file paths separated by newlines.
- **Download Files**: Download one or more files (attachments) from Slack to a local folder. Pass Slack file IDs, one per line; file IDs start with F and appear in the `files` array returned by Read Conversation, Read Thread, Get Channel History, or Search Messages. Files are saved to the user's ~/Downloads folder by default, or to an optional destination directory. Returns the saved absolute paths.
- **Archive Channels**: Archive one or more Slack channels. Pass channel IDs (starting with C or G), one per line; use Get Channels to resolve channel names to IDs. Returns whether each channel was archived.
- **Rename Channel**: Rename a Slack channel. Pass the channel ID (starting with C or G) and the new name without the leading #; use Get Channels to resolve channel names to IDs. Names are lowercased and spaces become hyphens. Returns the channel's new name.

## README

### Slack

This Raycast extension is the perfect companion for Slack users. It allows you to:

- Quickly open Slack channels
- Search for messages
- Mention workspace members and channels in AI Chat
- See unread messages,
- Snooze notifications
- Set your presence status
- Set your status

#### Opening channels and direct messages

The **Open Links In** extension preference defaults to **Automatic**, which uses the Slack app when detected. If channels open in your browser despite Slack being installed, choose **Slack App**. Choose **Browser** to always use the web client. Native links use the system's registered `slack://` handler, so Slack must be installed to use **Slack App**.

#### Search emojis

In the **Search Emojis** command preferences, set **Emoji Sort Order** to **Most Used**, **Alphabetical**, or **Slack's Original Order**. **Most Used** is the default and ranks emojis copied or pasted through Raycast, with usage saved per workspace on your machine. Usage in Slack itself does not count. Use **Reset Ranking** on an emoji in **Most Used** order to return it to its original position.

#### Missing Slack permissions

If Slack returns `missing_scope`, the error toast lists the required permissions when Slack supplies them. For OAuth sign-in, use **Re-authorize Slack** and reopen the command. For a personal access token, add the required **User Token Scopes** to your Slack app, reinstall the app to your workspace, and update the token in the extension preferences. Re-authorizing OAuth does not change a personal token.

#### Set your status from a deep link

The **Set Status** command accepts two optional arguments, `statusText` and `emoji`, so you can build a deep link (or a [Quicklink](https://manual.raycast.com/quicklinks)) that sets your status in one step:

```
raycast://extensions/mommertf/slack/set-status?arguments=%7B%22statusText%22%3A%22Lunch%22%2C%22emoji%22%3A%22%3Ahamburger%3A%22%7D
```

The `arguments` query parameter is a URL-encoded JSON object, for example:

```json
{ "statusText": "Lunch", "emoji": ":hamburger:" }
```

- Either argument may be omitted; only the one you provide is changed.
- `emoji` accepts a Slack emoji name with or without colons (`hamburger` or `:hamburger:`).

Statuses set this way don't auto-expire. To pick an expiration, open the command and use the **Set New Status** form.

#### How to get an access token?

If you don't want to log in through OAuth, you can use an access token instead. Here's how to get one:

1. Open https://api.slack.com/apps/
2. Click Button `Create New App`
3. Select `From an app manifest`
4. Select a workspace to which you want to grant the extension access.
5. Copy and paste the following manifest (Select `YAML`):
   _Feel free to exclude permission scope groups - see comments - if you don't want to have the full experience of this extension._

   ```
   display_information:
     name: Raycast - Slack

   oauth_config:
     scopes:
       user:
         # Command: Search & Unread Messages & Set Presence
         - users:read
         - users:read.email

         # Command: Search & Unread Messages
         - channels:read
         - groups:read
         - im:read
         - mpim:read

         # Command: Search
         - search:read

         # Command: Unread Messages
         - channels:history
         - groups:history
         - im:history
         - mpim:history

         # Command: Unread Messages (optional - needed for marking conversations as read)
         - channels:write
         - groups:write

         # Command: Unread Messages (optional - needed for marking conversations as read)
         # AI Tool: Send Message (needed to open a DM from a user ID)
         - im:write
         - mpim:write

         # Command: Set Presence
         - users:write

         # Command: Set Snooze
         - dnd:read
         - dnd:write

         # Command & AI Tool: Send Message
         - chat:write

         # AI Tool: Upload Files
         - files:write

         # AI Tool: Download Files
         # Command: Search Messages (Download Attachment)
         - files:read

         # Command: Search Emojis
         - emoji:read

         # AI Tool: Add Reaction
         - reactions:write

         # AI Tools: Read Canvas & Edit Canvas
         - canvases:read
         - canvases:write

         # Command: Set Status
         - users.profile:write
         - users.profile:read

   settings:
     org_deploy_enabled: false
     socket_mode_enabled: false
     token_rotation_enabled: false
   ```

6. Confirm creation of app
7. Press `Install to Workspace`
8. Get your personal access token from `Features -> OAuth & Permissions` (section `OAuth Tokens for Your Workspace`).
   Your personal access token will start with `xoxp-`.

#### Proxy Support

If you are behind a corporate proxy, you can configure the extension to route Slack API requests through it.

##### Configuration

The proxy URL is resolved in the following order:

1. **Raycast preference** — set the "Proxy URL" field in the extension settings (e.g. `http://proxy.example.com:8080`)
2. **`HTTPS_PROXY` environment variable**
3. **`HTTP_PROXY` environment variable**

##### Important Notes

- Proxy support applies to **Slack API calls only**. The OAuth login flow uses Raycast's built-in networking, which does not go through the configured proxy.
- If you are on a corporate network that blocks OAuth, use a **personal access token** instead (see above). Token-based authentication bypasses OAuth entirely and all subsequent API calls will use the proxy.

#### Slack API rate limits

Slack applies Web API rate limits **per API method, per workspace, per app**, using one-minute windows. The published tier number is a guaranteed floor rather than a fixed maximum; Slack allows some bursts and may change the exact allowance. Signing in again or clearing Raycast's extension cache does not reset these workspace-level app limits.

The limits most relevant to this extension are:

| Extension operation                     | Slack method                                                                         | Published limit                                                                  |
| --------------------------------------- | ------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------- |
| Search workspace members                | [`users.list`](https://docs.slack.dev/reference/methods/users.list/)                 | Tier 2: 20+ requests per minute                                                  |
| Search channels and group conversations | [`conversations.list`](https://docs.slack.dev/reference/methods/conversations.list/) | Tier 2: 20+ requests per minute                                                  |
| Search messages                         | [`search.messages`](https://docs.slack.dev/reference/methods/search.messages/)       | Tier 2: 20+ requests per minute                                                  |
| Send messages                           | [`chat.postMessage`](https://docs.slack.dev/reference/methods/chat.postMessage/)     | Special: generally 1 message per second per channel, plus a workspace-wide limit |

`users.list` and `conversations.list` are cursor-paginated, and every page is another request against that method's rate limit. Directory loading and search use Slack's recommended 200-item page size. User search scans `users.list` once, keeping a compact copy of the member list in memory and in Raycast's `Cache` (fresh for one hour, reusable for up to a day while it refreshes in the background), so later searches make no member requests. Pages are searched as they arrive, so matches appear without waiting for the whole workspace. Timeouts and server errors stop retrying after a few attempts so they surface instead of loading forever.

When a limit is exceeded, Slack responds with HTTP `429` and a `Retry-After` header containing the number of seconds to wait. The extension waits and retries automatically without showing a toast, including during AI tool calls, except for Canvas tools, which return the wait time without retrying. Although Slack applies limits per method, the Slack SDK pauses this client's request queue during the retry delay. See [Slack's rate-limit overview](https://docs.slack.dev/apis/web-api/rate-limits/) for the full tier definitions and current policy.
