OpenClaw and Feishu Integration
This chapter only covers the connection link, without discussing the UI or the subsequent inventory logic.
After completing this chapter
Readers should know:
- What configurations does OpenClaw read?
- Where are the SHEET app credentials stored?
- Why do we need to write a separate layer of configuration for multi-dimensional table synchronization?
Reading Order
The integration layer of OpenClaw first reads the environment variables, and then falls back to the local ~/.openclaw/openclaw.json.
Priority is as follows:
OPENCLAW_FEISHU_APP_IDOPENCLAW_FEISHU_APP_SECRETOPENCLAW_FEISHU_NOTIFY_TARGETOPENCLAW_FEISHU_NOTIFY_RECEIVE_ID_TYPEOPENCLAW_FEISHU_BITABLE_APP_TOKENOPENCLAW_FEISHU_BITABLE_TABLE_ID
What needs to be prepared
- Application credentials in the Feishu Open Platform
- A writable OpenClaw local configuration file
- Enabled multi-dimensional table permissions
Key Checkpoints
- If
appIdandappSecretare empty, both notification and synchronization will fail. - If only the notification target is configured, but
appToken/tableIdwith a multi-dimensional table is not configured, inventory synchronization will not start. - If the configuration file contains a Windows-written UTF-8 BOM, reading JSON with Python may fail. It is recommended to write it as UTF-8 without BOM.