← Back to Agent

Manager Messaging Channels

Connect personal messaging platforms so you can chat with your AI agent directly from WhatsApp or Telegram.

Table of Contents

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

  1. Set your Manager Identity — your phone number and Telegram ID so the agent recognizes you across platforms.
  2. Connect WhatsApp by scanning a QR code from your phone.
  3. Connect Telegram by creating a bot via @BotFather and pasting the token.
  4. Add trusted contacts — only these people can message the agent.
  5. 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.

FieldFormatHow to Get It
WhatsApp+13362763915Your phone number with country code
Telegram123456789Message @userinfobot on Telegram

WhatsApp

Your personal line — chat with your AI from your own phone number.

Setup Guide

  1. Scan QR code — Click "Connect WhatsApp" to generate a QR. Open WhatsApp → Settings → Linked Devices → Link a Device → Scan.
  2. Add trusted contacts — Enter phone numbers (with country code) the agent should respond to. Add your own number first.
  3. 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

  1. Create a bot — Open Telegram, search for @BotFather. Send /newbot. Follow prompts to choose a name and username. Copy the bot token.
  2. Add your Telegram user ID — Message @userinfobot to get your numeric user ID.
  3. 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

ModeDescription
AutoUses webhook if a public URL is available, otherwise falls back to polling.
WebhookFastest and most efficient. Requires a public URL (fly.io, VPS, etc.).
Long-pollingWorks everywhere, including local machines behind NAT. Slightly slower.

Trusted Contacts

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.

Access Modes

ModeDescription
Trusted contacts onlyDefault. Only listed contacts get responses.
Anyone can messageThe agent responds to everyone. Use with caution.
Manager onlyOnly 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:

Key Concepts

Best Practices

Troubleshooting

ProblemSolution
"No Manager Messaging Channels Enabled"Go to Settings → Platform and enable WhatsApp and/or Telegram.
WhatsApp QR code expiredClick "Connect WhatsApp" again to generate a new QR code.
Telegram bot not respondingVerify the token with @BotFather. Ensure you've added your user ID to trusted contacts. Send /start to the bot first.
WhatsApp connection keeps droppingEnsure the linked phone has a stable internet connection. WhatsApp Web requires the phone to be online.
"Invalid token" for TelegramCopy the full token from @BotFather (format: 123456789:ABCdefGHI...). Don't include the "Bot" prefix.
AgenticMail Enterprise Documentation Report an issue