This guide walks you through connecting Telegram and Feishu to your Claw on ClawUp. After completing these steps, your AI assistant will be able to receive and reply to messages on the connected platform.Documentation Index
Fetch the complete documentation index at: https://docs.clawup.org/llms.txt
Use this file to discover all available pages before exploring further.
Part 1: Connect Telegram
Step 1: Create a Telegram Bot
- Open Telegram and search for @BotFather
- Start a chat with BotFather and send the command:
/newbot - BotFather will ask you for a name for your bot — this is the display name (e.g., “My Assistant”)
- Then it will ask for a username — this must end in “bot” (e.g.,
TetrisBotortetris_bot) - Once created, BotFather will send you a message containing your Bot Token — it looks like this:
- Copy this token — you’ll use it when creating your Claw on ClawUp
⚠️ Keep your bot token secret. Anyone with this token can control your bot.

Step 2: Create Your Claw
- On ClawUp, create a new Claw and check Telegram as the channel
- Paste the Bot Token from BotFather
- Click Create Claw
Step 3: Wait for Deployment
After clicking Create Claw:- The status will show
creating→reconciling→running - This usually takes 1–3 minutes
- Once the status shows running, your Claw is live

Step 4: Complete Telegram Pairing
Once your Claw is running, the Telegram bot needs to be paired:- Open Telegram and find your bot (search for the username you created)
- Send any message to the bot (e.g., “hello”)
-
The bot will reply with a pairing code, for example:
“Ask the bot owner to approve with:
Copy the entire command.openclaw pairing approve telegram XXXXXXX” - Go back to ClawUp Dashboard → Overview → Open Claw Chat
- Send the full pairing code to your Claw
-
Your Claw will reply: “Telegram has been approved”. If your Claw does not indicate success, send this message:
Configure Telegram, run the command:
openclaw pairing approve telegram XXXXXX - Go back to Telegram and send a message to your bot
- The bot should reply — your Telegram channel is now connected! ✅

Part 2: Connect Feishu
Step 1: Create a Feishu Enterprise App
- Go to the Feishu Open Platform and log in with your Feishu account
- Click Create App → select Custom App
- Fill in the app name and description
- After creation, go to the app’s settings page
- Copy the App ID and App Secret — you’ll use them when creating your Claw on ClawUp


Step 2: Configure Permissions
On Permissions, click Batch import and paste:
Step 3: Enable Bot Capability
In App Capability → Bot:- Enable bot capability
- Set the bot name
Step 4: Configure Event Subscription
⚠️ Before configuring event subscription, make sure your Claw is already created and running on ClawUp. The WebSocket connection will not activate without an active backend.In Event Subscription:
- Choose Use long connection to receive events (WebSocket)
- Add the event:
im.message.receive_v1

Step 5: Publish the App
- Create a version in Version Management & Release
- Submit for review and publish
- You will receive a message in Feishu asking you to approve the app release. Please approve it
Step 6: Complete Feishu Pairing
Once the Claw is running:- Open Feishu and find your bot (search for the bot name you set)
- Send any message to the bot
- The bot will reply with a pairing code. Copy the entire command
- Go back to ClawUp Dashboard → Overview → Open Claw Chat
- Send the full pairing code to your Claw
- Your Claw will reply: “Feishu has been approved.” If your Claw does not indicate success, send this message:
Configure Feishu, run the command:
openclaw pairing approve feishu XXXXXX - Go back to Feishu and send a message to your bot
- The bot should reply — your Feishu channel is now connected! ✅

Troubleshooting
| Problem | Solution |
|---|---|
| Bot token invalid | Double-check the token from BotFather. No extra spaces. |
| Claw stuck on “creating” | Wait up to 5 minutes. If still stuck, try deleting and recreating. |
| No pairing code received | Make sure the Claw status is “running” before messaging the bot. |
| Pairing code expired | Send another message to the bot to get a new code. |
| Feishu events not working | Confirm event subscription is set to WebSocket mode and im.message.receive_v1 is added. |
| Bot replies in Web Chat but not Telegram/Feishu | Channel pairing has not been completed. Continue chatting with your Claw to complete it. |
Summary
Telegram:- @BotFather →
/newbot→ Get Bot Token - ClawUp → Create Claw → Check Telegram → Paste Token
- Wait 1–3 min for “running” status
- Message bot on Telegram → Get pairing code → Send to Claw
- Verify: bot replies on Telegram ✅
- Feishu Open Platform → Create App → Get App ID + App Secret
- Enable Bot + Configure WebSocket Events
- Publish App
- ClawUp → Create Claw → Check Feishu → Paste Credentials
- Message bot on Feishu → Get pairing code → Send to Claw
- Verify: bot replies on Feishu ✅