Feishu Messaging & Document Automation for Openclaw

Automate Feishu (Lark) messaging, document creation, and group management using the official Lark OAPI.

xq-8
v1.0.0
Mar 4, 2026
0
1k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install feishu-messaging-0

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-0 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 & Document Automation?

This skill integrates the Feishu/Lark Open Platform with AI agents, enabling automated message delivery, file sharing, and group resource management. By leveraging the lark-oapi Python SDK, Openclaw Skills can interact with the Feishu ecosystem to perform tasks like sending alerts, sharing media, and retrieving group member information.

It effectively bridges the gap between your automated workflows and team communication channels. Whether you need to notify a specific user or manage large group chats, this skill provides a developer-friendly interface to handle complex messaging logic programmatically.

Feishu Messaging & Document Automation Use Cases

  • Sending automated notifications or reports to specific users or group chats.
  • Retrieving group member lists for access control or membership audits.
  • Uploading and sharing media assets like images or MP4 files within the Feishu workspace.
  • Searching for specific chat group IDs using keyword queries to target messaging dynamically.
  • Managing document creation workflows and resource organization within the Feishu platform.

How Feishu Messaging & Document Automation Works

  1. The skill initializes a Feishu client using your unique App ID and App Secret credentials.
  2. It resolves the target recipient's identity by searching for an open_id or chat_id based on user input.
  3. For messaging tasks, it constructs a structured request body containing text, image, or file metadata.
  4. It executes the API call via the Lark OAPI SDK, ensuring proper headers and authentication tokens are included.
  5. The skill processes the server response, logging result IDs or handling specific error codes for retries.

Feishu Messaging & Document Automation Setup

To deploy this skill, follow these steps:

  1. Install the required SDK:
pip install lark-oapi
  1. Create an application in the Feishu Open Platform (open.feishu.cn) and obtain your APP_ID and APP_SECRET.
  2. Grant the following scopes to your application: im:message:send_as_bot, im:chat:readonly, and im:chat.members:read.
  3. Configure your Openclaw Skills environment variables to include your Feishu credentials securely.

Feishu Messaging & Document Automation Data Schema & Taxonomy

The skill organizes data around the following Feishu entities:

Entity Description Key Attributes
Message Text or rich media content receive_id, msg_type, content, uuid
Chat Metadata for group chats chat_id, name, member_count
File/Image Media assets on Feishu servers file_key, image_key, file_type
Member User data within a group open_id, user_id, name

Feishu Messaging & Document Automation Advanced Features

  • Idempotency support using UUIDs to prevent duplicate message delivery during network retries.
  • Multi-media handling for uploading and sending images and video files (MP4) in a single workflow.
  • Dynamic chat searching allowing agents to find target groups by name without pre-configured IDs.
  • Granular permission handling to ensure secure interaction with the Lark OAPI.
  • Comprehensive logging and debug levels for troubleshooting complex API interactions within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*