Deploy multiple specialized bots on the same platform with unique tokens and role-specific routing.Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
Quick Start
Run onboard wizard
Start the wizard and choose your platform:Choose
telegram for your first platform, then when prompted “Add another bot channel?” answer Yes and enter roles like cfo, ops, content.How It Works
Multi-channel setup routes each bot to its specialized agent based on the channel configuration.Environment Variable Convention
Follow this exact naming pattern for multiple bots on the same platform:| Channel key | Environment Variable | Bot Purpose |
|---|---|---|
telegram_cfo | TELEGRAM_CFO_BOT_TOKEN | CFO-related tasks |
telegram_ops | TELEGRAM_OPS_BOT_TOKEN | Operations tasks |
telegram_content | TELEGRAM_CONTENT_BOT_TOKEN | Content creation |
telegram_support | TELEGRAM_SUPPORT_BOT_TOKEN | Customer support |
<PLATFORM>_<ROLE>_BOT_TOKEN (uppercase, role separated by underscore).
Example Configuration
Thisbot.yaml shows a complete multi-channel workforce setup:
Common Patterns
- Single platform, multiple roles
- Cross-platform workforce
Deploy multiple specialized bots on one platform:
Validation with praisonai doctor
The multi_channel_tokens check validates your setup:
PASS Conditions
- Each channel has a unique environment variable
- Each environment variable resolves to a unique token value
- Follows
PLATFORM_<ROLE>_BOT_TOKENnaming convention
WARN Conditions
- Environment variable doesn’t follow naming convention
- Environment variable is unset but referenced in config
FAIL Conditions
- Two channels point to the same environment variable
- Two environment variables resolve to the same token value
Best Practices
Use unique tokens per role
Use unique tokens per role
Create a separate bot in @BotFather for each role. Never reuse the same token across multiple channels as this will cause conflicts and validation failures.
Follow naming convention
Follow naming convention
Stick to the
PLATFORM_<ROLE>_BOT_TOKEN pattern so the doctor check passes. This makes it clear which token belongs to which channel and role.Secure token storage
Secure token storage
Keep all role tokens in
~/.praisonai/.env with chmod 600 permissions. Never commit tokens to version control or share them publicly.Role-specific access control
Role-specific access control
Each role can have its own
allowed_users environment variable for granular access control. For example, only finance team members should access the CFO bot.When to Use Multi-Channel
Related
Bot Onboarding
Set up your first bot with the interactive wizard
Messaging Bots
Core bot functionality and platform integration
Bot Routing
Advanced routing patterns and agent selection
Bot Security
Security best practices for bot deployments

