360 Secure SkillHub
360 安全技能中心

Feishu Auto Reply

这是飞书自动回复机器人,核心功能包括关键词/正则匹配、@提及仅回复、工作时段配置、自定义富文本回复模板等。适用于日常咨询自动答复、请假类问题引导等场景。通过YAML配置文件定义规则,可使用命令启动服务或测试规则匹配,需飞书消息读写等权限,自动输出对应回复至飞书。

night556
night556
热度 65.83
最近更新 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