Skip to main content
WeChat is China’s dominant super-app. profClaw integrates via the WeChat Official Account (OA) platform for business messaging and automated responses.

Capabilities

Requirements

  • WeChat Official Account (Subscription or Service Account)
  • Business verification for advanced features
  • Server with public HTTPS URL

Setup

1

Register a WeChat Official Account

Apply at mp.weixin.qq.com. Service Accounts have more API access than Subscription Accounts.
2

Enable developer mode

Go to Settings > Official Account Settings > Features > Developer and enable the developer mode.
3

Configure server settings

Set:
  • Server URL: https://your-domain.com/webhooks/wechat
  • Token: your custom token
  • EncodingAESKey: generate or use the random one provided
  • Message encryption: Recommended (EncodingAESKey required)
4

Get App credentials

Under Development > Basic Configuration, copy AppID and AppSecret.
5

Configure profClaw

Environment Variables

string
required
WeChat Official Account AppID.
string
required
WeChat Official Account AppSecret.
string
required
Server token for webhook verification.
string
43-character AES key for encrypted message mode.

Configuration Example

Notes

  • Status: Beta
  • WeChat’s API operates in a passive response model - it sends you a message and you must reply within 5 seconds.
  • For asynchronous (slow) responses, use customer service messages (requires Service Account).
  • WeChat server IPs must be whitelisted in the developer settings.
  • Template messages for proactive outreach require prior user consent and WeChat approval.
  • Server must be accessible from WeChat’s IP ranges (China-based).