Skip to main content

1. Use Case

As one of DingTalk’s collaborative office products, DingTalk Drive is the foundation for organization file management and helps teams handle files more efficiently. Use this connector to create an organization shared space in DingTalk Drive.

2. Procedure

2.1 Step 1: Design the Form

Create a regular form to capture the data required by the DingTalk Drive connector. Procedure:
  1. Create a regular form and name it “Create space”.
  2. Add a Single-line text component, name it “Space name”, and set it as Required.
Figure 2.1-1 Adding and configuring the Single-line text component
  1. Add a member component, name it “Space owner”, and set it as Required.
Figure 2.1-2 Adding and configuring the member component
  1. Click Save in the top-right corner of the page.

2.2 Step 2: Configure the Connector

For a detailed introduction to YiDA connectors, see Introduction to Integration & Automation. Create and configure a connector to integrate data between the YiDA app and DingTalk Drive. Procedure:
  1. On the admin page, go to the “Create space” form > Integration & Automation > Create Integration & Automation.
Figure 2.2-1 Connector entry point
  1. Name the connector “Create space”, set Trigger type to Form event trigger, and click Save.
Figure 2.2-2 Creating a connector
  1. Configure the form event trigger: set the trigger event to Create success, set data filtering to All data, and click Save.
Figure 2.2-3 Configuring the form event trigger
  1. Select the connector app: choose the DingTalk Drive app and click Next.
Figure 2.2-4 Selecting the connector app
  1. Select the connector action: choose the Create space action and click Next.
Figure 2.2-5 Selecting the connector action
  1. Configure the connector action and click Save.
Figure 2.2-6 Configuring the connector action
  1. Click Save in the top-right corner of the page, then click Publish.

2.3 Step 3: Submit the Form

Fill in and submit the “Create space” form to trigger the connector and create the space in DingTalk Drive. Figure 2.3-1 Submitting the form

3. Result

View path:
  • Desktop: DingTalk Drive > Team Files
Figure 3.1-1 Result on desktop
  • Mobile: Workbench > Drive > Team Files
Figure 3.1-2 Result on mobile