Documentation / Set-up guides / Channels

WeChat

On this page
On this page
This guide is for

Messages to your WeChat service account arrive in Inbox → WeChat, where the team answers them. WeChat allows a reply for 48 hours after a person's message, and up to five messages each time they write. Autopilot does not answer WeChat.

Before you start

  • A verified WeChat service account (服务号).
  • Its AppID and AppSecret, from WeChat Official Accounts Platform → Settings and Development → Basic configuration. WeChat shows the AppSecret once, when you reset it there.
  • The WeChat plugin switched on in Admin → Apps.

Connecting the account

  1. Open Admin → Messaging → WeChat. Enter AppID and AppSecret, and press Save changes.
  2. Put the workspace's address on WeChat's whitelist. WeChat takes calls only from addresses on its IP whitelist. Ask the operator for this region's fixed outbound IP address and confirmation that hosted WeChat connections are allowed. Add the address in WeChat under Basic configuration → IP whitelist. Custom outbound proxies are unavailable on hosted.
  3. Press Generate in Server configuration. Paste Server URL, Token and EncodingAESKey into WeChat under Basic configuration → Server configuration, choose Safe mode and press Enable.
  4. Press Test connection. The answer says whether WeChat accepts the AppID, the AppSecret and the address the desk calls from.
  • Regenerate stops the old Token and EncodingAESKey at once: paste the new pair into WeChat straight away.
  • After 48 hours, or once the five replies are used, the reply box says so. It opens again when the person writes.
  • AI drafts use workspace credits and stay in the composer for you to review and send.
  • AI drafts are unavailable until workspace AI is configured. Automatic English translations are unavailable.
  • Hosted WeChat replies accept up to 2,000 characters. Incoming media can be opened while WeChat retains it; video links are unavailable.

Messages to your WeChat service account arrive in Inbox → WeChat, where the team answers them. WeChat allows a reply for 48 hours after a person's message, and up to five messages each time they write. Autopilot does not answer WeChat.

WeChat: the set-up page in Terramine Desk Admin, before anything is entered
WeChat in Admin, as the page looks before anything is entered.

Before you start

  • A verified WeChat service account (服务号).
  • Its AppID and AppSecret, from WeChat Official Accounts Platform → Settings and Development → Basic configuration. WeChat shows the AppSecret once, when you reset it there.
  • The WeChat plugin switched on in Admin → Apps.

Connecting the account

  1. Open Admin → Messaging → WeChat. Enter AppID and AppSecret, and press Save changes.
  2. Confirm the outbound address with your server operator. Add the desk’s fixed outbound IP in WeChat under Basic configuration → IP whitelist. If the deployment has no stable outbound address, configure a supported fixed-address server in Outbound proxy and whitelist that server’s IP instead. A changing outbound address can stop replies until the whitelist is updated.
  3. Press Generate in Server configuration. Paste Server URL, Token and EncodingAESKey into WeChat under Basic configuration → Server configuration, choose Safe mode and press Enable.
  4. Press Test connection. The answer says whether WeChat accepts the AppID, the AppSecret and the address the desk calls from.
  • Regenerate stops the old Token and EncodingAESKey at once: paste the new pair into WeChat straight away.
  • After 48 hours, or once the five replies are used, the reply box says so. It opens again when the person writes.