wework-archive-service
企业微信整合服务技能 - 包含普通回调和会话内容存档功能
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/cyl2835/wework-archive-serviceWhat This Skill Does
The wework-archive-service is a comprehensive integration agent skill designed to bridge OpenClaw with Tencent's WeCom (Enterprise WeChat) infrastructure. It provides two critical functionalities: managing standard event callbacks for custom applications and facilitating secure, compliant session content archiving. This skill acts as a middleware, handling the complex cryptography, verification, and API routing required by the WeCom ecosystem, enabling AI agents to monitor, record, and respond to corporate communications in real-time while adhering to regulatory compliance standards for message storage.
Installation
To integrate this skill, ensure your environment has Python installed. Use the OpenClaw CLI to run clawhub install openclaw/skills/skills/cyl2835/wework-archive-service. After installation, navigate to the skill directory, install requirements via pip3 install flask pycryptodome requests, and initialize your configuration using the provided template. Finally, configure your Cloudflare Tunnel to expose the local port 8400 to a registered domain, as WeCom strictly mandates secure, verified HTTPS endpoints for all callback services.
Use Cases
- Regulatory Compliance: Automatically archive all internal and external communication for audit trails.
- Real-time Incident Response: Monitor incoming messages and trigger AI-driven workflows for support tickets or urgent alerts.
- Data Analytics: Aggregate communication data for sentiment analysis, team productivity reports, or customer satisfaction tracking.
- Automated Workflow: Execute tasks based on specific keyword triggers or session events within the enterprise chat environment.
Example Prompts
- "Check the current status of the archive service and verify if it's correctly receiving callbacks."
- "Retrieve all messages from the sales department room tagged with 'urgent' from the last 24 hours."
- "Search for the conversation history involving user ID 'user123' to audit recent interactions."
Tips & Limitations
- Mandatory HTTPS: Always use a production-grade domain with Cloudflare Tunnel; IP-based callbacks are blocked by WeCom security policies.
- IP Whitelisting: Ensure your server's public egress IP is added to the WeCom 'Session Content Archive' whitelist settings.
- Storage Management: This skill provides the ingestion layer; ensure your downstream database or storage engine is monitored to prevent disk overflow from high-volume session data.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-cyl2835-wework-archive-service": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, external-api