builtin Go (infra/connectors/wecom) · App API (gettoken / message/send) + Group Webhook + Optional Local Callback

Connect Local AI Agents to WeCom (Enterprise WeChat) Safely

TagTag integrates with WeCom (Enterprise WeChat) exclusively through official interfaces—WeCom App API (gettoken / message/send), group webhooks, and optional callback reception—avoiding unofficial personal WeChat protocol ban risks while stripping WECOM_ secrets from LLM subprocesses.

Transport
App API (gettoken / message/send) + Group Webhook + Optional Local Callback
Instance Env Keys
WECOM_CORP_ID, WECOM_SECRET, WECOM_AGENT_ID, WECOM_WEBHOOK_URL
LLM Isolation
WECOM_ stripped from LLM

Multi-Bot group chats

Push scheduled reports, monitoring alerts, and local code check summaries cleanly into WeCom work groups via official group webhooks without exposing any port, or enable full two-way app callbacks when your organization provides a callback endpoint.

On-Call Group · WeCom
DutyBot (Scheduled)Quiet summary, zero alert fatigue

09:00 Check: 0 new P0 Sentry issues, 1 Grafana latency warning (api-edge p99 420ms). Full trace saved locally.

Setup & config

Generate manifest →
  1. 1. Choose Group Webhook (Outbound) or Internal App (Two-Way)

    For scheduled digests and alerts, add a group bot in WeCom and copy WECOM_WEBHOOK_URL. For full two-way app integration, configure CorpID, AgentId, and Secret.

  2. 2. Zero-Send Health Check (TCP/TLS Probe)

    Running tagtag connector check on a webhook-only WeCom instance performs a zero-send TCP/TLS host reachability probe instead of spamming your work group.

connectors.json
{
  "id": "wecom:duty",
  "type": "wecom",
  "enabled": true,
  "bot_id": "duty-bot",
  "access": "send",
  "env_keys": ["WECOM_WEBHOOK_URL"],
  "config": {}
}

Connector recipes

Zero-Noise Production Watchdog into WeCom

Ingest alerts locally, deduplicate noisy flaps, and send only actionable summaries into your WeCom duty group.

Verified pitfalls

Webhook key exposed in error messages on timeout

Caught and fixed in live testing (BUG-03): TagTag redacts query/key secrets from all WeCom error outputs and probes reachability without sending.

FAQ

Why does TagTag support WeCom instead of unofficial personal WeChat hooks?

Unofficial personal WeChat automation carries severe account ban risk. TagTag sticks to official platform interfaces so your daily workflow stays reliable and compliant.

See how 7 zero-token slash commands control harnesses in chatSlash commands
Local agents
IM platforms