← Back to Agent
Manager Messaging Channels
Connect personal messaging platforms so you can chat with your AI agent directly from WhatsApp or Telegram.
Overview
For Everyone
The Channels tab sets up your private messaging connections to the agent. This is how you (the manager) talk to your AI from WhatsApp or Telegram. Unlike the WhatsApp Business tab (which is for customers), Channels is for personal, trusted communication. Only people you add as trusted contacts can reach the agent through these channels.
For Developers
Channel configuration is stored in config.messagingChannels with sub-objects for whatsapp, telegram, and managerIdentity. WhatsApp uses Baileys for QR-based linking. Telegram uses the Bot API — token validation hits /bridge/agents/:id/telegram/validate, and delivery supports both webhook and long-polling modes. Platform availability is checked via /platform-capabilities.
How It Works
- Set your Manager Identity — your phone number and Telegram ID so the agent recognizes you across platforms.
- Connect WhatsApp by scanning a QR code from your phone.
- Connect Telegram by creating a bot via @BotFather and pasting the token.
- Add trusted contacts — only these people can message the agent.
- Send a test message to verify the connection works.
Platform availability depends on your server configuration. If WhatsApp or Telegram isn't enabled in Settings → Platform, those sections won't appear.
Manager Identity
The Manager Identity card is highlighted with an accent border. It stores your phone number and Telegram user ID so the agent recognizes you as the boss across all platforms. Messages from these identities get full trust and bypass all access restrictions.
| Field | Format | How to Get It |
| WhatsApp | +13362763915 | Your phone number with country code |
| Telegram | 123456789 | Message @userinfobot on Telegram |
WhatsApp
Your personal line — chat with your AI from your own phone number.
Setup Guide
- Scan QR code — Click "Connect WhatsApp" to generate a QR. Open WhatsApp → Settings → Linked Devices → Link a Device → Scan.
- Add trusted contacts — Enter phone numbers (with country code) the agent should respond to. Add your own number first.
- Send a test message — From your phone, message yourself or another number to verify.
When connected, the card shows the linked phone number, device name, and last message time. You can send test messages or disconnect.
Note: This is your
personal WhatsApp connection. For customer-facing messaging with a separate number, use the
WhatsApp Business tab instead.
Auto-Reply for Unknown Senders
Configure a message sent once per hour to people not on the trusted contacts list. Leave empty for the default message.
Telegram
Bot API connection — webhook or long-polling.
Setup Guide
- Create a bot — Open Telegram, search for @BotFather. Send
/newbot. Follow prompts to choose a name and username. Copy the bot token.
- Add your Telegram user ID — Message @userinfobot to get your numeric user ID.
- Message your bot — Find your bot by username and send it a message to test.
The bot token is validated automatically when saved. If valid, the bot's username is displayed.
Delivery Mode
| Mode | Description |
| Auto | Uses webhook if a public URL is available, otherwise falls back to polling. |
| Webhook | Fastest and most efficient. Requires a public URL (fly.io, VPS, etc.). |
| Long-polling | Works everywhere, including local machines behind NAT. Slightly slower. |
Both WhatsApp and Telegram have a trusted contacts list. Only contacts on this list receive responses. Everyone else gets an auto-reply (if configured) or silence.
- Add contacts by typing their phone number (WhatsApp) or user ID (Telegram) and clicking "Add"
- Remove contacts by clicking the × on their tag
- Your own number/ID should always be first
Access Modes
| Mode | Description |
| Trusted contacts only | Default. Only listed contacts get responses. |
| Anyone can message | The agent responds to everyone. Use with caution. |
| Manager only | Only the manager identity gets responses. |
Client Organization Context
When an agent belongs to a client organization, an info banner appears on the Channels tab. This indicates:
- Channel configurations are scoped to the organization — trusted contacts and access settings apply within the org context.
- The Manager Identity should correspond to the organization's designated manager or admin.
- Messaging connections (WhatsApp QR, Telegram bot) are associated with the organization.
- In multi-org environments, each organization's agents maintain independent channel configurations.
Key Concepts
- Personal vs Business — Channels = your private line. WhatsApp Business = customer-facing. They're independent connections.
- Manager Identity — Cross-platform recognition. Set it once and the agent knows you on WhatsApp, Telegram, and any future platforms.
- Trusted Contacts — A whitelist. Only these identities can interact with the agent on messaging platforms.
- QR Linking — WhatsApp uses WhatsApp Web's linked device mechanism. The agent acts as a linked device on your phone.
- Bot Token — Telegram bots use a unique token from @BotFather. This is the authentication credential.
- Platform Capabilities — Server-level flags that control which messaging platforms are available. Managed in Settings → Platform.
Best Practices
- Set Manager Identity first — The agent needs to know who you are before anything else.
- Add trusted contacts deliberately — Only add people who should have direct access to the agent.
- Use Telegram for technical users — Bot setup is straightforward and works without a phone number.
- Keep WhatsApp connected — If the linked device session expires, you'll need to re-scan the QR code.
- Configure auto-replies — Don't leave unknown senders in silence. A brief message explaining the agent is private is better.
Troubleshooting
| Problem | Solution |
| "No Manager Messaging Channels Enabled" | Go to Settings → Platform and enable WhatsApp and/or Telegram. |
| WhatsApp QR code expired | Click "Connect WhatsApp" again to generate a new QR code. |
| Telegram bot not responding | Verify the token with @BotFather. Ensure you've added your user ID to trusted contacts. Send /start to the bot first. |
| WhatsApp connection keeps dropping | Ensure the linked phone has a stable internet connection. WhatsApp Web requires the phone to be online. |
| "Invalid token" for Telegram | Copy the full token from @BotFather (format: 123456789:ABCdefGHI...). Don't include the "Bot" prefix. |
WhatsApp Business — Customer-facing WhatsApp with pairing and security.
Email — Email account connection.
Manager — Manager assignment and daily catch-ups.
Overview — Agent status and quick actions.