Connect WeChat Official Account

Prepare your WeChat Service Account, connect it in three steps and answer your followers from the shared inbox.

Connecting a WeChat Official Account brings every chat with its followers into the shared inbox, so your team answers WeChat next to every other channel. Setup happens in two places: you prepare the account on the WeChat side, connect it in Prospect, then paste the server address Prospect gives you back into WeChat's message push settings.

Before you start

  • A verified Service Account (ๆœๅŠกๅท that has completed ๅพฎไฟก่ฎค่ฏ). Only a verified Service Account can reply from the inbox and send template messages. An unverified account or a Subscription Account can receive messages but cannot answer them from here.

  • Admin access to the account on the WeChat Developer Platform.

  • Permission to connect a channel into at least one inbox. See Roles and permissions.

  • Fifteen minutes, plus however long your account takes to approve an IP whitelist change.

Connect the channel

  1. Go to Settings โ€บ Channels and click Connect Channel (see Connect a channel). Filter by Messaging (1) and click Connect on the WeChat Official Account card (2).

    Connect Channel marketplace with the Messaging filter (1) and the Connect button on the WeChat Official Account card (2) highlighted
  2. Choose the inbox under Connect to service (1), then click Connect (2). A three-step guide opens: Prepare, Account and Server URL.

    WeChat Official Account dialog with the Connect to service dropdown (1) and the Connect button (2) highlighted

Step 1: Prepare

  1. Sign in to the WeChat Developer Platform, open My Business (ๆˆ‘็š„ไธšๅŠก) โ€บ Service Account (ๆœๅŠกๅท) and select your account.

  2. Make sure the AppSecret (ๅผ€ๅ‘่€…ๅฏ†็ ) is enabled. You copy it in the next step.

  3. Add every IP listed under Server IPs to whitelist to the account's API IP whitelist (API IP็™ฝๅๅ•). Copy takes them all at once (1). WeChat refuses every call from an IP that isn't on the list, including the one that checks your credentials, so do this before you go on. Then click Next (2).

    Prepare step with the Server IPs to whitelist list and its Copy button (1) and the Next button (2) highlighted

Step 2: Account

  1. Paste the AppID and AppSecret from the account page (1). Optionally give the channel a Display name.

  2. Enter a Token (2): 3 to 32 letters or digits of your choice. WeChat signs every message with it. Click Generate for a strong one.

  3. Enter an EncodingAESKey (3): 43 letters or digits that encrypt messages between WeChat and Prospect. It's optional, but without it WeChat sends messages in plaintext (ๆ˜Žๆ–‡ๆจกๅผ), which WeChat does not recommend. For a live account, click Generate and use Safe mode in the next step.

  4. Click Connect (4). Prospect checks the AppID and AppSecret with WeChat before it creates anything.

    Account step with the AppID and AppSecret fields (1), the Token field and its Generate button (2), the EncodingAESKey field and its Generate button (3) and the Connect button (4) highlighted

Step 3: Server URL

  1. The last screen shows the Server URL, the Token and the EncodingAESKey, each with a Copy button (1).

  2. On the WeChat Developer Platform, open Message & Event Push (ๆถˆๆฏไธŽไบ‹ไปถๆŽจ้€) for the account. Paste the Server URL (ๆœๅŠกๅ™จๅœฐๅ€), and enter the same Token (ไปค็‰Œ) and EncodingAESKey (ๆถˆๆฏๅŠ ่งฃๅฏ†ๅฏ†้’ฅ).

  3. Choose Safe mode (ๅฎ‰ๅ…จๆจกๅผ) as the message encryption method, then submit and enable it.

  4. Back in Prospect, click Done (2).

    Server URL step with the Server URL, Token and EncodingAESKey fields and their Copy buttons (1) and the Done button (2) highlighted

Warning: Copy the Token and EncodingAESKey before you click Done. They are not shown again. If you lose them, connect the channel again with new values.

Note: Enabling message push turns off the auto-replies (่‡ชๅŠจๅ›žๅค) and the custom menu (่‡ชๅฎšไน‰่œๅ•) set up in the Official Account admin. From then on every message goes to your inbox, and replies come from your team or your automation in Prospect.

After connecting

The channel appears under Settings โ€บ Channels.

When someone follows your account, a waiting thread opens for them with a "followed" event in it. It doesn't count as a new conversation yet: no SLA starts, no router assigns it and nobody is notified. The follower's first message turns it into a real conversation. When a follower unfollows, the thread notes it and the contact is removed, but the history stays. If they follow again, the same contact and thread come back.

Follower names are anonymous. WeChat no longer returns nicknames or profile pictures, so a follower shows as User followed by the last six characters of their WeChat ID. If you set a remark (ๅค‡ๆณจ) on the follower in the Official Account admin before they first contact you, that remark is used as the name instead. You can also rename the prospect yourself.

Template messages

Template messages are written and approved on the WeChat side, not in Prospect. In Settings โ€บ Message Templates, click Sync from WeChat to bring in your approved templates. They are read-only here; Manage on WeChat takes you to the WeChat console to change them. See Message templates for how templates work in general.

An agent sends a template from the composer by picking it and filling its fields. WeChat allows no line breaks or emoji in a template field, and each field has a length limit. Template messages are not bound to the 48-hour reply window. The template picker lists up to 200 templates per channel.

What this channel can and cannot do

Capability

WeChat

Receive text, images, voice notes, videos, links

Yes

Receive a shared location

Yes, shown on a map

Receive a file a follower sends

No. The thread shows a note asking you to request it another way

Send text and images

Yes. Images up to 10 MB; over 2 MB they are scaled down before sending

Send voice

Yes, converted to MP3 if needed, up to 60 seconds

Send documents and videos

As a link in a text message, up to 25 MB

Files per message

Up to 5, sent one after another

Template messages

Yes, synced read-only from WeChat

Quote a message when replying

Not supported

Group chats

Not supported, followers only

Broadcasts

Not supported

Voice notes play straight in the inbox. The AI agent can't listen to them, so a voice note gets no automatic answer.

You can reply freely for 48 hours after the follower last wrote or followed you. After that the composer shows that the window has closed and suggests a template message instead. Nothing stops you from sending, but WeChat refuses late replies and the failed message says why. WeChat may also cap how many replies you send in a row before the follower answers. Once a follower has unfollowed, the composer says so, and neither replies nor templates can reach them. More on this in When the messaging window has closed.

Troubleshooting

Symptom

Cause

Fix

Invalid AppID or AppSecret.

The pair doesn't match, or the secret was reset

Copy both again from the WeChat Developer Platform and reconnect

Connect fails naming the IP whitelist

The server IPs aren't on the account's API IP whitelist, or the change isn't approved yet

Add every IP from the Prepare step, wait for the approval, then try again

This AppSecret is frozen

The secret was frozen on the WeChat side

Unfreeze or reset it, then connect again

WeChat refuses the Server URL

The Token or EncodingAESKey doesn't match what you entered in Prospect, or the encryption mode doesn't fit

Re-enter both exactly as shown on the last screen. Choose Safe mode if you entered an EncodingAESKey

The account still sends its own auto-replies and nothing reaches the inbox

Message push was submitted but not enabled

Enable the server configuration in Message & Event Push

A reply fails with The 48-hour reply window has closed or the customer unfollowed.

More than 48 hours since the follower last wrote, or they unfollowed

Wait for them to write again, or send a template message

Replies fail naming permission

The account isn't verified, or lacks the API permission

Complete ๅพฎไฟก่ฎค่ฏ for the Service Account

A voice note, image or video can't be downloaded from WeChat

WeChat keeps media for three days, or the download failed

Ask the follower to send it again

Followers show as User and a code

WeChat no longer shares follower names

Expected. Set a remark on the WeChat side, or rename the prospect

If the channel stops receiving messages later, see Messages are not arriving and Reconnect a channel.