Method and equipment for deleting enterprise WeChat target customer
By coordinating the server and client sides of the WeChat Work application, the system automates the batch deletion of target customers, solving the problem of cumbersome operations in existing technologies and improving deletion efficiency and user experience.
Patent Information
- Application Number
- CN202410909387.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-11-01
AI Technical Summary
The existing WeChat for Business lacks the function of batch deleting target customers, which makes the operation cumbersome and inefficient, affecting the user experience.
The system retrieves the external contact identifiers of the target customers to be deleted from the WeChat application server and saves them to a list. On the client side, the system launches a preset application and automatically redirects to the personal information page via the API interface to perform batch deletion.
It enables simple and efficient batch deletion of target customers on WeChat for businesses, improving the user experience.
Smart Images

Figure CN118890337A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of private domain system data processing technology, and in particular to a technology for deleting target customers of enterprise WeChat. Background Art
[0002] Enterprise WeChat is a professional office management application software tool that has a communication experience consistent with WeChat, rich OA applications and the ability to connect to the WeChat ecosystem, which can help enterprises connect internally, with ecosystem partners and consumers.
[0003] There is an upper limit on the number of contacts supported by WeChat for Business, and the more contacts a company has in WeChat for Business, the more fees it will pay. Therefore, WeChat for Business often needs to clean up contacts during maintenance, such as customers who have actively deleted the company's WeChat for Business contacts, customers that the company can no longer contact, or customers with whom it has not interacted for a long time. These customers need to be cleaned up in a timely manner to free up contact slots for adding new customers or to reduce fees.
[0004] However, the existing enterprise WeChat does not have the function of deleting customers (external contacts) in batches. For multiple target customers to be deleted, the only way is to find the target customers one by one from the numerous external contacts in the external contact list and delete them one by one. The operation is cumbersome, inefficient, and has a poor operating experience. Summary of the invention
[0005] The purpose of this application is to provide a method and device for deleting target customers in enterprise WeChat, so as to solve the technical problem that the existing enterprise WeChat cannot delete target customers in batches.
[0006] According to one aspect of the present application, a method for deleting a target customer in WeChat for Enterprise is provided, wherein the method comprises:
[0007] On the enterprise WeChat application server, obtain the external contact ID of the target customer to be deleted and save it to the list of target customers to be deleted;
[0008] In the enterprise WeChat application client, start the preset enterprise WeChat application to perform the following operations: pull the target customer list to be deleted from the server, determine a target customer to be deleted that is ranked first in the target customer list to be deleted, call the enterprise WeChat open personal information page interface, and jump to the personal information page of the target customer to be deleted;
[0009] Delete the target customer to be deleted and return to the preset enterprise WeChat application interface;
[0010] Repeat the above operation to traverse each target customer to be deleted in the target customer list to complete batch deletion of each target customer to be deleted in the target customer list to be deleted.
[0011] Optionally, the step of obtaining the external contact identifier of the target customer to be deleted includes:
[0012] When a corporate WeChat member is deleted by a target customer to be deleted, the corporate WeChat member deletion event is called back to obtain the external contact ID of the target customer to be deleted.
[0013] Optionally, the step of obtaining the external contact identifier of the target customer to be deleted includes:
[0014] When a member of the enterprise WeChat deletes a target customer to be deleted, the enterprise WeChat delete customer event is called back to obtain the external contact ID of the target customer to be deleted.
[0015] Optionally, the step of obtaining the external contact identifier of the target customer to be deleted includes:
[0016] Based on the business data containing the external contact ID of the customer, the external contact ID of the target customer to be deleted is obtained.
[0017] Optionally, the starting of a preset enterprise WeChat application includes:
[0018] Trigger RPA to launch the preset enterprise WeChat application.
[0019] Optionally, triggering RPA to start a preset enterprise WeChat application includes:
[0020] When the preset conditions are met, RPA is automatically triggered to start the preset enterprise WeChat application.
[0021] Optionally, the deleting the target customer to be deleted includes:
[0022] When jumping to the personal information page of the target customer to be deleted, the RPA is automatically triggered to click the function menu or button on the personal information page to complete the deletion of the target customer to be deleted.
[0023] Optionally, the returning to the preset enterprise WeChat application interface includes:
[0024] Trigger RPA to return to the preset enterprise WeChat application interface.
[0025] Optionally, the method for deleting target customers in WeChat Enterprise also includes any of the following:
[0026] Deleting the saved external contact identifier of the target customer to be deleted;
[0027] The stored external contact identifier of the target customer to be deleted is marked.
[0028] Compared with the prior art, the present application provides a method and device for deleting target customers in WeChat for Enterprise. The method includes: on the WeChat for Enterprise application server, obtaining the external contact identifier of the target customer to be deleted and saving it to the target customer list to be deleted; on the WeChat for Enterprise application client, starting the preset WeChat for Enterprise application to perform the following operations: pulling the target customer list to be deleted from the server, determining a target customer to be deleted that is ranked first in the target customer list to be deleted, calling the WeChat for Enterprise interface to open the personal information page, and jumping to the personal information page of the target customer to be deleted; deleting the target customer to be deleted, and returning to the preset WeChat for Enterprise application interface; repeating the above operations, traversing each target customer to be deleted in the target customer list to be deleted, so as to complete the batch deletion of each target customer to be deleted in the target customer list to be deleted. Through this method, batch deletion of WeChat for Enterprise target customers can be achieved, which is simple to operate, efficient, and improves the operating experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0030] Figure 1 A schematic diagram of a method for deleting target customers of enterprise WeChat according to one aspect of the present application is shown;
[0031] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION
[0032] The present invention is further described in detail below in conjunction with the accompanying drawings.
[0033] In a typical configuration of each embodiment of the present application, each device, each trusted party of the system and / or each module of the apparatus may include one or more processors (CPU), input / output interface, network interface and memory.
[0034] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0035] Computer readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory media such as modulated data signals and carrier waves.
[0036] There is an upper limit on the number of contacts supported by WeChat for Business, and Tencent charges companies fees based on the number of contacts in WeChat for Business they use. Therefore, when using WeChat for Business, companies need to maintain and clean up their contacts. For those worthless customers (external contacts), such as customers who actively delete the company's WeChat for Business contacts, customers that the company can no longer contact, or customers that have not interacted with the company for a long time, they need to be cleared in a timely manner to free up space for adding new customers or to reduce costs. However, the existing WeChat for Business does not support batch deletion of customers. If you want to delete multiple customers, you can only find the target customers one by one from the many external contacts in the external contact list and delete them one by one. This is cumbersome, inefficient, and has a poor operating experience.
[0037] The present application provides a technical solution for deleting target customers of WeChat for Enterprises. First, on the WeChat for Enterprises application server, the external contact identifier (ExternalUserID) of each target customer to be deleted is collected through technical means and saved in a list of target customers to be deleted; on the WeChat for Enterprises application client, when a WeChat for Enterprises application pre-developed in WeChat for Enterprises is started, each target customer to be deleted in the list of target customers to be deleted is pulled one by one from the WeChat for Enterprises application server, and the target customer is automatically redirected to the customer information page of the target contact by calling the API interface provided by WeChat for Enterprises; a deletion operation is performed to delete the target customer to be deleted; when each target customer to be deleted in the list of target customers to be deleted is traversed, the above operation is performed to achieve the purpose of batch deleting the target customers to be deleted in WeChat for Enterprises.
[0038] This application can realize batch deletion of target customers. It is simple to operate, highly efficient, and improves the operating experience.
[0039] In order to further illustrate the technical means adopted by the present application and the effects achieved, the technical solution of the present application is clearly and completely described below in combination with the accompanying drawings and preferred embodiments.
[0040] Figure 1 A schematic flow chart of a method for deleting a target customer of an enterprise WeChat according to one aspect of the present application is shown, wherein the method of an embodiment includes:
[0041] S101 obtains the external contact ID of the target customer to be deleted on the enterprise WeChat application server and saves it to the target customer list to be deleted;
[0042] S102: On the WeChat for Business application client, a preset WeChat for Business application is started to perform the following operations: pull the target customer list to be deleted from the server, determine a target customer to be deleted that is ranked first in the target customer list to be deleted, call the WeChat for Business interface to open the personal information page, and jump to the personal information page of the target customer to be deleted;
[0043] S103: deleting the target customer to be deleted and returning to the preset enterprise WeChat application interface;
[0044] S104 repeats the above operation, traversing each target customer to be deleted in the target customer list to complete batch deletion of each target customer to be deleted in the target customer list to be deleted.
[0045] The various method embodiments of the present application can be implemented or executed through the WeChat for Enterprise software deployed in smart terminal devices and / or computer devices. Among them, the smart terminal device can be a terminal device on which WeChat for Enterprise and its related software are deployed, including but not limited to smart phones, Pad tablets, etc. The computer devices include but are not limited to personal computers, laptops, industrial computers, servers, network hosts, single network servers or network server clusters. Here, the smart terminal devices and computer devices are only examples. Other existing or future devices and / or resource platforms that are applicable to this application should also be included in the scope of protection of this application, and are hereby included by reference.
[0046] In this embodiment, in step S101, on the server side of the enterprise WeChat application, the external contact identifier of the target customer to be deleted can be obtained through relevant technical means and saved to the list of target customers to be deleted.
[0047] As a professional office management application software tool provided by Tencent to enterprises, WeChat for Business has a rich set of API interfaces and notification callbacks. On the WeChat for Business application server, WeChat for Business contacts with the customer contact function configured can obtain the customer's ExternalUserID (external contact identifier) by calling the relevant API interface and notification callback, and can save the ExternalUserID of the target customer to be deleted to the list of target customers to be deleted in the order of acquisition time.
[0048] Optionally, the step of obtaining the external contact identifier of the target customer to be deleted includes:
[0049] When a corporate WeChat member is deleted by a target customer to be deleted, the corporate WeChat member deletion event is called back to obtain the external contact ID of the target customer to be deleted.
[0050] If a customer of an enterprise actively deletes the enterprise WeChat member that is connected to the business from his or her WeChat or enterprise WeChat, it will trigger the "delete follow-up member event" of enterprise WeChat. After that, the enterprise can no longer reach the customer through enterprise WeChat, and the customer should be classified as a target customer to be deleted. On the enterprise WeChat application server, through the callback of the "delete follow-up member event" of enterprise WeChat, the ExternalUserID of the customer contained in it can be obtained, and the ExternalUserID can be saved to the list of target customers to be deleted.
[0051] Optionally, the step of obtaining the external contact identifier of the target customer to be deleted includes:
[0052] When a member of the enterprise WeChat deletes a target customer to be deleted, the enterprise WeChat delete customer event is called back to obtain the external contact ID of the target customer to be deleted.
[0053] If an enterprise has multiple WeChat Work accounts, all of which have the same customer added to them, and if a WeChat Work member of one of the accounts actively deletes the customer, the "Delete Enterprise Customer Event" of WeChat Work will be triggered. On the WeChat Work application server, through the WeChat Work "Delete Enterprise Customer Event" callback, you can obtain the ExternalUserID of the customer contained in it, and use the customer as the target customer to be deleted in other WeChat Work accounts, and save its ExternalUserID to the list of target customers to be deleted, so that you can delete the customer in other WeChat Work accounts of the enterprise through subsequent steps.
[0054] Optionally, the step of obtaining the external contact identifier of the target customer to be deleted includes:
[0055] Based on the business data containing the external contact ID of the customer, the external contact ID of the target customer to be deleted is obtained.
[0056] If the business data of the enterprise's business system includes the customer's ExternalUserID, and the enterprise's business system has achieved data intercommunication with the enterprise's WeChat application, then the WeChat application server can filter the acquired business data to obtain the ExternalUserID of the customer who meets the preset conditions, such as the customer who has not had any business in a year. Then the customer can be taken as the target customer to be deleted, and its ExternalUserID can be saved to the list of target customers to be deleted.
[0057] Continuing with this embodiment, in step S102, in the enterprise WeChat application client, the preset enterprise WeChat application is started to perform the following operations: pull the list of target customers to be deleted from the server, determine a target customer to be deleted that is ranked first in the list of target customers to be deleted, call the enterprise WeChat's open personal information page interface, and jump to the personal information page of the target customer to be deleted.
[0058] Among them, in the enterprise WeChat application client, the preset enterprise WeChat application can be manually started by an authorized enterprise WeChat member to perform the following operations: first, the list of target customers to be deleted in step S101 is pulled from the server of the enterprise WeChat application, wherein each target customer to be deleted in the pulled target customer list to be deleted can be sorted according to preset rules, and the target customer to be deleted that is ranked first in the target customer list to be deleted is determined, and then the "open personal information page" interface of the enterprise WeChat is called manually or by RPA (Robotic Process Automation) by clicking the relevant button and / or menu to jump to the personal information page of the target customer to be deleted. Among them, the sorting according to the preset rules can be predetermined in combination with the actual application scenario, for example, it can be based on the ExternalUserID of each target customer list to be deleted in the target customer list to be deleted, or it can be based on the time when each target customer to be deleted is saved in the list, or it can be determined randomly.
[0059] Optionally, the starting of a preset enterprise WeChat application includes:
[0060] Trigger RPA to launch the preset enterprise WeChat application.
[0061] Among them, if the preset enterprise WeChat application is triggered manually, the preset enterprise WeChat application may not be started in time to perform the task of deleting customers due to human factors. In order to improve the timeliness of deleting target customers, the preset enterprise WeChat application can also be started by triggering RPA through a designed RPA to automatically perform the following operations: first, the list of target customers to be deleted in step S101 is pulled from the server of the enterprise WeChat application, wherein each target customer to be deleted in the pulled target customer list to be deleted can be sorted according to preset rules, and the first target customer to be deleted in the target customer list to be deleted is automatically clicked, and then the "open personal information page" interface of the enterprise WeChat is called to jump to the personal information page of the target customer to be deleted.
[0062] Optionally, triggering RPA to start a preset enterprise WeChat application includes:
[0063] When the preset conditions are met, RPA is automatically triggered to start the preset enterprise WeChat application.
[0064] The conditions for automatically triggering RPA can be set in advance. When the conditions are met, the preset enterprise WeChat application is started by automatically triggering RPA. For example, the preset conditions are that the number of target customers to be deleted meets the preset threshold, or the interval between the last batch deletion meets the preset threshold, etc.
[0065] Continuing in this embodiment, after jumping to the personal information page of the target customer to be deleted, in step S103, a deletion operation is performed to delete the target customer to be deleted, and return to the preset enterprise WeChat application interface. Among them, the operation of deleting customers in the existing enterprise WeChat application can be used, that is, on the customer's personal information page, click the soft button in the upper right corner of the page (for example: three dots arranged vertically) to enter the personal information page, and then click the "Delete" button at the bottom of the page to complete the deletion of the customer. After completing the deletion of the customer, click the "Return" button on the page to return to the preset enterprise WeChat application interface.
[0066] Optionally, in step S103, deleting the target customer to be deleted includes:
[0067] When jumping to the personal information page of the target customer to be deleted, the RPA is automatically triggered to click the function menu or button on the personal information page to complete the deletion of the target customer to be deleted.
[0068] Among them, in order to improve the efficiency of deletion operations, when the preset enterprise WeChat application is started and jumps to the personal information page of the target customer to be deleted, RPA can be automatically triggered. Through RPA automatic execution, click the function menu and / or button on the personal information page to complete the deletion of the target customer to be deleted.
[0069] Optionally, in step S103, returning to the preset enterprise WeChat application interface includes:
[0070] Trigger RPA to return to the preset enterprise WeChat application interface.
[0071] Among them, in order to improve operational efficiency, when the deletion of the target customer to be deleted is completed on the personal information page of the target customer to be deleted, RPA can be automatically triggered. RPA can automatically click the "Return" button on the page to return to the preset enterprise WeChat application interface.
[0072] Continuing in this embodiment, in step S104, the above operations are repeated to traverse each target customer to be deleted in the target customer list to be deleted. Through the preset enterprise WeChat application and related operations, each target customer to be deleted in the target customer list to be deleted can be deleted, thereby realizing batch deletion of all target customers to be deleted in the target customer list to be deleted.
[0073] This embodiment can realize batch deletion of customers, is simple to operate, highly efficient, and improves the operating experience.
[0074] Optionally, the method for deleting target customers in WeChat Enterprise also includes any of the following:
[0075] S105: deleting the saved external contact identifier of the target customer to be deleted;
[0076] S106: Marking the stored external contact identification of the target customer to be deleted.
[0077] Through the above steps S101 to S104, all target customers to be deleted in the target customer list to be deleted are batch deleted from the enterprise's enterprise WeChat application. In this optional embodiment, in step S105, the external contact identifiers of all target customers to be deleted stored in the target customer list to be deleted can be deleted to clear the target customer list to be deleted, which does not affect the subsequent acquisition of the external contact identifiers of the target customers to be deleted and saving them to the target customer list to be deleted, and also frees up storage space.
[0078] In this optional embodiment, or in step S106, the external contact identifiers of the target customers in the target customer list to be deleted that have been deleted from the enterprise's WeChat enterprise application may be marked, so that the target customers in the target customer list to be deleted that have been deleted from the enterprise's WeChat enterprise application and the target customers that have not yet been deleted from the enterprise's WeChat enterprise application can be distinguished while retaining all relevant target customers in the target customer list to be deleted.
[0079] In this optional embodiment, step S105 or S106 may be performed after step S103, that is, after each target customer to be deleted in the target customer list to be deleted, the external contact identifier of the target customer to be deleted in the target customer list to be deleted is deleted or marked.
[0080] According to another aspect of the present application, a computer-readable medium is provided, wherein the computer-readable medium stores computer-readable instructions, and the computer-readable instructions can be executed by a processor to implement the aforementioned method embodiments.
[0081] It should be noted that each method embodiment and / or optional embodiment in the present application does not strictly limit the order in which each step is performed, as long as each method embodiment and / or optional embodiment can solve the defects existing in the prior art, achieve the purpose of the invention of the present application, and obtain beneficial effects. Each method embodiment and / or optional embodiment in the present application can be implemented in software and / or a combination of software and hardware. The software program involved in the present application can be executed by a processor to implement the steps or functions of the above-mentioned embodiments. Similarly, the software program (including relevant data structures) of the present application can be stored in a computer-readable recording medium.
[0082] In addition, part or all of the present application may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present application through the operation of the computer. The program instruction for calling the method of the present application may be stored in a fixed or removable recording medium, and / or transmitted through a data stream in a broadcast or other signal-bearing medium, and / or stored in a working memory of a computer device that runs according to the program instruction.
[0083] According to another aspect of the present application, a device for deleting target customers of enterprise WeChat is also provided, the device comprising: a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the device is triggered to run the methods and / or technical solutions of the aforementioned embodiments.
[0084] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software and / or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
Claims
1. A method for deleting target customers in enterprise WeChat, characterized in that: The method comprises: On the enterprise WeChat application server, obtain the external contact ID of the target customer to be deleted and save it to the list of target customers to be deleted; In the enterprise WeChat application client, the preset enterprise WeChat application is started to perform the following operations: pull the target customer list to be deleted from the server, determine a target customer to be deleted that is ranked first in the target customer list to be deleted, call the enterprise WeChat open personal information page interface, and jump to the personal information page of the target customer to be deleted; Delete the target customer to be deleted and return to the preset enterprise WeChat application interface; Repeat the above operation to traverse each target customer to be deleted in the target customer list to complete batch deletion of each target customer to be deleted in the target customer list to be deleted.
2. The method according to claim 1, characterized in that The step of obtaining the external contact identifier of the target customer to be deleted includes: When a corporate WeChat member is deleted by a target customer to be deleted, the corporate WeChat member deletion event is called back to obtain the external contact ID of the target customer to be deleted.
3. The method according to claim 1, characterized in that The step of obtaining the external contact identifier of the target customer to be deleted includes: When a member of the enterprise WeChat deletes a target customer to be deleted, the enterprise WeChat delete customer event is called back to obtain the external contact ID of the target customer to be deleted.
4. The method according to claim 1, characterized in that: The step of obtaining the external contact identifier of the target customer to be deleted includes: Based on the business data containing the external contact ID of the customer, the external contact ID of the target customer to be deleted is obtained.
5. The method according to claim 1, characterized in that The startup of the preset enterprise WeChat application includes: Trigger RPA to launch the preset enterprise WeChat application.
6. The method according to claim 5, characterized in that The triggering of RPA to start the preset enterprise WeChat application includes: When the preset conditions are met, RPA is automatically triggered to start the preset enterprise WeChat application.
7. The method according to claim 1, characterized in that Deleting the target customer to be deleted includes: When jumping to the personal information page of the target customer to be deleted, the RPA is automatically triggered to click the function menu or button on the personal information page to complete the deletion of the target customer to be deleted.
8. The method according to claim 1, characterized in that: The returning to the preset enterprise WeChat application interface includes: Trigger RPA to return to the preset enterprise WeChat application interface.
9. The method according to claim 1, characterized in that: The method further comprises any of the following: Deleting the saved external contact identifier of the target customer to be deleted; The stored external contact identifier of the target customer to be deleted is marked.
10. A computer-readable medium, characterized in that Computer readable instructions are stored thereon, and the computer readable instructions are executed by a processor to implement the method according to any one of claims 1 to 9.
11. A device for deleting target customers of enterprise WeChat, characterized in that: The device comprises: one or more processors; and A memory storing computer readable instructions which, when executed, cause the processor to perform the operations of the method as claimed in any one of claims 1 to 9.
