Skip to content

Webhook Setup

  1. Go to https://mp.weixin.qq.com
  2. Navigate to 设置与开发 (Settings & Development) → 基本配置 (Basic Configuration)
  3. Find 服务器配置 (Server Configuration) → Click 修改配置 (Edit Configuration)
  4. In the 编辑消息推送 (Edit Message Push) modal, copy and enter the following Webhook URL: e.g. https://n8n.icloudhospital.com/webhook/xxxxx/wechat
  5. Enter the following values:
    1. URL(服务器地址): Paste the webhook URL above
    2. Token(令牌): Enter the same Token you provided in Step 2
    3. EncodingAESKey(消息加密密钥): Enter the same EncodingAESKey you provided in Step 2
    4. 消息加密方式: Select 安全模式(推荐) (Secure Mode - Recommended)
    5. 数据格式: Select XML
  6. Click 提交 (Submit)
  7. WeChat will automatically verify your webhook URL
  8. Once verified, click 启用 (Enable) to activate

Note: The above steps are sufficient for messaging functionality. If you plan to use web features (sharing web pages, payments, JS-SDK), you may need to configure 业务域名 (Business Domain) in 功能设置 (Feature Settings).