WeCom group notifications: Webhook quick guide
Send AI summaries to a designated group; start with text, then consider rich content and files.
Models generate and reason. Agents use tools to work on tasks. A harness manages an agent’s environment. MCP connects tools and data. Skills are reusable task guidance.
Implementation steps
Obtain and store the Webhook
Stage practice: Create a message push in your test group and obtain its URL from the details. Store it in backend secret configuration, outside pages, Git and screenshots.
Sources for this stage: WeCom message push: user-supplied official PDFVerify text first
Stage practice: POST UTF-8 JSON to the Webhook server-side with msgtype=text; content is limited to 2048 bytes. Inspect errcode/errmsg and confirm display in the group.
Sources for this stage: WeCom message push: user-supplied official PDFAdd summaries and a queue
Stage practice: Generate AI summaries in a separate backend, then check UTF-8 byte size and duplicates. The PDF limits each message push to 20 messages/minute; batch frequent events and bound retries.
Sources for this stage: WeCom message push: user-supplied official PDF
Commands and examples
Not tested by AQI AI
{
"msgtype": "text",
"text": {
"content": "AI summary / AI 摘要"
}
}Validation checks
Recorded test results
Sources reviewed; no bot creation, message sending, enterprise authorization or end-to-end test performed.
Cost
Not verified
Price not verified; check software, model, API, hardware and hosting costs separately.
Limits & boundaries
- This route sends group notifications; it does not provide arbitrary group or personal WeChat history access.
- PDF content updated 2025-08-07; the 2026-10-16 print footer is not an update date. markdown/markdown_v2: 4096 bytes; uploaded media_id lasts 3 days and is scoped to its integration. Files ≤20M; AMR voice ≤2M and ≤60s; all uploads >5 bytes.
Original sources
- WeCom message push: user-supplied official PDF ↗
developer.work.weixin.qq.com · · Official documentation