15-day Pro trial · no credit cardStart free →

Channels

WeChat Customer ServiceNew

Connect WeCom WeChat Customer Service (self-built app) to answer WeChat users from any entry point, including WeChat Channels.

Connect WeCom WeChat Customer Service (企业微信「微信客服」): WeChat users who open your customer service link from a website, Official Account, Mini Program or WeChat Channels profile land in the STINGIM inbox, next to WhatsApp, LINE and your other channels. Agents, bots and flows reply directly.

China channels appear under Settings → Channels only after they are enabled for your organization; contact support. On the Singapore (international) deployment a tenant administrator must first accept the cross-border processing notice: messages from users in mainland China are processed outside mainland China, and you are responsible for informing your users and obtaining any consent required.

Prerequisites

  • A WeCom organization with WeChat Customer Service (a mainland-China entity is recommended; overseas entities have restricted features).
  • Admin access to the WeCom admin console and to kf.weixin.qq.com.
  • The Integrations permission in your STINGIM project.

1. Create a self-built app and grant access

  1. In the WeCom admin console create a self-built app (App Management → Self-built) and note its AgentId and Secret. Copy the Corp ID (starts with ww) from My Company → Company info.
  2. Under WeChat Customer Service → API enable the API, add the app to "Apps that can call the API" and assign the customer service account(s) to it. The app's visibility scope must include the reception staff.
  3. Add the egress IPs shown on the STINGIM channel page to the app's Trusted IPs. Without them WeCom rejects API calls (error 60020).
  4. Copy the account's customer service account ID (open_kfid, starts with wk).

2. Connect in STINGIM

  1. Open Settings → Channels → WeChat Customer Service.
  2. Enter the Corp ID, AgentId, Secret and open_kfid. STINGIM generates a random Token and EncodingAESKey; copy them now (they are stored encrypted and never shown again).
  3. Click Connect. STINGIM checks the credentials, confirms the account belongs to your company and creates a customer service link.
  4. Click Manage on the channel and copy the callback URL: https://api.stingim.com/v1/channel/wecom-kf/<channel-id>.

3. Set the receive-message API

In the app open Receive messages → Set API receiving and enter the callback URL, Token and EncodingAESKey (same values as in STINGIM). WeCom verifies the URL when you save.

How messages are handled

From the customerIn the inbox
Text, image, voice, video, fileStored as received (media saved with the conversation)
Location, link, business card, Mini ProgramText description
WeChat Store product / order cardProduct name, price, product ID / order number
Entering from a Channels profile, live room or storeSource recorded in the contact remark

WeChat nicknames are synced to contacts. Reply rules:

  • Up to 5 replies within 48 hours of each customer message; replies over the limit are not sent and the conversation shows why.
  • Images (JPG/PNG), voice (AMR), video (MP4) and files are sent natively; anything else as a download link.
  • If a servicer takes over the session in the WeCom app, replies from STINGIM are rejected (shown in the conversation).

Troubleshooting

  • URL verification fails: the Token and EncodingAESKey must match STINGIM exactly.
  • IP not trusted (60020): add the IPs shown in STINGIM to the app's Trusted IPs, then click Re-check.
  • Customer service account not found: assign the account to the app under WeChat Customer Service → API.

Still stuck? Contact support.

Found a mistake? Email [email protected]