Skip to main content
Bots are the core of Chatbot Platform. They connect your AI backends to messaging platforms, manage conversations, and provide a seamless experience for your users.

Overview

A bot is a configured instance that:
  • Connects to Channels: Links to one or more messaging platforms (Telegram, Slack, Discord)
  • Uses Integrations: Forwards messages to AI backends for response generation
  • Manages Conversations: Tracks message history and context
  • Applies Behaviors: Controls typing indicators, message detection, and response formatting
Bot overview page

Creating a Bot

1

Navigate to Bots

From your dashboard, click Bots in the sidebar.
Bots page
2

Fill in Details

Click Create Bot and provide:
  • Name: A friendly name for internal reference
  • Description: Optional description of the bot’s purpose
Create bot form
3

Configure Settings

After creation, you’ll see the bot overview where you can configure behaviors, add integrations, and connect channels.
Bot created successfully

Bot Components

Behaviors

Control how your bot interacts with users:

Typing Indicators

Show “thinking” messages while generating responses

Should Respond Detection

Determine which messages belong together in a conversation

Integrations

Connect your bot to AI backends:

Webhook Setup

Configure connections to OpenAI, Anthropic, or custom APIs

A/B Testing

Compare multiple AI backends with weighted distribution

Custom Headers

Add authentication and custom headers to requests

Channels

Deploy your bot to messaging platforms:

Telegram

Connect to Telegram with bot tokens

Slack

Integrate with Slack workspaces

Discord

Deploy to Discord servers (coming soon)

Conversations

Manage message history and context:

Conversation Overview

View and manage bot conversations

Message History

Configure context window size

Default Integration

Every bot comes with a default “echo” integration that simply returns the user’s message. This is useful for:
  • Testing channel setup before connecting a real AI backend
  • Debugging webhook delivery
  • Understanding message flow
Replace the echo integration with a real AI backend when you’re ready.

Multiple Channels

A single bot can be connected to multiple channels simultaneously. This allows you to:
  • Deploy the same bot across Telegram, Slack, and Discord
  • Use one AI backend for all platforms
  • Maintain separate conversation contexts per platform
  • Centralize bot management

Bot Settings

Configure these settings for each bot:
SettingDescriptionDefault
NameDisplay name for internal referenceRequired
DescriptionOptional purpose descriptionEmpty
Typing IndicatorsShow “thinking” messagesEnabled
Message DetectionConversation grouping strategyPlatform-specific
Context WindowNumber of messages to include10

API Access

Manage bots programmatically using the API.
curl -X POST https://api.chatbotplatform.io/v1/bots \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My Bot",
    "description": "A helpful AI assistant"
  }'
curl https://api.chatbotplatform.io/v1/bots \
  -H "Authorization: Bearer YOUR_API_KEY"
curl -X PATCH https://api.chatbotplatform.io/v1/bots/bot_123 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Updated Bot Name",
    "description": "New description"
  }'
curl -X DELETE https://api.chatbotplatform.io/v1/bots/bot_123 \
  -H "Authorization: Bearer YOUR_API_KEY"

Complete API Reference

View the full API specification with all endpoints, parameters, and response schemas.

Next Steps

Configure Behaviors

Customize how your bot responds

Add Integrations

Connect AI backends

Connect Channels

Deploy to messaging platforms

View Conversations

See bot conversations and history