Feishu Messaging & Documents for Openclaw

A comprehensive automation skill for sending Feishu messages, managing group chats, and uploading media through the Lark Open Platform API.

jypjypjypjyp
v0.0.3
Feb 6, 2026
19
14.9k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install feishu-messaging

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install feishu-messaging using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Feishu Messaging & Documents?

This skill provides a robust interface to the Feishu Open Platform, enabling automated interaction with one of the most popular enterprise collaboration tools. By utilizing Openclaw Skills for Feishu, developers can programmatically send text and image messages, search for group chats, and retrieve member information without manual intervention.

The integration is designed to handle common workspace workflows, such as incident alerts, automated reports, and group resource management. It simplifies the complexity of the Lark SDK, providing a clear path for Openclaw Skills to interact with your organization's messaging infrastructure efficiently.

Feishu Messaging & Documents Use Cases

  • Automating the delivery of system notifications and text alerts to specific employees.
  • Dynamically searching for group chat IDs based on search queries to route messages correctly.
  • Extracting group member lists for organizational auditing or automated permissions checks.
  • Uploading and sharing media files like images or MP4 videos within specific Feishu channels.
  • Retrying failed messaging tasks to ensure high reliability in critical communication workflows.

How Feishu Messaging & Documents Works

  1. The skill authenticates with the Feishu Open Platform using a provided App ID and App Secret.
  2. It initializes a Lark client that handles the underlying HTTP requests and logging.
  3. When a messaging command is received, the skill maps the user identity to an open_id and constructs the message payload.
  4. For file-based tasks, the skill processes the local binary data and uploads it to Feishu's servers to generate a file key.
  5. The final request is sent to the relevant API endpoint, and the skill returns the JSON response or an error log for debugging.

Feishu Messaging & Documents Setup

To get started with this skill, you must first create an application on the Feishu Open Platform and obtain your credentials. Ensure the following permissions are enabled: im:message:send_as_bot, im:chat:readonly, and im:chat.members:read.

Install the necessary Python dependency:

pip install lark-oapi

Configuration involves setting your APP_ID and APP_SECRET within your Openclaw Skills environment to authorize the bot.

Feishu Messaging & Documents Data Schema & Taxonomy

The skill manages several data entities through Openclaw Skills to ensure accurate message routing and file management:

Entity Primary Keys Description
Message receive_id, msg_type, content The core payload for text or interactive cards
Chat chat_id, query, page_size Data used to identify and search for group conversations
Image/File image_type, file_name, file Binary data and metadata for media uploads
Member user_id, member_id_type Identity mapping for participants within a chat

Feishu Messaging & Documents Advanced Features

  • Support for multi-modal messaging including text, images, and file attachments like MP4 videos.
  • Idempotency support using unique UUIDs to prevent accidental duplicate message delivery.
  • Advanced search capabilities to resolve human-readable group names into technical chat IDs.
  • Detailed debug logging that captures log_id and raw response content for troubleshooting.
  • Flexible ID types allowing for open_id or user_id mapping depending on your organization's configuration.

SKILL.md


Loading

Related Openclaw Skills

Featured*