All Products
Search
Document Center

Data Management:Use DingTalk, DingTalk Enterprise, Feishu, and Lark to send notification messages

Last Updated:Mar 28, 2026

Data Management (DMS) integrates with DingTalk, DingTalk Enterprise, Feishu, and Lark as notification channels. Once configured, DMS sends ticket notifications directly to users on mobile devices and clients, and approvers can approve tickets from their mobile devices.

Prerequisites

Before you begin, ensure that you have:

  • A DingTalk or Feishu enterprise organization (internal enterprise organization, not a public Alibaba Cloud organization such as Alibaba Cloud Service Support)

  • Administrator or database administrator (DBA) access to the DMS console

Usage notes

  • Ticket approval is supported only on mobile devices.

  • The US site does not support message notifications.

  • If you are an Alibaba Group internal user, contact DMS technical support via DingTalk group number 87370028482.

How it works

Setting up notification channels involves three stages:

  1. Create and configure an application on the DingTalk or Feishu Open Platform to receive DMS messages.

  2. Retrieve credentials from the platform and configure a notification channel in DMS.

  3. Assign users to receive notifications for specific ticket types.

Stage 1: Set up an application on the messaging platform

Follow the setup guide for your platform.

DingTalk

For full platform setup details, see the DingTalk Open Platform documentation.

Step 1: Create an application

  1. Log on to the DingTalk Open Platform and select your enterprise organization.Lark Open PlatformFeishu Open PlatformDingTalk Open PlatformDingTalk Open PlatformCard PlatformCard PlatformLark Open PlatformFeishu Open PlatformDingTalk Open Platform

  2. Click My Console in the upper-right corner.

  3. Go to Application Development > Internal Enterprise Application > DingTalk Application and click Card PlatformCreate Application.

  4. Enter an Application Name and Application Description, then click Save.

Step 2: Add a robot

  1. Click the application name to open the editing page.

  2. In the left-side navigation pane, go to Application Capabilities > Add Application Capability and add a robot.

  3. Fill in Robot Introduction and Robot Description, and set Message Reception Mode to HTTP mode.

  4. Click Publish.

Step 3: Configure a web application

  1. In the Application Capabilities menu, click Web Application.

  2. On the Web App page, enter the URL for the Mobile Homepage and click Save.

    The homepage URL depends on the current DMS data processing region. For example, if the data processing region is Singapore, the application homepage URL is https://dms-ap-southeast-1.alibabacloud.com.

    Note

    To view the data processing region, see Switch DMS deployment regions.

    image

    • China (Hangzhou): https://dms-cn-hangzhou.alibabacloud.com.

    • Japan (Tokyo): https://dms-ap-northeast-1.alibabacloud.com.

    • Singapore: https://dms-ap-southeast-1.alibabacloud.com.

    • Malaysia (Kuala Lumpur): https://dms-ap-southeast-3.alibabacloud.com.

    • Indonesia (Jakarta): https://dms-ap-southeast-5.alibabacloud.com.

    • SAU (Riyadh - Partner Region): https://dms-me-central-1.alibabacloud.com.

  3. Set the homepage URL for the application and click Save.

    The homepage URL depends on the current DMS data processing region. For example, if the data processing region is Singapore, the application homepage URL is https://dms-ap-southeast-1.alibabacloud.com.

    Note

    To view the data processing region, see Switch DMS deployment regions.

    image

    • China (Hangzhou): https://dms-cn-hangzhou.alibabacloud.com.

    • Japan (Tokyo): https://dms-ap-northeast-1.alibabacloud.com.

    • Singapore: https://dms-ap-southeast-1.alibabacloud.com.

    • Malaysia (Kuala Lumpur): https://dms-ap-southeast-3.alibabacloud.com.

    • Indonesia (Jakarta): https://dms-ap-southeast-5.alibabacloud.com.

    • SAU (Riyadh - Partner Region): https://dms-me-central-1.alibabacloud.com.

    • China (Hong Kong): <a href="https://dms-cn-hongkong.alibabacloud.com" id="0c5ce72573cfn" uuid="ba897e6a-66d7-4d24-b1cd-c1cc256337fc">https://dms-cn-hongkong.alibabacloud.com</a>.

    • South Korea (Seoul): <a href="https://dms-ap-northeast-2.alibabacloud.com" id="95873e62e290c" uuid="3ed56fc3-194d-4618-b7eb-70ae2871deeb">https://dms-ap-northeast-2.alibabacloud.com</a>.

  4. Set the homepage URL based on your DMS data processing region, then click Save. To find your data processing region, see Switch DMS deployment regions.

    RegionHomepage URL
    China (Hangzhou)https://dms-cn-hangzhou.alibabacloud.com
    Japan (Tokyo)https://dms-ap-northeast-1.alibabacloud.com
    Singaporehttps://dms-ap-southeast-1.alibabacloud.com
    Malaysia (Kuala Lumpur)https://dms-ap-southeast-3.alibabacloud.com
    Indonesia (Jakarta)https://dms-ap-southeast-5.alibabacloud.com
    SAU (Riyadh - Partner Region)https://dms-me-central-1.alibabacloud.com
    China (Hong Kong)https://dms-cn-hongkong.alibabacloud.com
    South Korea (Seoul)https://dms-ap-northeast-2.alibabacloud.com

    image

Step 4: Request permissions

In the left-side navigation pane, go to Development Configuration > Permission Management and request the following permissions:

  • Basic permissions required to call Simple Notification Service (SNS) APIs

  • Read permission for member information

  • Permission to retrieve basic member information based on mobile phone numbers

  • Basic permission to call enterprise APIs

  • Basic permission to retrieve user access credentials for DingTalk open interfaces

  • Permission to manage basic information of DingTalk groups

  • Permission for internal enterprise robots to send messages

  • Write permission for interactive card instances

Step 5: Create and publish a version

In the left-side navigation pane, go to Version Management and Publishing, click Create New Version, enter the configuration details, and click Save.

You must publish a version before other users in the enterprise can use the application.

Step 6: Create a card template

DMS uses a card template to format notification messages. Create the template on the DingTalk Card Platform:

  1. Go to the Card Platform and click Create Template.

  2. Enter a Template Name, select a Card Type and set Card Template Scenario to Normal Card, and select your application under Associated Application. Click Create.

  3. Go to More > Import Template, import the DingTalkTemplate.json sample template, and save.

  4. Publish the card template.

DingTalk Enterprise

For full platform setup details, see the DingTalk Enterprise Open Platform documentation.

Step 1: Create an application

Follow the same steps as DingTalk to create an internal enterprise application, add a robot (set Message Reception Mode to HTTP mode), and configure a web application with the homepage URL for your DMS data processing region (see the region URL table in the DingTalk section above).

Step 2: Request permissions

Request the same eight permissions listed in the DingTalk section above.

Step 3: Create and publish a version

Follow the same steps as DingTalk to publish a version.

Step 4: Create a card template

On the Card Platform, go to Development Tools > Card Builder to create and publish the card template. Use the DingTalkTemplate.json sample template.

Feishu/Lark (International)

For full platform setup details, see Development process for custom enterprise applications.

Step 1: Create an application

  1. Log on to the Feishu Open Platform or Lark Open Platform using an account that belongs to your enterprise organization.

  2. Go to the Developer Console and click Create Custom Enterprise Application.DingTalk developer consoleDingTalk developer console

  3. Enter a Name and Application Description, then click Create.

Step 2: Add a robot

  1. In the left-side navigation pane, go to App Features > Add App Feature.

  2. On the Add By Feature tab, click Add in the Robot card.

  3. Enter a robot name and click Save.

Step 3: Add a web application

  1. In the left-side navigation pane, go to App Features > Add App Feature.

  2. On the Add By Feature tab, click Add in the Web App card.

  3. On the Web App page, enter the URL for Mobile Homepage based on your DMS data processing region, then click Save. To find your data processing region, see Switch DMS deployment regions.

    RegionHomepage URL
    China (Hangzhou)https://dms-cn-hangzhou.alibabacloud.com
    Japan (Tokyo)https://dms-ap-northeast-1.alibabacloud.com
    Singaporehttps://dms-ap-southeast-1.alibabacloud.com
    Malaysia (Kuala Lumpur)https://dms-ap-southeast-3.alibabacloud.com
    Indonesia (Jakarta)https://dms-ap-southeast-5.alibabacloud.com
    SAU (Riyadh - Partner Region)https://dms-me-central-1.alibabacloud.com

    image

Step 4: Configure redirect URL and trusted H5 domain

  1. In the left-side navigation pane, go to Development Configuration > Security Settings.

  2. On the Redirect URLs tab, you can configure the Redirect URL and Trusted H5 Domain Name.

    The redirection URL and trusted H5 domain name depend on the DMS data processing region. For example, if the DMS data processing region is Singapore, the redirection URL is https://dms-ap-southeast-1.alibabacloud.com/console/mobile/index/ and the trusted H5 domain name is https://dms-ap-southeast-1.alibabacloud.com.

  3. On the Redirect URLs tab, add your Redirect URL and Trusted H5 Domain Name based on your DMS data processing region. For example, if your region is Singapore:

    • Redirect URL: https://dms-ap-southeast-1.alibabacloud.com/console/mobile/index/

    • Trusted H5 domain name: https://dms-ap-southeast-1.alibabacloud.com

  4. Click Add for each entry.

Step 5: Request permissions

  1. In the left-side navigation pane, go to Development Configuration > Permission Management.

  2. Click Enable Permissions.

  3. On the App Identity Permission (tenant_access_token) tab, request the following permissions. For details, see Request Permissions and Permission Description.

    • Retrieve user ID

    • Retrieve user ID by mobile number or email

    • Upload images and attachments to cloud documents (Lark does not support this permission)

    • Retrieve and send private and group messages

    • Send messages as the application

    • Send messages to multiple users in batches

    • Retrieve and upload image or file resources

Step 6: Publish a version

  1. In the left-side navigation pane, go to App Release > Version Management & Publishing and click Create Version.

  2. Enter the App Version, select the Default Mobile Capability, set Availability to All Members, and click Save.

Stage 2: Retrieve credentials and configure a notification channel in DMS

After setting up the application, retrieve the credentials from the platform and add them to DMS.

Retrieve credentials

DingTalk

DingTalk

CredentialWhere to find it
AppId, AgentId, AppKey, AppSecretCredentials and Basic Information page on the DingTalk Open Platform
RobotCodeApplication Capabilities > Robot page
Card template IDTemplate Management > Template List page on the Card Platform
CorpId (optional)DingTalk developer console — click your profile picture
Configuring CorpId lets you receive messages and approve tickets without switching your DingTalk organization to the one where the custom enterprise application is located.

DingTalk Enterprise

DingTalk Enterprise

CredentialWhere to find it
AppKey, AppSecretBasic Information page on the DingTalk Open Platform
RobotCodeRobot page — credential information section
Card template IDDevelopment Tools > Card Builder page on the Card Platform
CorpId (optional)DingTalk developer console — click your profile picture
Configuring CorpId lets you receive messages and approve tickets without switching your DingTalk organization to the one where the custom enterprise application is located.

Feishu/Lark

Feishu/Lark

CredentialWhere to find it
AppId, AppSecretBasic Information > Credentials and Basic Information page on the Feishu Open Platform or Lark Open Platform

Configure the notification channel in DMS

Only administrators or DBAs can configure notification channels.

  1. Log on to the DMS console V5.0.

  2. Click the 2023-01-28_15-57-17.png icon in the upper-left corner and choose All Features > Operations Management > Notification Management.

    In normal mode, choose Operations Management > Notification Management from the top menu bar.
  3. Click Channel Management in the upper-left corner of the page.

  4. Select your notification channel.

  5. In the channel section, click Edit, enter the required credentials (for example, AppId and AppSecret for Feishu), then click Save.

The notification settings take effect only after you enable the channel.

Stage 3: Set users to receive notifications

This example shows how to configure notifications for data export tickets pending approval.

  1. The administrator adds users to DMS. For details, see User Management.

  2. The administrator or DBA opens the Notification Management page.

  3. In the Module/Business Type filter, select Ticket > Data Exporting.

  4. Find the ticket with the Pending Approval status and click Modify.

  5. In the Additional Notification Users section, select the users and click OK.

  6. Enable message notifications.

DMS now sends notifications for subsequent data export tickets pending approval directly to the specified users through DingTalk, DingTalk Enterprise, Feishu, or Lark.

FAQ

I configured Feishu, DingTalk, or Lark in my personal notification settings, but I'm not receiving notifications. Why?

The channel must be enabled at the tenant level before personal settings take effect. Go to Notification Management > Channel Management and verify that the relevant channel is enabled. For details, see Stage 2: Configure the notification channel in DMS.

I configured the notification channel and assigned users, but no messages are coming through. How do I troubleshoot this?

Check the following:

  1. In DMS, go to Notification Management > Channel Management and verify that the channel is enabled.

  2. Click your DMS profile picture and confirm that the notification channel is enabled in your notification method settings.

My notification settings haven't changed, but I suddenly stopped receiving messages. What happened?

Your custom enterprise application may have reached its API call limit. Check the API call volume in the DingTalk or Feishu developer console. For information on adjusting call limits, see the DingTalk billing documentation and Feishu API call limit documentation.

What's next

Process tickets on mobile devices to improve development efficiency. For details, see Approve tickets on a mobile device.