logoRocketFlow

Slack

Connect your Slack workspace to your RKT chatbot

Slack Integration

Let your chatbot respond to messages in Slack channels and DMs.

Prerequisites

You need a Slack app. Create one if you don't have one.

Setup

Configure Your Slack App

In your Slack app settings:

OAuth and Permissions — Add these Bot Token Scopes:

  • app_mentions:read — Detect when the bot is mentioned
  • chat:write — Send messages
  • channels:history — Read channel messages
  • im:history — Read DM messages
  • im:write — Send DMs

Event Subscriptions — Enable and set the Request URL:

https://app.getrocketflow.io/api/webhooks/slack-bot

Subscribe to these bot events: app_mention, message.im

Connect in RKT

  1. Go to Integrations > Slack in the RKT dashboard
  2. Enter your credentials:
FieldWhere to find it
Bot TokenOAuth and Permissions > Bot User OAuth Token (xoxb-...)
Signing SecretBasic Information > App Credentials
App Token (optional)Basic Information > App-Level Tokens (xapp-...)
  1. Click Connect

Install the App to Your Workspace

In your Slack app settings, go to Install App and click Install to Workspace.

How It Works

User mentions @your-bot or sends a DM
  → Slack webhook → /api/webhooks/slack-bot
  → RKT looks up chatbot by team ID
  → AI generates response
  → Reply posted in the same thread
  → Conversation visible in RKT inbox

Features

  • Respond to @mentions in channels
  • Handle DM conversations
  • Thread support (replies in-thread)
  • Native Slack message formatting
  • Streaming responses with post+edit

Tips

  • Install per customer: Each customer creates their own Slack app and connects it to their chatbot
  • Channel selection: Add the bot to specific channels where you want it active
  • Slash commands: You can add custom slash commands in the Slack app settings

Last updated on