Skip to main content

Integration & Automation-create DingTalk scenario groups

1. Usage scenarios

As one of the DingTalk unique collaborative office capabilities, scenario group not only meets the communication function of common conversation groups, but also provides group shortcut columns, group assistants, and, group message push and other capabilities. It is OK in the scene GroupDisplay notification announcements and other information through the top card, send and receive approval forms or alarm information through the group message assistant, perform simple interaction through the message card, and quickly open common applications through the group shortcut bar.You can now create a scenario Group by submitting the YIDA form.

2. Procedure

2.1 Step 1: Create and configure forms

Create a form to enter schedule-related information and use it as a data source to trigger the connector function.

Procedure:

  1. Create a form named create group chat 」.
  2. Add a member component to the form, set it to required, and enable multiple selection. (The operation is shown in Figure 2.1-1)

Figure 2.1-1 add and configure member components for selecting group members


  1. Add another member component named Select Group owner and set it to required. (The operation is shown in Figure 2.1-2)

Figure 2.1-2 add and configure member components for selecting group owners

  1. Add a single-line text component named "schedule title" and set it to required. (The operation is shown in Figure 2.1-3)

Figure 2.1-3 add and configure a single-line text component

  1. Click save in the upper-right corner.

2.2 Step 2: Create Integration & Automation

Further reading:For more information about connectors, goIntegration & Automation.

When submitting a form, the system automatically initiates a schedule for the designated person, so we need to configure the connector.

2.2.1 New Integration & Automation

Procedure:

  1. Background management interface> Integration & automation> create Integration & Automation 」. (The operation is shown in Figure 2.2-1)

Figure 2.2-1 connector entry

  1. In the create Integration & automation dialog box,> Name the connector as "create scene Group"> select the trigger type as "form event trigger" and specify the trigger form> Click OK. (The operation is shown in Figure 2.2-2)

Figure 2.2-2 New connector

2.2.2 configuration Integration & Automation

(1) configure the form trigger event

Procedure:

Click "form event trigger", select "created" in the trigger event, and select "all data" for data filtering 」. Finally, click the save button in the lower right corner. (The operation is shown in Figure 2.2-3)

Figure 2.2-3 configuration form event triggering

(2) configure connectors

Procedure:

  1. Configure the connector node, select scene Group in the select application, and click the Next button. (As shown in Figure 2.2-4)

Figure 2.2-4 configure connector-Step 1: Select application

  1. Select create scene Group in the select execution action and click next. (As shown in Figure 2.2-5)

Figure 2.2-5 configure connector-Step 2: Select execution action

  1. In the configuration execution action, configure each configuration item and click save. (As shown in Figure 2.2-6)

Figure 2.2-6 configure the connector-Step 3: configure the execution action

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

2.3 Step 3: configure the content of the to-do task

Through the above two steps, we have completed the preparation of creating group chat. Next, we only need to submit a form to trigger the connector, thus automatically creating group chat on DingTalk.

Procedure:

Fill in the form and click submit. (Operation is shown in Figure 2-3)

Figure 2-3 enter form information and submit

3. Achieve results

Figure 3-1 connector automatically creates group chat

Try it online

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