Skip to content

Channels: WeCom

WeCom, also called Work WeChat, is a Tier 2 channel. Wayland connects as a WeCom app inside your organization. It supports two connection modes, and you supply the credentials for the one you pick.

Before you start (prerequisites and accounts)

Section titled “Before you start (prerequisites and accounts)”
  • A WeCom (Work WeChat) organization where you can create an app.
  • The Wayland desktop app running with a model provider connected.

Create the credentials (on the provider side)

Section titled “Create the credentials (on the provider side)”

Choose one mode:

  • WebSocket mode: create or open a WeCom Intelligent Bot and note its Bot ID (the long-connection bot identifier) and Secret.
  • Webhook mode: note your Corp ID, then configure the app’s callback and note the Token and Encoding AES key.

Connect it in Wayland (Settings -> Channels -> WeCom)

Section titled “Connect it in Wayland (Settings -> Channels -> WeCom)”
  1. Open Settings -> Channels and choose WeCom.
  2. Choose the Mode.
  3. For WebSocket mode, enter the Bot ID and Secret.
  4. For Webhook mode, enter the Corp ID, Token, and Encoding AES key.
  5. Save.

Verify (status goes from idle to connected, send a test message)

Section titled “Verify (status goes from idle to connected, send a test message)”

After saving, the status moves from idle to connected. Message the app in WeCom and confirm a reply.

Set the assistant and default model on the WeCom page. Inbound messages route to that assistant.

In WebSocket mode, a wrong bot ID or secret blocks the connection. In Webhook mode, a wrong corp ID, token, or encoding AES key blocks message verification. Confirm the values for the mode you chose. See Channel Connection Issues.