WeCom integrations
Coverage
Rendering diagram…
| Feature | Highlights |
|---|---|
| Directory | Scoped search → userid/aliases |
| IM | Threads, multimodal payloads (text/media), outbound replies |
| Doc / smart sheets | Schema + record operations |
| Meetings | Invite lifecycle |
| Calendar | CRUD + free/busy |
| Todo | Assignments + statuses |
WeCom responses reflect whatever the authenticated principal can see, not universal corporate directories—a design difference versus Feishu.
Prerequisites
- Tenant admin privileges
- Custom app secrets from
work.weixin.qq.com:CorpID- Agent
Secret AgentID
- Callback tokens if subscribing to push notifications
Configuration
Console → Integrations → WeCom:
- Populate Corp / Agent identifiers
- Optionally Token +
EncodingAESKeyparity with Tencent console
Expose callback URL matching backend route:
Sanity check
Everyday prompts
| Task | Prompt idea |
|---|---|
| People lookup | “Find logistics lead ‘Alice Zhang’…” |
| History mining | “What did #ProjectA chat discuss last week?” |
| Scheduling | “Book Tuesday 10:00 with Alice & Bob…” |
| Todos | “Remind me to submit status next Wednesday…” |
| Sheet inspection | “Show latest additions in ‘Program dashboard’…” |
Common failures
| Code / symptom | Guidance |
|---|---|
42001 token expiry | Rely on SDK-managed refresh caches |
| Directory misses | Visibility scope excludes that department |
| DM blocked | Use shared group routing |
EncodingAESKey mismatch | Exactly 43 base64-derived chars aligning with console |
Related docs / skills
- Office automation solution
- Messaging channels
- Skills (
wecomcli-contact,wecomcli-msg,wecomcli-doc,wecomcli-meeting,wecomcli-schedule,wecomcli-todo)