Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of Wechat Multi-customer Service function and Development Integration of C#

2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

Editor to share with you C# Wechat multi-customer service features and development integration example analysis, I believe that most people do not know much about it, so share this article for your reference, I hope you will learn a lot after reading this article. Let's take a look at it!

Recently, I have been working on the integrated function development of Wechat. I found that Wechat has opened a multi-customer service function to the authentication account. For customer consultation, it can be switched to customer service processing, and multiple customer service can be added to deal with it. This is a good marketing function when there are many customer inquiries. Wechat multi-customer service function, to a large extent the use of customer service staff resources, timely and rapid processing of customer consultation information, bringing more opportunities and markets for enterprises.

By default, this multi-customer service feature needs to be activated actively in the service center in the Wechat public platform, but not by default. In order to experience this feature, I activate the multi-customer service feature here.

1. Multi-customer service preparation

Wechat multi-customer service function, for customer service response operations, not only can be operated on the computer client, but also in Wechat multi-customer service assistant for information processing, both of which can respond to customer information, end the session and other operations.

After activating the multi-customer service function of Wechat, you need to add some customer service numbers that deal with customer information.

The multi-customer service account is logged in in the form of "work number @ WeChat account". Please enter the account information in the login window as shown below.

2. Use multi-customer service client or assistant to operate

Use on the computer client

The use of multi-customer service on the mobile client is to follow an account, and the information is forwarded here for processing. Follow the official account "multi-customer service assistant" and it will be done.

Through the above two ways, we can well deal with the relevant information of customers, which is similar to the way of telephone seats, so that different customer service staff can deal with the visiting customers.

3. The development and use of Wechat multi-customer service.

In the introduction of Wechat's multi-customer service development, the content is introduced less, as shown below.

In the new Wechat agreement, the development mode can also be connected to the customer service system. If a developer needs to use the customer service system, he needs to return a message with a MsgType of transfer_customer_service when he receives the message sent by the user. When receiving this message, the Wechat server will forward the message sent by the user this time and within a period of time to the customer service system. An example of the message returned is as follows.

1399197672

When developing, we generally encapsulate it as an entity class information, as shown below. The main thing is to specify the message type and flip the incoming and outgoing objects.

/ customer service message / / [System.Xml.Serialization.XmlRoot (ElementName = "xml")] public class ResponseCustomer: BaseMessage {public ResponseCustomer () {this.MsgType = ResponseMsgType.transfer_customer_service.ToString () .ToLower ();} public ResponseCustomer (BaseMessage info): this () {this.FromUserName = info.ToUserName This.ToUserName = info.FromUserName;}}

Then when you call the processing, the code looks like this.

ResponseCustomer customInfo = new ResponseCustomer (info); xml = customInfo.ToXml ()

If I am in the customer response processing, and the customer responds to 0, I will switch to the customer service mode, so that all subsequent inputs from the customer will not trigger the resolution in the Wechat portal, but will be forwarded to the customer service mode, so that the customer service number can talk with the customer.

/ / handle 0 instruction, manual customer service if (string.IsNullOrEmpty (xml) & & eventKey.Trim () = = "0") {xml = base.DealEvent (eventInfo, "event_customservice");}

In DealEvent, it is OK to deal with it according to this condition.

/ / Human customer service if (eventKey = = "event_customservice") {ResponseCustomer customInfo = new ResponseCustomer (info); xml = customInfo.ToXml ();}

By using a multi-customer service client, it is very convenient to deal with messages and get the conversation information of the customer. on the computer client, the interface you see is as follows.

The screenshot of the conversation on the phone is shown below.

In this way, we will be able to respond to customer information in a timely manner through multiple channels.

If you are interested or experience the relevant customer service response features, you can follow my Wechat to understand. The specific results can be followed by my Wechat portal: Guangzhou Aiqidi, or you can scan the following QR code to follow and understand.

The above is all the contents of the article "sample Analysis of Wechat Multi-customer Service functions and Development Integration of C#". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report