WeChat Official Account

A WeChat Official Account exists in the form of a Wechat user's contact, and chat is the basis for the interaction between the Official Account and its users. Follow these steps to configure WeChat Official Account.

Before You Begin

If you don't have WeChat Official Account, set up one first.

  1. Go to https://mp.weixin.qq.com, click Register Now
  2. Select Service Account or Subscription Account, and follow the instructions that are provided on the screen to complete the process.

An image

Add an Integration

  1. From the chatbot page, click Setting > Integrations. In the Channels field, click Add New > Wechat Official Account

An image

  1. Fill the Name box, and copy Callback URL

An image

Connect Chatbot to WeChat Official Account

  1. Go to https://mp.weixin.qq.com and log in with your WeChat Official Account.
  2. In the Setting and Development field, click Basic configuration.
  3. In the Official Account development information field, copy Developer ID(AppID) and Developer Password(AppSecret)

An image

Notice

If you used Developer Password(AppSecret) before but didn't store it, you can click Reset to get a new one.

  1. Click Configuration (or View), add 123.56.222.81 to IP whitelist and click Confirm modification to save the modification.

An image

  1. In the Server Configuration (服务器配置) field, click Change Configuration.

An image

  1. Paste Callback URL you copied in URL.
  2. Set your Token and copy it.
  3. Click Random Generation to generate EncodingAESKey and click Submit.

An image

Deploy Chatbot

We show here how we deploy chatbot to Framely hosted environment, for the private deployment, please consult systems in your organization.

  1. Back to your chatbot page, paste AppID, AppSecret and Token you copied.
  2. Click SAVE.

An image

  1. Click Deploy to deploy your chatbot.

An image

  1. Once you deploy successfully, you can try to send messages to your WeChat Official Account to test your chatbot now.
Last Updated: