← 返回
沟通协作 中文

Group Activation

Handles joining and leaving group conversations on messaging platforms (WhatsApp, Signal, Telegram, etc.). Use when the owner tags the agent into a group cha...
处理在 WhatsApp、Signal、Telegram 等平台上加入和退出群组对话;当群主将代理标记进入群聊时使用。
seanblanchfield
沟通协作 clawhub v1.0.0 1 版本 99863.4 Key: 无需
★ 0
Stars
📥 731
下载
💾 8
安装
1
版本
#latest

概述

Group Activation

When the owner tags you into a group on any messaging platform, follow this procedure.

Prerequisites

channels..groupPolicy, groupAllowFrom, and groups.*.requireMention are set so that only the owner can wake you in any group. Trigger phrases are defined in agents.list[main].groupChat.mentionPatterns. This applies to WhatsApp, Signal, Telegram, and other supported platforms.

Procedure

Step 1 — Capture context

From the inbound message metadata: platform (e.g. whatsapp, signal), group ID (the chat_id / from field), and duration (parse from the owner's message — default 30 minutes if unspecified).

Step 2 — Open the gate

Patch channels..groups..requireMention to false in openclaw.json. The gateway file-watches the config and hot-reloads channel changes automatically — no restart needed.

Step 3 — Respond naturally

Say hi, introduce yourself briefly if it's a new group. Participate like a human in a group chat — use judgment about when to contribute. Do not respond to every message.

Step 4 — Set a closing cron job

Create a one-shot cron job (kind: "at") for the parsed duration. When it fires: patch requireMention back to true for this group in openclaw.json, then send a brief goodbye to the group. The gateway hot-reloads and the gate closes — no owner action needed.

Step 5 — Confirm

Tell the owner the window is open and when it closes: _"Joined! I'll be here for 60 minutes — going quiet at 4:19 PM."_

Controls

  • Extend: owner says @ stay for another X mins → cancel existing cron, set a new one
  • Close early: owner says @ that's enough / close → patch requireMention: true immediately, cancel cron, say goodbye

Notes

  • Group ID is in inbound message metadata (chat_id / from field)
  • Config changes hot-reload — no gateway restart or Docker restart needed
  • When closing, remove the specific group entry from groups or set requireMention: true to return to the wildcard default

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 01:02 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,688
developer-tools

Jentic

seanblanchfield
通过 Jentic —AI 代理 API 中间件调用外部 API。需要与外部 API(Gmail、Google Calendar、GitHub、Stripe、Tw...)交互时使用。
★ 2 📥 1,162
communication-collaboration

imap-smtp-email

gzlicanyi
使用IMAP/SMTP读取和发送邮件;检查新/未读邮件、获取内容、搜索邮箱、标记已读/未读、发送带附件的邮件。支持...
★ 114 📥 52,443