Overview
The IM Channels extension connects EnConvo to your team’s messaging platforms. Send and read messages on Slack, Discord, Telegram, and Feishu (Lark) directly through AI conversations, or set up automated bot listeners that reply to incoming messages using your configured LLM. This turns EnConvo into a unified messaging hub where your AI assistant can communicate across platforms on your behalf.Slack
Send messages, read channels, Socket Mode listener
Discord
Channel messaging via REST API and Gateway WebSocket
Telegram
Bot API messaging with long-polling listener
Feishu / Lark
Open API integration with auto-refreshing tokens
Setting Up Channels
Each platform requires its own bot token or API credentials. Configure them in the extension settings.Slack
1
Create a Slack App
Go to api.slack.com/apps and create a new app for your workspace
2
Configure Bot Permissions
Under OAuth & Permissions, add the scopes your bot needs (e.g.,
chat:write, channels:read, channels:history)3
Install to Workspace
Install the app to your Slack workspace and copy the Bot User OAuth Token (
xoxb-...)4
Enter Token in EnConvo
Go to Settings -> IM Channels -> Slack Channel and paste your Bot Token
5
(Optional) Enable Socket Mode
For the bot listener feature, create an App-Level Token (
xapp-...) with connections:write scope and enter it in the App Token fieldDiscord
1
Create a Discord Application
Go to the Discord Developer Portal and create a new application
2
Create a Bot
Navigate to the Bot section and click Add Bot. Copy the bot token.
3
Set Permissions
Under OAuth2 -> URL Generator, select the
bot scope and the permissions you need (Send Messages, Read Message History, etc.)4
Invite to Server
Use the generated URL to invite the bot to your Discord server
5
Enter Token in EnConvo
Go to Settings -> IM Channels -> Discord Channel and paste your Bot Token
Telegram
1
Create a Bot via BotFather
Open Telegram and message @BotFather. Send
/newbot and follow the prompts to create your bot2
Copy the Bot Token
BotFather will provide a token in the format
123456:ABC-DEF...3
Enter Token in EnConvo
Go to Settings -> IM Channels -> Telegram Channel and paste the Bot Token
Feishu / Lark
1
Create a Feishu App
Go to the Feishu Open Platform and create a new application
2
Get App Credentials
Copy the App ID and App Secret from the app’s credentials page
3
Configure Permissions
Add the messaging permissions your bot needs (send messages, read messages, etc.)
4
Enter Credentials in EnConvo
Go to Settings -> IM Channels -> Feishu / Lark Channel and enter the App ID and App Secret
5
(Optional) Set API Domain
For Lark (international version), change the API Domain to
https://open.larksuite.com. The default is https://open.feishu.cn for the China version.Using Messaging in Conversations
Once channels are configured, the AI can send and read messages on your behalf.Sending Messages
Reading Messages
Cross-Platform Communication
Bot Listener
The Channel Listener Service runs in the background and automatically replies to incoming messages using your configured AI model.How It Works
- The listener connects to each configured platform (Slack via Socket Mode, Discord via Gateway WebSocket, Telegram via long-polling)
- When someone messages or mentions your bot, the listener receives the message
- The message is processed by your configured LLM provider
- The AI’s response is sent back to the channel
Agent Binding
You can bind specific channels to specific AI agents. This lets different channels use different system prompts, tools, and behaviors.Configuring the Listener
- Go to Settings -> IM Channels -> Channel Listener Service
- Select the AI Model Provider to use for bot replies
- The listener automatically starts for all configured channels with valid credentials
Platform Details
Long messages are automatically split into multiple parts at natural break points (newlines, then spaces) to stay within platform limits.
Using Channels in Workflows
Messaging channels integrate with EnConvo workflows for automated communication:Troubleshooting
Channel shows as not configured
Channel shows as not configured
Verify that the bot token or API credentials are entered correctly in Settings -> IM Channels. Tokens must be valid and not expired.
Bot cannot send messages
Bot cannot send messages
Ensure the bot has been invited to the target channel/group and has the correct permissions. On Slack, the bot must be added to channels before it can post.
Listener not responding to messages
Listener not responding to messages
Check that the Channel Listener Service is running. For Slack, Socket Mode requires an App-Level Token. For Discord, the bot needs the Message Content intent enabled in the Developer Portal.
Messages are cut off
Messages are cut off
Each platform has a maximum message length. EnConvo automatically splits long messages, but very long responses may be sent across multiple messages.
Feishu token errors
Feishu token errors
Feishu tokens auto-refresh, but if you see authentication errors, verify your App ID and App Secret. For Lark international, make sure the API Domain is set to
https://open.larksuite.com.Related Features
Gmail Integration
Email management via Gmail API
Apple Ecosystem
Native Apple Mail, Reminders, Calendar
Workflows
Automate messaging in workflows
Agents
Bind AI agents to messaging channels