Connecting WeChat to maaiiconnect

Connect your WeChat Official Account to your maaiiconnect service. Your visitors and customers' messages on your WeChat Account become omnichannel enquiries in your maaiiconnect service, which any of your staff can attend as one-on-one conversations.

📘

What is WeChat Official Account?

Learn more about WeChat Official Account.

🚧

Reminder:

  • After the activation, it will automatically forward your visitor's and customer's WeChat Official Account messages to your maaiiconnect account.

  • Automatic replies and custom menus set in the WeChat Official Account Platform will no longer apply. See How to reactivate or edit Custom Menu after enabling Developer Mode.

  • Changes in any settings in the WeChat Official Account Platforms will affect your maaiiconnect WeChat channel. Please follow how to Configure and Enable the Basic Configuration Settings if you change any configurations.

 

Here is a simple flow to set up your maaiiconnect and WeChat Official Account (WOA).

 

Refer to the following step by step for the configuration.

Step 1: Sign in to WeChat Official Accounts Platform

  • Open the Login page of WeChat Official Account Platform.

  • You may change the platform's language setting to the one you want to use (1).

  • If you do not have a WeChat account, you may register for one before proceeding to the next step (2). Refer to the Guide provided by the WeChat Open Platform (available in Chinese language only).

  • If you already have an existing WeChat account, make sure it has Administration Access to your Official Account, then authorise it by scanning the QR Code on the Official Accounts Platform page (3).

WeChat Official Accounts PlatformWeChat Official Accounts Platform

WeChat Official Accounts Platform

 

Step 2: Navigate to Basic Configuration

  • After you have successfully logged in, go to Development > Basic Configuration (开发 > 基本配置).
Navigating to Basic ConfigurationNavigating to Basic Configuration

Navigating to Basic Configuration

 

Basic Configuration

IP Whitelisting

If you enabled the IP Whitelisting in your WeChat Official Account, add the following IP Addresses to allow your account to access maaiiconnect.

  • 202.94.87.180
  • 103.251.198.4
  • 211.151.181.36

On the Basic Configuration page,

  • Click on the Config/View link of the IP Whitelist. IP whitelist setting window will display.
IP WhitelistingIP Whitelisting

IP Whitelisting

  • Add the IP Addresses to the IP whitelist. One IP address per row.
  • Click on the Confirm modification button.
IP WhitelistingIP Whitelisting

IP Whitelisting

  • To confirm and save the change, you will need to use an administrator account or a long-term operator of the WeChat Official Account to scan the QR Code to verify the action.
IP WhitelistingIP Whitelisting

IP Whitelisting

 

Setting up the Basic Configuration the first time

If it is your first time setting up, click on Change Configuration (修改配置) to update the basic configuration settings (1) and refer to Step 3: Setting up the Basic Configuration.

 

Basic Configuration already setup

If you have already made changes to the Basic Configuration, click on Enable (启用) for your settings to take effect (2) and refer to Step 4: Enable Basic Configuration.

Basic Configuration PageBasic Configuration Page

Basic Configuration Page

 

Step 3: Connect your WeChat Official Account

From the navigation menu, go to Channels > Omnichannel.

  • On the Omnichannel page, click the Create Channel button located in the top-right corner. A pop-up window will show to display a list of sources that you can connect to.
  • Click Connect to WeChat
Connect WeChatConnect WeChat

Connect WeChat

 

You have not linked WeChat Official Account yet. This page will appear for the first time.

  • Click on the Set up a WeChat Account button.
Setting up a new WeChat channelSetting up a new WeChat channel

Setting up a new WeChat channel

 

On the pop-up WeChat configuration page, fill in the following information:

Setting up a new WeChat channelSetting up a new WeChat channel

Setting up a new WeChat channel

  • Official Account Name - the Official Account Name of your WeChat.
WeChat Account NameWeChat Account Name

WeChat Account Name

 

  • Server Address URL (1) - copy the URL that appears on the maaiiconnect side and paste it on its respective field located in the WeChat Platform > Development > Basic Configuration page.

  • Token (2) - copy the Token that appears on the maaiiconnect side and paste it on its respective field located in the WeChat Platform > Development > Basic Configuration page.

  • Developer App ID (3) - copy the App ID value located in the WeChat Platform > Development > Basic Configuration page and paste it in the maaiiconnect side.

Setting up a new WeChat channelSetting up a new WeChat channel

Setting up a new WeChat channel

 

  • Developer Password (AppSecret) (5) - generate the Developer Password located in the WeChat Platform > Development > Basic Configuration and paste it in the maaiiconnect side.

  • Message Encryption Key (EncodingAESKey) (6) optional - go to WeChat Platform > Development > Basic Configuration then under Message Encryption Method (消息加解密方式), select Plaintext Mode.
    Click on the Random Generation, copy the code and paste it in the maaiiconnect side.

Setting up a new WeChat channelSetting up a new WeChat channel

Setting up a new WeChat channel

 

- Lastly, go to WeChat Platform > Settings > Account info > Account details and copy the Original ID (4) value and paste it on the maaiiconnect side.
  • Once all information is given to the maaiiconnect side, click on the Continue button, and you will be redirected to the Channel Details page.

 

Step 4: Enable Basic Configuration

In the WeChat Official Account, click on the "Enable" button

  • After you click on the Enable (启用), a pop-up message will appear, asking you to confirm the action.
  • Click on Confirm.

The following will then happen in the background:

  • The WeChat server will send a verification request to the webhook with the query.
  • maaiiconnect will respond to the verification query once it successfully receives it.
Enabling Basic ConfigurationEnabling Basic Configuration

Enabling Basic Configuration

 

Step 5: Configure your settings

Set how to distribute incoming enquiries from this channel to the target destinations.

Channel Name

  • Add a name for your WeChat channel. The channel name can be up to 40 characters.
Channel NameChannel Name

Channel Name

Routing Settings

Select for the Routing Rule and add Destinations based on the operational support to your channel.
Please check our detailed guide Alternative, Percentage, Time and Sticky Routing for more information.

Routing SettingsRouting Settings

Routing Settings

 

Step 6: Customise your welcome and away messages

Set welcome and away messages that are automatically sent to customers. Welcome messages are greetings sent to a customer when they first message you. At the same time, away messages are only sent if no staff are available to answer an enquiry. You may also choose to include a display name on messages from your staff sent to customers.

Display Name Format
You may include a display name on your messages whenever your staff members send them on behalf of your Facebook Page. Choose from the following options:

  • No name to display
  • Staff first name
  • Staff first name + last name

Welcome Message
Greet your visitors when they send you their very first message.

  • maaiiconnect provides a default welcome message; you can change it according to your preference.

Away Message
When a visitor's enquiry is missed, send an auto-reply message that their enquiry will be attended to shortly.

maaiiconnect provides a default away message; you can change it according to your preference.

Customise welcome and away messagesCustomise welcome and away messages

Customise welcome and away messages

 

Created channels listed on the Omnichannel page.

Omnichannel Main PageOmnichannel Main Page

Omnichannel Main Page

 

Managing WeChat Channels in maaiiconnect

To edit, suspend, or delete your WeChat channels in maaiiconnect, refer to the Managing Omnichannels section of this Guide.

 

Serving Chat Enquiries

Refer to Serving Chat Enquiries more information on how to serve an enquiry via the WeChat channel.

 

How to Reactivate or Edit Custom Menu

Custom Menu is disabledCustom Menu is disabled

Custom Menu is disabled

If you activated the Developer Mode, by default, WeChat would disable your Custom Menu Configuration.

Reactivate Custom Menu

To re-enable it after enabling the Developer Mode, please follow the steps below:

  • Click “+ Add Plugin-ins (+ 添加功能插件)" and find "Custom Menu (自定义菜单)"
Add Plugin-ins -> Custom MenuAdd Plugin-ins -> Custom Menu

Add Plugin-ins -> Custom Menu

  • Select "Custom Menu (自定义菜单)" and enable it.
Enable Custom MenuEnable Custom Menu

Enable Custom Menu

Then, you will see the Custom Menu is back in your WeChat Official Account;

 

Edit Custom Menu

In the case that you want to edit the Custom Menu after enabling Developer Mode in the future, please follow the steps below:

  • Disable 服务器配置 in the Development > Basic Configuration
Disable 服务器配置Disable 服务器配置

Disable 服务器配置

  • Navigate to the Custom Menu in the Function > Custom Menu and click save.
Edit Custom MenuEdit Custom Menu

Edit Custom Menu

  • Enable 服务器配置 in the Development > Basic Configuration
Enable 服务器配置Enable 服务器配置

Enable 服务器配置

  • Click “+ Add Plugin-ins (+ 添加功能插件)" and find "Custom Menu (自定义菜单)"
Add Plugin-ins -> Custom MenuAdd Plugin-ins -> Custom Menu

Add Plugin-ins -> Custom Menu

  • Select "Custom Menu (自定义菜单)" and enable it.
Enable Custom MenuEnable Custom Menu

Enable Custom Menu

 

Known Limitations

:white-check-mark: You can only connect your WeChat Official Account to maaiiconnect. You cannot connect maaiiconnect to other WeChat Accounts (e.g. Personal Account).

:white-check-mark: A WeChat Official Account can only connect to one maaiiconnect service.

:white-check-mark: Supported Text, Media Content-Types and Size Limit

  • You can only send up to 3,900 characters per message.
  • You cannot recall messages from any Omnichannel enquiries.
  • Media (image, audio, video, emoji or file) is only available for the Chinese WeChat Official Account. It does not support if you have an Oversea WeChat Official Account (only support plain text).
  • DOC, XLS, PPT, and PDF and should not exceed 100 MB for a file
  • PNG and JPG and should not exceed 5 MB for an image
  • AAC, MP4, AMR and MPEG and should not exceed 16 MB for audio
  • MP4 and 3GPP and should not exceed 16 MB for a video
  • WeChat Official Account have a 48-hour window period when you can send messages and respond to enquiries. The following message appears when the window period has lapsed or the visitor has unsubscribed your Account: Sorry, your message can no longer send; the 48-hour message window has lapsed. Close this enquiry, or wait until the visitor sends a message again.

 

Help and Support

If your maaiiconnect service is not receiving messages from your WeChat customers and visitors:

  • Log on to your WeChat Official Account and check the details of your Basic Configuration and Account Details and please ensure all are the same with your maaiiconnect channel details.

  • Send a test message to your WeChat Official Account and check if your maaiiconnect service receives it.

If your maaiiconnect service is still not receiving any messages, contact our maaiiconnect Support Team at [email protected].

Updated a day ago


Connecting WeChat to maaiiconnect


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.