> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://support.atomicwork.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://support.atomicwork.com/_mcp/server.

# Slack Enterprise Grid

> Connect the Slack Enterprise app so workflows can search channels across your Grid org and switch them between public and private.

# Slack Enterprise Grid

Connect your Slack Enterprise Grid organization to Atomicwork so **workflows** can run Slack org-admin actions. You use your own Slack app: you create it and give Atomicwork its Client ID and Client Secret.

The **Slack Enterprise** connection described here is for workflow actions. It doesn't handle chat, notifications, or bot conversations. Atom, channel routing, people sync, and Slack journey actions stay on the standard [Slack](https://support.atomicwork.com/integrations/communication-collaboration/slack) app, which keeps working alongside it.

Here's what you can do with it:

* **Make a public channel private** with `admin.conversations.convertToPrivate`, for example when a channel is flagged as sensitive.
* **Make a private channel public** with `admin.conversations.convertToPublic`.
* **Search and list channels across the org** with `admin.conversations.search`, to find the channel a workflow should act on.

To rename channels using your existing Slack connection, use a user token on the standard Slack app. That setup does not require Enterprise Grid. See [Rename channels from workflows with a user token](https://support.atomicwork.com/integrations/communication-collaboration/slack).

---

## Permissions

To connect Slack Enterprise, you need:

* **Org admin access** in Atomicwork.
* A **Slack Org Owner or Org Admin** with the **Channel Management** role and access to both public and private channels to connect the app. The app must be installed for the whole Grid organization.

Atomicwork asks for these Slack permissions:

| **Token**                           | **Permission**              | **Why**                                                                                                     |
| ----------------------------------- | --------------------------- | ----------------------------------------------------------------------------------------------------------- |
| Bot                                 | `team:read`                 | Slack needs at least one bot permission to install the app. Used only to read basic org and workspace info. |
| User (Org Owner/Admin who connects) | `admin.conversations:read`  | Find and list channels across the org                                                                       |
| User (Org Owner/Admin who connects) | `admin.conversations:write` | Change a channel between public and private                                                                 |

These scopes do not grant access to message history, file contents, or user profiles. Channel search returns channel information, including private channels the admin can manage.

---

## Setup

### Step 1: Create a separate Slack app

Keep your existing Atomicwork Slack app connected. Create a new app for this organization-wide admin connection.

* Go to [api.slack.com/apps](https://api.slack.com/apps) and click **Create New App > From scratch**.
* Give the app a recognizable name, such as **Atomicwork Channel Admin**, and select a workspace in your Enterprise Grid organization. You will authorize the organization-wide installation in Step 6.

### Step 2: Add the redirect URL

Under **OAuth & Permissions > Redirect URLs**, add the URL for your Atomicwork region:

* **US:** `https://esd.atomicwork.com/api/external-oauth/public/install`
* **EU:** `https://esd.podeuw.atomicwork.com/api/external-oauth/public/install`

### Step 3: Add the permissions

Under **OAuth & Permissions > Scopes**, add:

* **Bot Token Scopes:** `team:read`
* **User Token Scopes:** `admin.conversations:read`, `admin.conversations:write`

### Step 4: Allow org-wide install

Under **Org Level Apps**, opt in to organization-wide deployment so the app can be installed across the whole organization.

### Step 5: Copy the app credentials

From **Basic Information > App Credentials**, copy the **Client ID** and **Client Secret**.

### Step 6: Connect in Atomicwork

* Go to **Settings > Enterprise integrations > App store > Slack Enterprise**.
* Paste the **Client ID** and **Client Secret**, and click **Connect**.
* On the Slack authorization screen, select your **organization**, rather than an individual workspace, and approve the installation.

The person who connects must be a Slack **Org Owner or Org Admin** with the **Channel Management** role covering both public and private channels.

---

## Use Slack Enterprise in workflows

Add **Slack Enterprise > Call API (User Token)** to a workflow. For example, to make a channel private:

* **Method:** `POST`
* **URL:** `https://slack.com/api/admin.conversations.convertToPrivate`
* **Body:**

```json
{"channel_id": "C0123456789"}
```

Replace `channel_id` with the channel you want to change. The action supplies the saved user token automatically.

To make a private channel public, use the same method and body with `https://slack.com/api/admin.conversations.convertToPublic`. Review the channel's contents before changing its visibility.

To search for a channel, use **Slack Enterprise > Call API (User Token)** with:

* **Method:** `POST`
* **URL:** `https://slack.com/api/admin.conversations.search`
* **Body:**

```json
{
  "query": "inc-1234",
  "limit": 20
}
```

Search takes `query`, not `channel_id`. Use a channel ID from the search response in a separate visibility-change action. If the response includes `next_cursor`, pass it as `cursor` in the next search request to retrieve more results.

Check the response body for `"ok": true`; an HTTP success response alone does not confirm that Slack completed the action. For full parameters, see Slack's [channel search](https://docs.slack.dev/reference/methods/admin.conversations.search/) and [convert to private](https://docs.slack.dev/reference/methods/admin.conversations.convertToPrivate/) references.

Good to know:

* The admin actions run as the Org Owner or Org Admin who connected the app.
* **Call API** (bot token) is also available. It can only use the bot permission (`team:read`).

---

## Troubleshooting

If Slack returns `not_allowed`, check three things:

* The app is installed org-wide.
* The person who connected is an Org Owner or Org Admin with the Channel Management role and access to both public and private channels.
* The user permissions listed under **Permissions** were approved.

If the workflow says the user token is missing or invalid, reconnect **Slack Enterprise** with an authorized org admin and approve the user scopes again. Choose **Call API (User Token)** for the admin methods; the bot-token **Call API** action cannot use these user permissions.