I have been developing the integrated function of WeChat recently, and found that WeChat has opened a multi-customer service function for certified accounts. For customer inquiries, you can switch to the customer service processing method, and you can add multiple customer service for processing. This is in It is a good marketing function when there are many customer inquiries. The multi-customer service function of WeChat can make full use of customer service staff resources to process customer consultation information promptly and quickly, bringing more opportunities and markets to the enterprise.
By default, this multi-customer service function needs to be actively activated in the service center in the WeChat public platform. It is not activated by default. In order to experience this function, I will activate the multi-customer service function here.
WeChat’s multi-customer service function, for customer service response operations, can be operated on the computer client or through the WeChat multi-customer service assistant. Processing, both can respond to customer information, end sessions, etc.
After activating the WeChat multi-customer service function, you need to add some customer service IDs for handling customer information.
Multiple customer service accounts use the form of "work ID@WeChat ID" to log in. Please enter the account information in the login window as shown below.
Use on the computer client
<xml> <tousername></tousername> <fromusername></fromusername> <createtime>1399197672</createtime> <msgtype></msgtype> </xml>
/// <summary> /// 客服消息 /// </summary> [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; } }
ResponseCustomer customInfo = new ResponseCustomer(info); xml = customInfo.ToXml();
//处理 0 指令, 人工客服 if (string.IsNullOrEmpty(xml) && eventKey.Trim() == "0") { xml = base.DealEvent(eventInfo, "event_customservice"); }
//人工客服 if (eventKey == "event_customservice") { ResponseCustomer customInfo = new ResponseCustomer(info); xml = customInfo.ToXml(); }
The above is the detailed content of C# develops WeChat multi-customer service functions and develops integration examples. For more information, please follow other related articles on the PHP Chinese website!