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

# Slack

> Connect Slack for notifications, channel operations, and approval workflows.

## Overview

The Slack connector posts messages, lists channels, and creates channels from
CaseBender workflows. It supports bot tokens and authorization-code OAuth.

## Configure with OAuth

<Steps>
  <Step title="Create a Slack app">
    Configure the CaseBender callback URL shown by **Settings → Integrations → Add integration**
    and grant only the scopes required by your workflows.
  </Step>

  <Step title="Authorize">
    Choose **Slack OAuth App**, enter the client ID and secret, then select
    **Connect with OAuth**. CaseBender verifies signed state and PKCE before
    storing the returned token.
  </Step>

  <Step title="Create a connection">
    Bind the OAuth credential to `https://slack.com` and run the connection
    test.
  </Step>
</Steps>

## Available actions

* Test authentication
* List channels
* Post messages and Block Kit payloads
* Create channels

<Warning>
  OAuth client secrets and access tokens are encrypted and never displayed after
  the authorization flow completes.
</Warning>
