Connecting a Personal Agent to WeCom Research Alerts
If a personal Agent already sends email, adding WeCom should not duplicate scheduled research. Research runs once; authorized channels deliver independently.
This is a planned design. See Tencent Cloud's public integration guide for group bot setup. Actual account scope, provider message formats and business responses still need verification in WeCom developer documentation and an authorized test group. No live integration is claimed.
Start with one-way push
Create a custom push bot in an authorized test group. Store the group webhook in protected server-side configuration. Neither models nor requesters may specify arbitrary outbound URLs; staging uses test targets only. WeCom is not a personal WeChat direct-message API.
A shared internal delivery object could be:
const delivery = {
eventId: 'synthetic-report-ready-001',
channel: 'wecom',
targetRef: 'test-group',
reportRevision: 'sample-v1',
text: 'Synthetic research briefing ready: sample-001'
}This is internal data, not a provider payload. The adapter resolves an approved targetRef, builds the actual platform message and checks HTTP and business responses. Lark and email can share the internal contract without sharing provider-specific failure states.
| Outcome | Handling |
|---|---|
| Explicit rejection | Record cause, correct configuration or retry within policy |
| Explicit acceptance | Preserve receipt, verify group separately |
| Lost response after dispatch | Mark unknown and reconcile before resending |
| Revoked target | Cancel undispatched records |
Separate notification and research authorization
A group may have many members. Send only authorized public summaries by default; protect private report links with application authorization on every access. If group messages later trigger research, independently verify sender, event identity, replay and allowed operations. An outbound webhook is not authentication.
Test synthetic text in the authorized group, then simulate rejection, timeouts and revocation. Verify message retries do not rerun models. WeCom and shared delivery are Planned for Open ETF Agent; compare the Lark design.