Channels
Connect your bot to messaging platforms so users can interact with it where they already are.
Overview
Your bot is always accessible via its web URL, but you can also connect it to messaging channels. Each channel requires you to create a bot or app on the respective platform and paste the credentials into the ClawBlitz dashboard.
You can enable multiple channels at once. The bot maintains separate conversation threads per channel.
Discord
Telegram
Slack
Discord
Create a Discord bot application and connect it to your ClawBlitz instance. The bot will join your server and respond to messages in channels it has access to.
Step 1: Create a Discord Application
- Go to the Discord Developer Portal
- Click New Application and give it a name
- Navigate to the Bot tab in the left sidebar
- Click Reset Token to generate a bot token
- Copy the token immediately — you will not be able to see it again
Step 2: Configure Bot Permissions
- On the Bot tab, enable the Message Content Intent toggle
- Navigate to OAuth2 > URL Generator
- Select scopes:
bot - Select bot permissions:
Send Messages,Read Message History,Read Messages/View Channels - Copy the generated URL and open it in your browser to invite the bot to your server
Step 3: Connect to ClawBlitz
- Open the ClawBlitz dashboard
- Go to Channels > Discord
- Paste your bot token
- Click Save
DISCORD_TOKEN=MTIzNDU2Nzg5MDEyMzQ1Njc4OQ.XXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXX
The bot will come online in your Discord server within a few seconds.
Telegram
Telegram bots are created through BotFather, Telegram's official bot management tool.
Step 1: Create a Bot with BotFather
- Open Telegram and search for @BotFather
- Send the command
/newbot - Choose a display name for your bot (e.g., "My ClawBlitz Bot")
- Choose a username that ends in
bot(e.g.,myclawblitz_bot) - BotFather will reply with an HTTP API token — copy it
Step 2: Connect to ClawBlitz
- Open the ClawBlitz dashboard
- Go to Channels > Telegram
- Paste the token from BotFather
- Click Save
TELEGRAM_TOKEN=1234567890:ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghi
Once connected, users can find and message your bot directly on Telegram by searching for its username.
WhatsApp integration uses the WhatsApp Business API through Meta's platform. This requires a Meta Business account and a phone number dedicated to the bot.
Step 1: Set Up Meta Business
- Go to Meta Business Suite and create or select a Business account
- Navigate to Meta for Developers and create a new app
- Select Business as the app type
- Add the WhatsApp product to your app
Step 2: Configure WhatsApp
- In the WhatsApp section, go to API Setup
- Add a phone number for your bot (you can use Meta's test number during development)
- Generate a Permanent Access Token under System Users in Business Settings
- Note down your Phone Number ID and WhatsApp Business Account ID
Step 3: Configure the Webhook
- In the WhatsApp section, go to Configuration
- Set the webhook URL to the one displayed in your ClawBlitz dashboard
- Use the verify token shown in your dashboard
- Subscribe to the
messageswebhook field
Step 4: Connect to ClawBlitz
- Open the ClawBlitz dashboard
- Go to Channels > WhatsApp
- Paste your access token, Phone Number ID, and Business Account ID
- Click Save
WHATSAPP_ACCESS_TOKEN=EAAxxxxxxxxxxxxxxxxx
WHATSAPP_PHONE_NUMBER_ID=123456789012345
WHATSAPP_BUSINESS_ACCOUNT_ID=987654321098765
Slack
Slack integration uses Socket Mode, which means your bot connects outbound to Slack — no public webhook URL is required. You need both a Bot Token and an App-Level Token.
Step 1: Create a Slack App
- Go to api.slack.com/apps
- Click Create New App and select From scratch
- Name your app and select your workspace
Step 2: Enable Socket Mode
- In the left sidebar, go to Socket Mode
- Toggle Enable Socket Mode on
- When prompted, create an App-Level Token with the
connections:writescope - Copy the App-Level Token (starts with
xapp-)
Step 3: Configure Bot Permissions
- Go to OAuth & Permissions
- Under Bot Token Scopes, add:
app_mentions:read
channels:history
chat:write
im:history
im:read
im:write - Go to Event Subscriptions, enable events, and subscribe to:
app_mention
message.im - Click Install to Workspace and authorize
- Copy the Bot User OAuth Token (starts with
xoxb-)
Step 4: Connect to ClawBlitz
- Open the ClawBlitz dashboard
- Go to Channels > Slack
- Paste your Bot Token and App-Level Token
- Click Save
SLACK_BOT_TOKEN=xoxb-xxxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx
SLACK_APP_TOKEN=xapp-1-xxxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx
Once connected, invite the bot to channels with /invite @YourBotName or message it directly.