Skip to main content

Integration & Automation-automatically delete DingTalk contacts

Note: This connector is only available to DingTalk organization administrators. For more information about how to become a DingTalk administrator, see👉:Become DingTalk administrator.

1. Usage scenarios

After the employee leaves the company, we need to delete the information from the company address book. The connector allows you to submit a form within YIDA and automatically respond to the address book, thus automatically deleting the address book information of a specified person.

2. Procedure

Create a form and configure the contacts connector for it. After the configuration is completed, submit the form to integrate data between the YIDA form and the DingTalk contacts.

2.1 Step 1: Create and configure a form

Procedure:

  1. Create a new form and name it employee resignation record 」.
  2. Add a member component named "specified user" and set it to required. (The operation is shown in Figure 2.1-6)

Figure 2.1-1 add and configure member components

  1. Click save in the upper-right corner of the page.

2.2 Step 2: Add and configure connectors for the employee resignation record form

Further reading:For more information about YIDA connectors, go to the following steps:Integration & Automation

Through the above steps, the "employee resignation record" form was built, laying a data Foundation for calling the connector. Next, configure the form connector to interconnect YIDA and DingTalk contacts.

Procedure:

  1. Background management page> Integration & automation> create Integration & Automation 」. (As shown in Figure 2.2-1)

Figure 2.2-1 connector entry

  1. Name the connector "delete employee information in the address book"> trigger type select "form event trigger" and specify the trigger form as "employee resignation record"> Click OK. (The operation is shown in Figure 2.2-3)

Figure 2.2-2 New connector

  1. Set the form event trigger: set the event trigger to "created", set the data filtering to "all data", and click "save 」. (The operation is shown in Figure 2.2-3)

Figure 2.2-3 configuration form trigger event

  1. Select a connector application. (The operation is shown in Figure 2.2-4)

Figure 2.2-4 select connector application

  1. Set the action to delete user information 」. (The operation is shown in Figure 2.2-5)

Figure 2.2-5 Select connector execution action

  1. Configure the execution action. (Operation is shown in figure 2.2-6)

Figure 2.2-6 configuration connector execution action

  1. Click save at the top of the page and click Publish.

2.3 Step 3: submit the form and call the connector

Through steps 1 and 2, the form is built and the form connector is configured. Next, you only need to submit a form to call the connector to automatically update the submitted form to meet the requirements of user information in the address book.

Procedure:

Fill in the employee resignation record form and submit it. (The operation is shown in Figure 2.3-1)

Figure 2.3-1 submit form

3. Effect display

Use DingTalk management background> member Usage Statistics> to view the resigned employees.

Figure 3-1 shows the effect of deleting contacts

4. FAQ

4.1 is the execution action of selecting the address book connector indicating that you do not have permission?

Figure 4.1-1 no permission to select a connector to perform actions

A: The connector needs to be used by the DingTalk Administrator. If you are not an administrator, you will be prompted that you are not authorized to operate.

4.2 How to become the administrator of DingTalk organization

A: To become a DingTalk administrator, contact the primary administrator who created the enterprise to set it up. Set path: DingTalk management background> Settings> permission settings> Management Group> Add management group. (The operation is shown in Figure 4.2-1 and Figure 4.2-2)

Figure 4.2-1 DingTalk path for adding sub-administrators to the primary administrator

Figure 4.2-2 DingTalk master administrator edit Management Group

This doc is generated using machine translation. Any discrepancies or differences created in the translation are not binding and have no legal effect for compliance or enforcement purposes.
Copyright © 2024钉钉(中国)信息技术有限公司和/或其关联公司浙ICP备18037475号-4