WeChat Official Account Service Account Customer Service Docking-Only Customer Service System Documentation Center

The customer service function of the WeChat official account requires the official account to be a certified service account, which can realize the template message reminder of the official account, the authorization of the webpage to obtain the WeChat nickname avatar, the robot or AI automatic reply function, etc.

WeChat official account background settings

【Settings and Development】【Basic Configuration】

Set up the official account's AppID AppSecret IP whitelist

[Settings and Development] [Basic Configuration] [Server Configuration] Enable and fill in all information

The server address can be obtained in the customer service background. Token is a custom string, you can make one at will. Other default, plaintext mode.

Please add server IP to IP whitelist: 81.69.45.114

Set domain names such as web page authorization

If you need the webpage authorization function, you need to fill in the authorized domain name

【Settings and Development】【Official Account Settings】【Function Settings】

Fill in your own domain name. In order to verify the ownership of the domain name, the official account will request to download a verification file, upload the verification file to the update directory of the website, and need to be able to access it.

Template message settings

【Advertisement and Service】【Template News】【Template Library】Choose a few from it, and which one to choose, you can figure it out.

I give an example

In the template message, the difference is the copywriting. The placeholder { {keyword1.DATA}} in the text will be replaced by the specified data by the customer service system.

Specifically what data is replaced, you can choose one by yourself, fill in the template ID in the customer service background, and then receive the message to see.

Configuration of customer service system background

In the settings of the customer service background, you can see the address of the server. This address is filled in the server configuration of the official account above.

The AppId AppSecret Token of the official account is consistent with the one set above

The template ID is the template configured above, which can be filled in

Web page authorization domain name, https://domain name, here is what must be filled in when using official account web page authorization authority when you need to obtain nickname avatar.

The WeChat official account customer service message interface, the automatic reply function, is to call the official account customer service message interface to actively reply. Fill in on to reply in the official account dialog box. If you do not fill in the default, it will not reply in the dialog box

Guess you like

Origin blog.csdn.net/taoshihan/article/details/130717332