360 Secure SkillHub
360 安全技能中心

Feishu Auto Reply

根据关键词或正则规则自动回复飞书消息,支持仅@提及回复、工作时间、回复模板和富文本,通过 openclaw 命令启动服务并读取 YAML 配置;需飞书消息读取、发送及会话读取权限。

night556
night556
热度 65.68
最近更新 2026-05-11 17:29:11
分类:协作依赖:代码执行 / 第三方 API / 读写文件应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add feishu-auto-reply
Metadata
name
feishu-auto-reply
description
Feishu Auto Reply Bot - Automatic reply to Feishu messages based on rules
metadata
{"openclaw":{"requires":{"bins":[]}}}

Feishu Auto Reply Bot

Automatic reply to Feishu messages based on custom rules, features:

  • Keyword matching support
  • Regular expression matching
  • Multiple reply strategies
  • Support for @mention only reply
  • Working hours configuration
  • Custom reply templates
  • Support for rich text messages

Usage

# Start auto reply service
openclaw feishu-auto-reply start --config ./config.yaml

# Test rule matching
openclaw feishu-auto-reply test --message "你好" --config ./config.yaml

Configuration Example (config.yaml)

rules:
  - keyword: "你好"
    reply: "你好!我是自动回复机器人,有什么可以帮你的?"
    match: contains
  - regex: "^(请假|休假)"
    reply: "请假请直接联系人事部门,谢谢!"
    only_mention: true
working_hours:
  - "9:00-18:00"
  - exclude_weekends: true

Required Permissions

  • im:message:read
  • im:message:send
  • im:chat:read