Channels Overview
Channels connect Xagent to external chat platforms so users can interact with agents and tasks outside the web app. In the current implementation, channels are user-owned integrations.
How Channels Work
- Create a bot or app on the target platform.
- Add the credentials in Xagent.
- Activate the channel.
- Send messages from the external platform.
- Xagent creates or continues tasks for that conversation in the channel owner's workspace.
Channels are managed from the Channels page and the /api/channels endpoints.
GET /api/channels # list your channels
POST /api/channels # create a channel
PUT /api/channels/{id} # update a channel
DELETE /api/channels/{id} # delete a channelSupported Platforms
- Telegram
- Feishu
Typical use cases include personal assistant bots, internal team bots, and lightweight task intake from chat.
Shared Channel Concepts
| Field | Description |
|---|---|
channel_type | Platform type, e.g. telegram or feishu. |
channel_name | A readable display name. |
config | Platform-specific configuration. |
is_active | Whether the bot or app should currently be running. |
Protected secrets
Sensitive fields inside config (such as bot tokens) are stored as protected channel secrets.