Clawdbot Feishu Integration
Connect Clawdbot AI assistant to Feishu (Lark) for intelligent workplace automation, smart messaging, and AI-powered collaboration in your organization.
Clawdbot Feishu Integration Overview
Clawdbot Feishu integration enables you to connect your personal AI assistant to Feishu (飞书), ByteDance's enterprise collaboration platform also known as Lark internationally. With Clawdbot Feishu, you can automate workplace communications, provide intelligent responses, and enhance team productivity through AI-powered automation.
Why Use Clawdbot with Feishu?
Feishu is a comprehensive workplace platform combining messaging, documents, calendar, and video conferencing. Integrating Clawdbot with Feishu provides:
| Feature | Clawdbot Feishu Benefit |
|---|---|
| Bot Integration | Clawdbot Feishu uses native Feishu Bot API |
| Document Access | Clawdbot Feishu can read and summarize Feishu Docs |
| Calendar Integration | Schedule meetings with Clawdbot Feishu |
| Group Chat Support | Clawdbot Feishu works in group conversations |
| Enterprise Ready | Clawdbot Feishu supports enterprise deployment |
Setting Up Clawdbot Feishu
Prerequisites
Before connecting Clawdbot to Feishu, ensure you have:
- Clawdbot installed on your device
- A Feishu account (personal or enterprise)
- Feishu Developer Console access
- App creation permissions
Step 1: Create a Feishu Application
Set up your Clawdbot Feishu application:
- Go to Feishu Open Platform
- Click "Create Custom App"
- Name your Clawdbot Feishu application
- Configure app capabilities (Bot, Docs, Calendar)
- Obtain App ID and App Secret
Step 2: Configure Clawdbot Feishu
Add your Feishu app to Clawdbot:
clawdbot channels add feishu --app-id YOUR_APP_ID --app-secret YOUR_APP_SECRETStep 3: Set Up Permissions
Configure Clawdbot Feishu permissions:
Required permissions for Clawdbot Feishu:
im:message- Send and receive messagesim:chat- Access chat informationcontact:user.base- Read user informationdocs:doc- Access documents (optional)calendar:calendar- Calendar access (optional)
Step 4: Deploy Clawdbot Feishu Bot
Publish your Clawdbot Feishu bot:
clawdbot channels start feishuStep 5: Verify Clawdbot Feishu Connection
Check your Clawdbot Feishu status:
clawdbot channels status feishuExpected output:
Feishu Channel Status:
- Connection: Connected
- App: Clawdbot Assistant
- Mode: Event Subscription
- Clawdbot: ActiveClawdbot Feishu Features
Message Handling
Clawdbot Feishu processes various message types:
| Message Type | Clawdbot Feishu Support |
|---|---|
| Text | Full AI response support |
| Rich Text | Formatted message handling |
| Images | Vision AI analysis |
| Files | Document processing |
| Cards | Interactive card responses |
Interactive Cards
Clawdbot Feishu supports interactive message cards:
clawdbot configure feishu --cards enabledFeatures:
- Button interactions
- Form submissions
- Dynamic content updates
- Action callbacks
Group Chat Integration
Add Clawdbot Feishu to group chats:
clawdbot configure feishu --groups "Team A,Project X"Configure Clawdbot Feishu to respond to:
- All messages
- Mentions only (@Clawdbot)
- Slash commands (/ask, /help)
Document Integration
Clawdbot Feishu can interact with Feishu Docs:
- Summarize documents
- Answer questions about content
- Extract key information
- Create document drafts
clawdbot feishu docs summarize --doc-id DOC_IDCalendar Integration
Use Clawdbot Feishu for calendar management:
- Schedule meetings
- Check availability
- Send meeting reminders
- Create calendar events
clawdbot feishu calendar schedule --title "Team Meeting" --time "2024-01-15 10:00"Slash Commands
Clawdbot Feishu supports custom slash commands:
| Command | Clawdbot Feishu Action |
|---|---|
/ask | Ask Clawdbot a question |
/help | Clawdbot Feishu help menu |
/summarize | Summarize conversation |
/schedule | Schedule a meeting |
/translate | Translate message |
Clawdbot Feishu Configuration
App Settings
Configure your Clawdbot Feishu application:
{
"feishu": {
"appId": "YOUR_APP_ID",
"appSecret": "YOUR_APP_SECRET",
"encryptKey": "YOUR_ENCRYPT_KEY",
"verificationToken": "YOUR_VERIFICATION_TOKEN",
"eventSubscription": true
}
}Event Subscription
Set up Clawdbot Feishu event subscription:
clawdbot configure feishu --webhook https://your-domain.com/feishu/eventsSubscribed events:
im.message.receive_v1- Message receivedim.chat.member.bot.added_v1- Bot added to chatim.chat.member.bot.deleted_v1- Bot removed from chat
Enterprise Deployment
For enterprise Clawdbot Feishu deployment:
- Submit app for review
- Configure tenant permissions
- Deploy to organization
- Set up admin controls
Clawdbot Feishu Credential Storage
Clawdbot stores Feishu credentials securely:
~/.clawdbot/credentials/feishu/app_credentials.json
~/.clawdbot/credentials/feishu/tenant_token.jsonYour Clawdbot Feishu data remains on your local machine.
Clawdbot Feishu Use Cases
Team Assistant
Deploy Clawdbot Feishu as a team assistant:
- Answer team questions
- Summarize discussions
- Track action items
- Provide information lookup
Meeting Helper
Use Clawdbot Feishu for meetings:
- Schedule meetings automatically
- Send meeting summaries
- Track follow-ups
- Manage attendees
Knowledge Base
Clawdbot Feishu as a knowledge assistant:
- Search company documents
- Answer policy questions
- Provide onboarding help
- Share best practices
Project Management
Clawdbot Feishu for project teams:
- Status updates
- Task reminders
- Progress tracking
- Team coordination
Troubleshooting Clawdbot Feishu
Bot Not Responding
If Clawdbot Feishu doesn't respond:
- Verify app credentials:
clawdbot channels verify feishu - Check event subscription URL
- Review logs:
cat /tmp/clawdbot/feishu.log
Permission Errors
If Clawdbot Feishu lacks permissions:
- Review app permissions in Developer Console
- Re-authorize the application
- Check tenant-level restrictions
Event Subscription Issues
If Clawdbot Feishu events fail:
- Verify webhook URL accessibility
- Check encryption key configuration
- Review event subscription settings
Clawdbot Feishu Best Practices
- Use Event Subscription: Clawdbot Feishu performs better with webhooks
- Configure Permissions Carefully: Only request necessary permissions
- Handle Rate Limits: Implement proper rate limiting for Clawdbot Feishu
- Monitor Usage: Track Clawdbot Feishu bot analytics
- Enterprise Compliance: Follow organization security policies
Clawdbot Feishu vs Lark
Clawdbot supports both Feishu (China) and Lark (International):
| Platform | Clawdbot Configuration |
|---|---|
| Feishu (飞书) | clawdbot channels add feishu --region cn |
| Lark | clawdbot channels add feishu --region global |
Next Steps
- Clawdbot WeChat Integration - Connect Clawdbot to WeChat
- Clawdbot Telegram Integration - Set up Clawdbot on Telegram
- Clawdbot Setup Guide - Complete installation guide