WeCom AI Bot Setup for Openclaw

A streamlined utility to connect OpenClaw to Enterprise WeChat (WeCom) using the AI Bot WebSocket mode for seamless internal team automation.

chenyd002025
v1.0.2
Mar 15, 2026
0
1.2k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install jvs-enterprise-wechat

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 jvs-enterprise-wechat 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 WeCom AI Bot Setup?

The WeCom AI Bot setup is a specialized tool within the Openclaw Skills ecosystem designed to bridge the gap between AI agents and Enterprise WeChat. By utilizing a WebSocket long-connection mode, it eliminates the traditional barriers to bot deployment, such as the need for public domain names, fixed IP addresses, or complex HTTPS certificate management. This makes it an ideal solution for internal team assistants and private customer service bots.

This skill automates the configuration process, allowing developers to focus on building intelligent workflows rather than managing infrastructure. It provides a secure and efficient way to deploy Openclaw Skills directly into the daily communication platform used by millions of enterprises.

WeCom AI Bot Setup Use Cases

  • Deploying internal intelligent assistants for enterprise teams to handle routine queries.
  • Setting up automated customer service bots within the WeCom environment.
  • Creating personal productivity bots that can be accessed directly from the Enterprise WeChat mobile or desktop app.
  • Implementing AI-driven notifications and interactive workflows without exposing public endpoints.

How WeCom AI Bot Setup Works

  1. The user installs the setup skill via the clawhub CLI to prepare the environment.
  2. An AI Bot is created manually within the Enterprise WeChat mobile app under the 'Robot' section using the API creation method.
  3. The skill retrieves the unique Bot ID and Secret from the WeCom platform to establish a secure handshake.
  4. A configuration script is executed locally to bind these credentials to the OpenClaw gateway.
  5. The gateway establishes a persistent WebSocket connection to the WeCom servers, enabling real-time bidirectional messaging without inbound port forwarding.

WeCom AI Bot Setup Setup

Installation

First, install the skill using the following command:

npx clawhub@latest install wecom-ai-bot-setup

Configuration

Run the configuration script to input your Bot ID and Secret:

python3 scripts/setup_wecom.py

Restart Gateway

Apply the changes by restarting your gateway:

openclaw gateway restart

WeCom AI Bot Setup Data Schema & Taxonomy

The skill manages configuration within the local OpenClaw environment. The primary data structure is stored in ~/.openclaw/openclaw.json under the channels key:

Property Type Description
enabled Boolean Activates the WeCom channel.
botId String Unique identifier from Enterprise WeChat.
secret String Secure key for API authentication.
model String The specific LLM assigned to this channel.
dmPolicy String Direct Message policy (open, pairing, allowlist, disabled).

WeCom AI Bot Setup Advanced Features

  • WebSocket Long-Connection: Operates behind firewalls without needing public DNS or callback URLs.
  • Flexible DM Policies: Support for 'allowlist' and 'pairing' modes to ensure only authorized corporate users can interact with the bot.
  • Real-time Logging: Integrated monitoring via OpenClaw logs to track message processing and connection status.
  • Multi-Agent Compatibility: Easily route specific corporate queries to different underlying AI models through the Openclaw Skills gateway.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*