All Products
Search
Document Center

Logic Composer:Create a workflow from a template

Last Updated:Dec 23, 2024

In the previous topic, we created a complete workflow from scratch. The workflow checks whether a specified domain name is registrable at 09:00 every day and sends a notification through a DingTalk chatbot if the domain name is registrable. This topic describes how to create a workflow from a template.

  1. Log on to the Logic Composer console. In the left-side navigation pane, click Templates. At the top of the console, select the China (Shanghai) region. On the Templates page, enter Notify if server certificates are going to expire in the search box under the page title. Click the title of the template that appears, and the Import from templates dialog box appears.

  2. In the Import from templates dialog box, select Default Resource Group in the Resource group drop-down list, and click OK.

  3. On the Graphic View tab, assign a Resource Access Management (RAM) role to Logic Composer. Click Authorize on the right side of CheckDomain. The Grant Role panel appears on the right side. For more information about the authorization method, see step 3 in the Add actions section of the Create a workflow topic.

  4. After authorization is complete, the Continue button turns blue. Click Continue.

  5. On the Graphic View tab, click the CheckDomain step. In the dialog box that appears, set DomainName to the domain name to be checked. Here, enter example111.org as an example. Click the Check whether a domain name is registrable step. Then click Send Message Via Chatbot. In the dialog box that appears, set Chatbot Access Token. For more information about how to obtain the access token, see step 7 in the Add actions section of the Create a workflow topic.

  6. Click the Check whether a domain name is registrable step. Then click the Send Message Via Chatbot step. In the dialog box that appears, set Chatbot Access Token. For more information about how to obtain the access token, see step 7 in the Add actions section of the Create a workflow topic.

  7. In the upper-right corner of the toolbar on the Graphic View tab, click Save to save the workflow. Then click Run to manually run the workflow to check whether it runs properly.