Mini Program Designated Customer Service

Designate single customer service or multiple customer service according to business needs

Step 1: Use session-from on the customer service button to specify the customer service , the code is as follows

 <button open-type='contact' session-from='{"kefu":["kefu_id1", "kefu_id2", "kefu_id3"],"nickName":"{{userInfo.nickName}}" ,"avatarUrl":"{{userInfo.avatarUrl}}"}'></button> 

kefu: here is the ID of the customer service, you can pass one or more IDs

(在小客服管理后台-客服中心-客服管理页面,可看到专属客服的ID,传多个ID时,则为指定多个专属客服接待消息,传1个ID则为指定特定一个专属客服接待)

nickname: the customer's WeChat nickname, the maximum length is 1024

avatar: customer's WeChat avatar

The value of session-from is in json format

userInfo.nickName, userInfo.avatarUrl is the obtained user nickname and avatar

 

Step 2: Turn on the exclusive customer service function switch corresponding to the customer service ID

注意:代码中写的客服ID要和小客服后台分配的客服ID对应一致

 

①Specify customer service reception rules

1. The exclusive customer service switch is actually the function of specifying the customer service to receive messages

2. When the exclusive customer service switch is turned off, the customer service can receive customer service messages without parameters. When it is turned on, it can only receive customer service messages with session-from.

3. When turned on, you need to specify the exclusive customer service id on the customer service button session-from to take effect. The designated customer service receives the message function

 

②Customer Service Notes

When you designate multiple customer service agents to receive messages, you can set a remark for these customer service agents: such as after-sales group; pre-sales group; delivery group.

In this way, it is convenient to manage the designated customer service, and you can know which group these customer service belong to and what work they are responsible for.

 

③The customer service nickname
can also use the customer service nickname function to give each customer service a nickname name, which is convenient for memory

————————————————————————————————————————

For the specific and complete operation process, see here: Sesame Mini Program Customer Service Mobile Version, a tool for viewing and replying to messages in a more timely manner!

Sesame Customer Service Experience Portal  http://xiaokefu.hotapp.cn

Small customer service mobile homepage   http://xiaokefu.com.cn/index/mobile

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325160379&siteId=291194637