Skip to content

Slack ​

Draft replies, summarize threads, and search your Slack workspace.

FamilyCategorySub-typeAuth type
Communicationcommunicationteam-chatoauth2

Overview ​

Product URLAPI docsSupported features
https://slack.com/https://docs.slack.dev/apis/tool_discovery, health_check

Setup ​

  1. Install the connector instance.
  2. Complete the OAuth authorization flow.
  3. Sync the tools and test the connection.
  4. Review approval-gated write tools before running them.

Auth & Configuration ​

This connector does not require additional instance config.

Available Tools ​

ToolRequires approvalDescription
send_messageYesSend a message to a Slack channel or user.
list_channelsNoList all public and private channels the bot has access to.
upload_fileYesUpload a file to a Slack channel.
search_messagesNoSearch for messages matching a query across the workspace.

Use list_channels for the main execution example below because it is safe to run without approval.

Tools that require approval cannot be run with direct execution (API or CLI); they return 403. Run them through Chao instead, which applies its approval rules before acting.

Examples ​

Install ​

curl -X POST "https://api.chainabit.com/api/v1/connectors/instances" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "connectorKey": "slack",
  "displayName": "Slack"
}'

Credentials ​

curl -X POST "https://api.chainabit.com/api/v1/connectors/instances/$INSTANCE_ID/oauth/initiate" \
  -H "Authorization: Bearer $TOKEN"

Execute ​

curl -X POST "https://api.chainabit.com/api/v1/connectors/instances/$INSTANCE_ID/tools/tool_list_channels/execute" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {}
}'

Security Notes ​

  • Keep tokens, API keys, and connection strings in the encrypted credentials vault.
  • Do not allow arbitrary server URLs for remote MCP connectors.

Troubleshooting ​

  • If the health check fails, verify the token scope or credential payload and try again.
  • If the tool list is empty, re-run sync-tools after storing the latest credentials.

Back to the catalog

Built with purpose. chainabit.com