Flashduty Docs
中文EnglishRoadmapAPI官网控制台
中文EnglishRoadmapAPI官网控制台
  1. IM integration
  • Introduction
  • On-call
    • Getting Started
      • Quick start
      • FAQ
      • Product Comparison
    • Incidents
      • What is an Incident
      • View Incidents
      • Handle Incidents
      • Escalations and Assignments
      • Custom Fields
      • Custom Actions
      • Alert Noise Reduction
      • Past Incidents
      • Outlier Incidents
    • Configure On-call
      • Channels
      • Integrate Alerts
      • Alert Noise Reduction
      • Escalation Rules
      • Label Enrichment
      • Schedules
      • Templates
      • Service Calendars
      • Preferences
      • Alert Routing
      • Silence and Inhibition
      • Filters
      • Notifications
      • Alert Pipeline
    • Advanced Features
      • Referencing Variables
      • Dynamic Assignment
      • Insights
      • War-room
    • Integrations
      • Alerts integration
        • Standard Alert Integration
        • Email Integration
        • Nightingale/FlashCat Integration
        • Prometheus Integration
        • Grafana Integration
        • Zabbix Integration
        • Uptime Kuma Integration
        • Alibaba Cloud ARMS Integration
        • Alibaba Cloud Monitor CM Event Integration
        • Alibaba Cloud Monitor CM Metrics Integration
        • Alibaba Cloud SLS Integration
        • AWS CloudWatch Integration
        • Azure Monitor Integration
        • Baidu Cloud BCM Integration
        • Huawei Cloud CES Integration
        • Influxdata Integration
        • Open Falcon Integration
        • PagerDuty Integration
        • Tencent BlueKing Integration
        • Tencent Cloud CLS Integration
        • Tencent Cloud Monitor CM Integration
        • Tencent Cloud EventBridge
        • OceanBase Integration
        • Graylog Integration
        • Skywalking Integration
        • Sentry Integration
        • Jiankongbao Integration
        • AWS EventBridge Integration
        • Dynatrace Integration
        • Huawei Cloud LTS Integration
        • GCP Integration
        • Splunk Alert Events Integration
        • AppDynamics Alert Integration
        • SolarWinds Alert Events Integration
        • Volcengine CM Alert Events Integration
        • Volcengine CM Event Center Integration
        • Volcengine TLS Integration
        • OpManager Integration
        • Meraki Integration
        • Keep Integration
        • ElastAlert2 Alert Integration
        • StateCloud Alert Events
        • Guance Alert Events
        • Zilliz Alert Events
        • Huawei Cloud APM Alerts
        • zstack integration
        • Monit Alert Integration
        • RUM Alert Integration
      • Change integration
        • Standard Change Event
        • Jira Issue Events
      • IM integration
        • Feishu (Lark) Integration Guide
        • Dingtalk Integration
        • WeCom Integration
        • Slack Integration
        • Microsoft Teams Integration
      • Single Sign-On
        • Authing Integration
        • Keycloak Guide
        • OpenLDAP Guide
      • Webhooks
        • Alert webhook
        • Incident webhook
        • Costom action
        • ServiceNow Sync
        • Jira Sync
      • Other
        • Link Integration
  • RUM
    • Getting Started
      • Introduction
      • Quick start
      • FAQ
    • Applications
      • Applications
      • SDK Integration
      • Advanced Configuration
      • Analysis Dashboard
    • Performance Monitoring
      • Overview
      • Metrics
      • Performance Analysis
      • Performance Optimize
    • Error Tracking
      • Overview
      • Error Reporting
      • Issues
      • Source Mapping
      • Error Grouping
      • Issue States
      • Issue Alerting
    • Session Explorer
      • Overview
      • Data Query
    • Session Replay
      • View Session Replay
      • Overview
      • SDK Configuration
      • Privacy Protection
    • Best Practice
      • Distributed Tracing
    • Others
      • Terminology
      • Data Collection
      • Data Security
  • Platform
    • Teams and Members
    • Permissions
    • Single Sign-On
  • Terms
    • Terms of Service
    • User Agreement/Privary Policy
    • SLA
    • Data Security
  1. IM integration

Dingtalk Integration

By integrating a custom Dingtalk application, you can receive and respond to alerts within Dingtalk.
This document uses the new version of the Dingtalk Open Platform as an example.

I. Create Dingtalk Application and Add Dingtalk Integration#


1. Create a Custom Application#

Visit the Dingtalk Developer Console → Application Development → Internal Enterprise Development to create an application.
For details, please refer to the Dingtalk development documentation Create an in-house application-H5 micro-application.
2025-09-18-15-02-55
You can use the Flashduty official icon for the application icon.

2. Copy the Enterprise CorpId#

Click on the enterprise avatar in the top right corner of the page and copy the CorpId from the dropdown menu.
2025-09-18-15-03-12
Return to the Flashduty integration configuration page and fill in the corresponding CorpId in the form.

3. Copy Application Credential Information#

Enter the application details interface you created, go to the Application Capability → Credentials and Basic Information page via the left menu bar, and copy the AgentId, Client ID, and Client Secret.
2025-09-18-15-04-39
Return to the Flashduty integration configuration page and fill in the corresponding AgentId, Client ID, and Client Secret in the form.

4. Copy Event Subscription Information#

Go to Development Configuration → Events and Callbacks page. Set the push method to HTTP Push, then click the button to generate an Encryption aes_key and a Signature Token, and copy them.
2025-09-18-15-05-10
Return to the Flashduty integration configuration page, fill in the corresponding Encryption aes_key and Signature Token in the form, and click the Save button.

5. Configure Event Subscription#

Go to the Development Configuration → Event Subscription page.
Configure the Event Subscription Request URL using the Event Subscription Request URL from the Flashduty integration details. Save after configuration.
2025-09-18-15-05-34
Below the Save button, select the three group session events: Group chat name is changed, Install the cool application in the group, and Uninstall the cool application in the group. Click Save after configuration.
2025-09-18-15-08-07

6. Add Application Capabilities#

Create a Cool App. Go to Development Configuration → Add Application Capability → Cool App → Cool App List page, click the Create Cool App button, and select Extend to group sessions.
Enter the Edit Cool App page and complete the following steps:
1.
Fill in the basic information. You can use the Flashduty official icon for the icon.
2025-09-18-15-11-03
2.
Configure the functional design. Select Group Quick Access and Message Card on the left. You can use the Flashduty official icon for the group quick access icon. For the desktop and mobile access addresses, please copy the Cool App Web URL from the integration details.
2025-09-18-15-13-08
3.
Skip the third step of functional development, proceed to the fourth step Preview & Release, click the Release button and confirm.

7. Configure Bot and Message Push#

Go to the Application Capability → Bot page, enable the bot configuration, fill in the name and upload an icon, then click Save. You can use the Flashduty official icon for the icon.
2025-09-18-15-17-17

8. Configure Application URLs#

Go to the Application Capability → Web Application page.
Configure the Application Homepage URL and PC Homepage URL with the Application Homepage URL and PC Homepage URL from the Flashduty integration details. Click Save when done.
2025-09-18-15-20-13

9. Apply for Application Permissions#

Go to the Development Configuration → Permissions page and apply for the following permissions for the group application created in the previous steps:
qyapi_chat_manage: Get group chat information
qyapi_robot_sendmsg: Send messages to group chats or individuals
2025-09-18-15-20-36

II. Configure War Room#

If you do not need to configure the War Room feature, you can skip this step and proceed directly to Application Release and Usage.

1. Apply for Application Permissions#

Go to the Development Configuration → Permissions page and apply for the following permissions for the group application created in the previous steps:
qyapi_chat_read: Get group chat information
qyapi_chat_base_read: Get group chat information
qyapi_get_member_by_mobile: Allows the current application to get Dingtalk user information based on mobile numbers to invite users to join group chats
2025-09-18-15-21-28

2. Configure Group Template#

Go to Open Capability → Scene Group from the top menu bar of the Dingtalk Open Platform.
1.
Configure Group Bot. Select Bot from the left menu bar, then click Create group bot.
The Group Bot configured in this step and the Application Bot are two different concepts. The group bot is used to automatically create a group bot when a group chat is generated. The group bot and the application bot have different Bot IDs. To enable the War Room feature for Dingtalk, you must configure an additional Group Bot.
Fill in the group bot configuration. The Message Callback URL, Message Callback Token, and Information Source Website configurations have no practical effect in Flashduty's application scenario; you can configure them with any values that meet the requirements.
Example Configuration:
Configuration ItemValue
Bot NameFlashduty
Bot AvatarFlashduty official icon
IntroductionFlashduty
Message Preview ImageFlashduty official icon
Detailed DescriptionFlashduty message push bot.
Message Callback URLhttps://flashcat.cloud/
Message Callback Tokentoken
Information Source Websitehttps://flashcat.cloud/
After completing the configuration, click Create, then click Approve. After the "Submission successful" pop-up appears in the top right corner, Dingtalk has automatically completed the approval of the group bot.
2025-09-18-15-22-05
2.
Configure Group Template. Select Group Template from the left menu bar, and click Create group template.
Set the Enterprise Type to Internal Enterprise and the Optional Application to the custom application created in the previous steps. Then, fill in the template information in the next step.
Introductory information such as Template Name, Icon, Description, Copywriting Introduction, Template Description, and Image Introduction will not affect the use of the group template feature; you can configure them with any values that meet the requirements.
Example Configuration:
Configuration ItemValue
Template NameFlashduty War Room
IconFlashduty official icon
DescriptionCreate a war room for active incidents with one click.
Copywriting IntroductionCreate a war room for active incidents with one click.
Template DescriptionCreate a war room for active incidents with one click.
Image IntroductionFlashduty official icon
In the Select Bot configuration item, click Select created bot and choose the group bot created in the previous step. Keep other configuration items at their default settings. Finally, click Save Edit.
2025-09-18-15-22-35
2025-09-18-15-23-06
In the Fill in grayscale group step, click Create grayscale group, then click Publish grayscale.
Finally, click Group Template in the left menu bar again, then click to enter the group template you just created. Click Submit for Review, and after Dingtalk automatically approves it, finally click Publish.
3.
In the published group template details page, copy the Template ID and Bot ID.
2025-09-18-15-23-46
Return to the Flashduty integration configuration page, fill in the corresponding Template ID and Bot ID in the form, and click the Save button.

III. Application Release and Usage#


After completing the above steps, go to Application Release → Version Management and Release, create a new version, and publish it.
To ensure that everyone can use the application, you need to adjust the Visible Scope of the application to all employees before publishing.
2025-09-18-16-08-17
After the application is published, you can access it via the mobile client or PC client. The first time you access it, you need to log in and associate your Dingtalk and Flashduty accounts. Subsequent uses will be login-free.
Mobile Client: Access the web application through Dingtalk → Workbench → Search for application name → Open Application.
PC Client: Access the web application through Dingtalk → Workbench → Search for application name → Open Application.

IV. FAQ#


1.
Why can't messages be delivered to individuals, and the operation record shows app not linked?
Go to Dingtalk → Workbench → Search for application name → Open Application, and complete a login to associate your Dingtalk and Flashduty accounts. The system needs to obtain your user identity to push messages.
2.
Why are the message card buttons not working or showing an error?
Go to Dingtalk → Workbench → Search for application name → Open Application, and complete a login to associate your Dingtalk and Flashduty accounts. If you have already logged in, try clicking the menu in the upper right corner, switching accounts, and logging in again to bind your account.
Ensure you have purchased enough licenses. You can check your used license status in Console → Billing Center.
3.
Why is the Dingtalk group chat list in the escalation rule empty?
Go to Dingtalk, select a group chat session, and install the Cool App. Otherwise, the group chat list cannot be obtained.
2025-09-18-15-34-37
2025-09-18-15-35-44
Return to the escalation rule configuration page, refresh, and reselect the group chat list.
If you still cannot get the group chat list, try uninstalling the Cool App in the group and then repeating the above steps. If the problem persists, please contact customer or dedicated technical support.
4.
Why is the War Room feature not working as expected?
Please double-check if you have configured the required permissions for the application's War Room feature.
Please refer to the FAQ section of the Flashduty War Room Introduction document.
5.
Dingtalk Custom Application API Call Limits
Dingtalk VersionTotal Calls/MonthQPSRefresh Time
Standard10,000201st of each month
Professional500,000401st of each month
Exclusive5,500,000601st of each month
After exceeding the API call limit, the Dingtalk application will not be able to push messages normally. It is recommended to use notification channels reasonably. For details, see the official Dingtalk documentation.

添加官方技术支持微信

在这里,获得使用上的任何帮助,快速上手FlashDuty

微信扫码交流
修改于 2025-09-18 08:49:19
上一页
Feishu (Lark) Integration Guide
下一页
WeCom Integration
Built with