flashduty-knowledge-base 1.3.2 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/en.js CHANGED
@@ -309,8 +309,7 @@ attachment_stripped = true
309
309
  ## Severity Mapping
310
310
  ---
311
311
 
312
- Currently, all alerts pushed to Flashduty through email integration are set to Warning severity.
313
-
312
+ Currently, all alerts pushed to Flashduty through the email integration are set to Warning severity. However, you can customize the severity using the [alert pipeline](https://docs.flashcat.cloud/en/flashduty/alert-pipelines).
314
313
  `,a=`---
315
314
  title: "Nightingale/Flashcat Integration"
316
315
  description: "Push alert events from Nightingale (n9e) or Flashcat to Flashduty via webhook. When an alert is triggered, send a trigger event to Flashduty; when an alert recovers, send a recovery event to Flashduty"
@@ -507,7 +506,7 @@ Nightingale/Flashcat to Flashduty alert severity mapping:
507
506
 
508
507
  </details>
509
508
 
510
- `,i=`---
509
+ `,o=`---
511
510
  title: "Prometheus Integration Guide"
512
511
  description: "Push Prometheus alert events to Flashduty through AlertManager using webhooks. When an alert is triggered, it sends a trigger event to Flashduty, and when the alert recovers, it sends a recovery event."
513
512
  date: "2025-05-19T10:00:00+08:00"
@@ -689,7 +688,7 @@ Prometheus to Flashduty severity mapping:
689
688
 
690
689
 
691
690
 
692
- `,o=`---
691
+ `,i=`---
693
692
  title: "Grafana Integration"
694
693
  description: "Sync Grafana alert events to Flashduty via webhook to achieve automated alert noise reduction."
695
694
  date: "2025-05-19T10:00:00+08:00"
@@ -1595,7 +1594,7 @@ Alibaba Cloud SLS monitoring to Flashduty alert severity mapping:
1595
1594
  | 2 | Info | Info |
1596
1595
 
1597
1596
  </div>
1598
- `,u=`---
1597
+ `,h=`---
1599
1598
  title: "AWS CloudWatch Integration"
1600
1599
  description: "Sync AWS CloudWatch alert events to Flashduty via webhook to achieve automated alert noise reduction"
1601
1600
  date: "2025-05-19T10:00:00+08:00"
@@ -1674,7 +1673,7 @@ Choose this method when you need to route alerts to different channels based on
1674
1673
  All CloudWatch metric alarms correspond to Flashduty "warning" severity level alerts.
1675
1674
 
1676
1675
  </div>
1677
- `,h=`---
1676
+ `,u=`---
1678
1677
  title: "Baidu Cloud BCM Integration"
1679
1678
  description: "Sync Baidu Cloud BCM alerts to Flashduty via webhook for automated alert noise reduction"
1680
1679
  date: "2025-05-19T10:00:00+08:00"
@@ -3165,7 +3164,7 @@ Choose this option when you need to route alerts to different channels based on
3165
3164
  |2|Info|Info|
3166
3165
 
3167
3166
  </div>
3168
- `,x=`---
3167
+ `,F=`---
3169
3168
  title: "AWS EventBridge Alert Events"
3170
3169
  description: "Sync AWS EventBridge alert events to Flashduty via webhook for automated alert noise reduction"
3171
3170
  date: "2024-08-20T10:00:00+08:00"
@@ -3267,7 +3266,7 @@ Choose this option when you need to route alerts to different channels based on
3267
3266
 
3268
3267
  </div>
3269
3268
 
3270
- `,_=`---
3269
+ `,x=`---
3271
3270
  title: "Dynatrace Alert Events"
3272
3271
  description: "Sync Dynatrace alert events to Flashduty via webhook to achieve automated alert noise reduction."
3273
3272
  date: "2024-08-20T10:00:00+08:00"
@@ -3374,7 +3373,7 @@ Choose this option when you need to route alerts to different channels based on
3374
3373
  |CUSTOM_ALERT|Info|info|
3375
3374
 
3376
3375
  </div>
3377
- `,L=`---
3376
+ `,_=`---
3378
3377
  title: "Huawei Cloud LTS Alert Events"
3379
3378
  description: "Sync Huawei Cloud Log Tank Service (LTS) alert events to Flashduty via webhook for automated alert noise reduction."
3380
3379
  date: "2024-08-20T10:00:00+08:00"
@@ -3487,7 +3486,7 @@ Choose this option when you need to route alerts to different channels based on
3487
3486
  |Info|Info|Info|
3488
3487
 
3489
3488
  </div>
3490
- `,F=`---
3489
+ `,L=`---
3491
3490
  title: "Google Cloud Monitoring Alert Events"
3492
3491
  description: "Sync Google Cloud Monitoring alert events to Flashduty via webhook for automated alert noise reduction"
3493
3492
  date: "2024-07-05T10:00:00+08:00"
@@ -4229,7 +4228,7 @@ Choose this method when you need to route alerts to different channels based on
4229
4228
  </div>
4230
4229
 
4231
4230
  </div>
4232
- `,M=`---
4231
+ `,P=`---
4233
4232
  title: "OpManager Alert Events"
4234
4233
  description: "Sync OpManager alert events to Flashduty via webhook for automated alert noise reduction"
4235
4234
  date: "2024-07-05T10:00:00+08:00"
@@ -4363,7 +4362,7 @@ Choose this method when you need to route alerts to different channels based on
4363
4362
  | Attention | Info | Info |
4364
4363
 
4365
4364
  </div>
4366
- `,P=`---
4365
+ `,M=`---
4367
4366
  title: "Meraki Alert Events"
4368
4367
  description: "Sync Meraki alert events to Flashduty via webhook for automated alert noise reduction"
4369
4368
  date: "2024-07-05T10:00:00+08:00"
@@ -4522,7 +4521,7 @@ Choose this option when you need to route alerts to different channels based on
4522
4521
  | North | Beijing2/Changchun/Harbin/North China/Inner Mongolia3/Qingdao/Shenyang3/Shijiazhuang/Taiyuan/Tianjin/Zhengzhou |
4523
4522
 
4524
4523
  </div>
4525
- `,q=`---
4524
+ `,G=`---
4526
4525
  title: "Guance Alert Events"
4527
4526
  description: "Sync Guance alert events to Flashduty via webhook for automated alert noise reduction"
4528
4527
  date: "2024-07-05T10:00:00+08:00"
@@ -4607,7 +4606,7 @@ Choose this option when you need to route alerts to different channels based on
4607
4606
  | Data Missing | Info | Info |
4608
4607
 
4609
4608
  </div>
4610
- `,G=`---
4609
+ `,q=`---
4611
4610
  title: "Zilliz Alert Events"
4612
4611
  description: "Sync Zilliz alert events to Flashduty via webhook for automated alert noise reduction"
4613
4612
  date: "2024-07-05T10:00:00+08:00"
@@ -4786,7 +4785,7 @@ When you need to route alerts to different channels based on alert payload infor
4786
4785
 
4787
4786
  </div>
4788
4787
 
4789
- `,j=`---
4788
+ `,$=`---
4790
4789
  title: "zstack integration"
4791
4790
  description: "Push ZStack alerts to Flashduty via webhook, to achieve automatic alert noise reduction."
4792
4791
  date: "2024-07-05T10:00:00+08:00"
@@ -4874,7 +4873,7 @@ Choose this method when you need to route alerts to different channels based on
4874
4873
 
4875
4874
  </div>
4876
4875
 
4877
- `,H=`---
4876
+ `,j=`---
4878
4877
  title: "Keep Alert Integration Guide"
4879
4878
  description: "Push alert events to Flashduty through Keep's Provider to achieve automated alert noise reduction."
4880
4879
  date: "2025-05-19T10:00:00+08:00"
@@ -4955,7 +4954,7 @@ Field|Required|Type|Definition
4955
4954
 
4956
4955
  <img alt="drawing" width="600" src="https://download.flashcat.cloud/flashduty/doc/en/fd/keep-2.png" />
4957
4956
 
4958
- `,Y=`---
4957
+ `,H=`---
4959
4958
  title: "ElastAlert2 Alert Integration Guide"
4960
4959
  description: "Push alert events to Flashduty through ElastAlert2's Provider to achieve automated alert noise reduction."
4961
4960
  date: "2025-05-19T10:00:00+08:00"
@@ -5076,7 +5075,7 @@ flashduty_env: "dev"
5076
5075
  # ------- FlashDuty ----------------
5077
5076
  \`\`\`
5078
5077
 
5079
- 5. Restart ElastAlert and wait for the alert to trigger.`,$=`---
5078
+ 5. Restart ElastAlert and wait for the alert to trigger.`,Y=`---
5080
5079
  title: "Dingtalk Alert Integration"
5081
5080
  description: "Generate a unique Dingtalk robot address in Flashduty, and synchronize the occurrence and recovery of alerts through Dingtalk"
5082
5081
  date: "2025-05-19T10:00:00+08:00"
@@ -5157,9 +5156,8 @@ By default, the system always creates new alerts for each message, but you can s
5157
5156
  ## Severity Mapping
5158
5157
  ---
5159
5158
 
5160
- Currently, all alerts pushed to Flashduty through email integration are set to Warning severity.
5161
-
5162
- `,V=`---
5159
+ Currently, all alerts pushed to Flashduty through the Dingtalk integration are set to Warning severity. However, you can customize the severity using the [alert pipeline](https://docs.flashcat.cloud/en/flashduty/alert-pipelines).
5160
+ `,B=`---
5163
5161
  title: "Feishu Alert Integration"
5164
5162
  description: "Generate a unique Feishu robot address in Flashduty, and synchronize the occurrence and recovery of alerts through Feishu"
5165
5163
  date: "2025-05-19T10:00:00+08:00"
@@ -5240,9 +5238,8 @@ By default, the system always creates new alerts for each message, but you can s
5240
5238
  ## Severity Mapping
5241
5239
  ---
5242
5240
 
5243
- Currently, all alerts pushed to Flashduty through Feishu Alert integration are set to Warning severity.
5244
-
5245
- `,B=`---
5241
+ Currently, all alerts pushed to Flashduty through the Feishu(lark) integration are set to Warning severity. However, you can customize the severity using the [alert pipeline](https://docs.flashcat.cloud/en/flashduty/alert-pipelines).
5242
+ `,z=`---
5246
5243
  title: "Volcengine Cloud-Detect Alert Events"
5247
5244
  description: "Sync Volcengine Cloud-Detect alert events to Flashduty via webhook for automated alert noise reduction"
5248
5245
  date: "2024-07-05T10:00:00+08:00"
@@ -5298,7 +5295,7 @@ Choose this method when you need to route alerts to different channels based on
5298
5295
  ### Step 1: Create Notification Object
5299
5296
  1. Login to your \`Volcengine\` console, find \`Alert Manager\` in the \`Notify Object\` menu
5300
5297
  2. Click \`System Integration\`, click \`Create System Integration\` or edit the existing endpoint
5301
- 3. 在编辑页面中,名称填写 \`Flashduty\` ,\`回调 URL\` 处填写告警集成的<span class='integration_url'>推送地址</span>。
5298
+ 3. In the edit page, enter Flashduty as the name and fill in the <span class='integration_url'>push URL</span> for the alert integration in the URL field.
5302
5299
  5. Click \`OK\` to complete the configuration
5303
5300
 
5304
5301
  <img alt="drawing" width="600" src="https://download.flashcat.cloud/flashduty/doc/zh/fd/volcengine-1.png" />
@@ -5324,7 +5321,7 @@ Choose this method when you need to route alerts to different channels based on
5324
5321
 
5325
5322
  </div>
5326
5323
 
5327
- `,z=`---
5324
+ `,V=`---
5328
5325
  title: "Monit Alert Integration"
5329
5326
  description: "Flashduty Monit alert integration, Monit service reports alerts through this integration"
5330
5327
  date: "2025-05-19T10:00:00+08:00"
@@ -5344,7 +5341,7 @@ Go to the \`Monit\` - \`Alert Rules\` - \`Rule Details\` page to configure monit
5344
5341
  ![2025-08-19-20-35-45](https://docs-cdn.flashcat.cloud/images/png/59c9d2566db9a0482fb2eabb729ea739.png)
5345
5342
 
5346
5343
  In some cases, you may want to route alerts generated by the same alert rule to different channels based on conditions. In this case, you can choose to deliver alerts directly to the integration rather than to the channels, and set routing rules under the current integration.
5347
- `,K=`---
5344
+ `,J=`---
5348
5345
  title: "RUM Alert Integration"
5349
5346
  description: "Flashduty RUM alert integration, RUM service reports alerts through this integration"
5350
5347
  date: "2025-05-19T10:00:00+08:00"
@@ -5364,7 +5361,78 @@ Go to the \`RUM\` - \`Application Details\` - \`Alert Settings\` page to enable
5364
5361
  ![2025-08-20-10-16-14](https://docs-cdn.flashcat.cloud/images/png/b6ad24809a2ee8f0b3c0b38988b46030.png)
5365
5362
 
5366
5363
  For more information, please refer to [RUM Issue Alerting](https://docs.flashcat.cloud/en/flashduty/rum/issue-alerting?nav=01JCQ7A4N4WRWNXW8EWEHXCMF5).
5367
- `,J=`---
5364
+ `,K=`---
5365
+ title: "Cloudflare Alert Events"
5366
+ description: "Sync Cloudflaret alert events to Flashduty via webhook for automated alert noise reduction"
5367
+ date: "2024-07-05T10:00:00+08:00"
5368
+ url: "https://docs.flashcat.cloud/en/flashduty/Cloudflare-integration-guide"
5369
+ ---
5370
+
5371
+ Sync Cloudflare alert events to Flashduty via webhook for automated alert noise reduction.
5372
+
5373
+ <div class="hide">
5374
+
5375
+ ## In Flashduty
5376
+ ---
5377
+ You can obtain an integration push URL through either of these two methods:
5378
+
5379
+ ### Using Private Integration
5380
+
5381
+ Choose this method when you don't need to route alert events to different channels - it's simpler.
5382
+
5383
+ <details>
5384
+ <summary>Expand</summary>
5385
+
5386
+ 1. Go to the Flashduty console, select **Channel**, and enter a channel's details page
5387
+ 2. Select the **Integrations** tab, click **Add Integration** to enter the integration page
5388
+ 3. Choose **Cloudflare** integration and click **Save** to generate a card
5389
+ 4. Click the generated card to view the **Push URL**, copy it for later use, and you're done
5390
+
5391
+ </details>
5392
+
5393
+ ### Using Shared Integration
5394
+
5395
+ Choose this method when you need to route alerts to different channels based on the alert event payload.
5396
+
5397
+ <details>
5398
+ <summary>Expand</summary>
5399
+
5400
+ 1. Go to the Flashduty console, select **Integration Center=>Alert Events** to enter the integration selection page
5401
+ 2. Select **Cloudflare** integration:
5402
+ - **Integration Name**: Define a name for this integration
5403
+ 3. Configure the default route and select the corresponding channel (after the integration is created, you can go to \`Route\` to configure more routing rules)
5404
+ 4. Click **Save** and copy the newly generated **push URL** for later use
5405
+ 5. Done
5406
+
5407
+ </details>
5408
+ </div>
5409
+
5410
+
5411
+ ## In Cloudflare
5412
+ ---
5413
+
5414
+ <div class="md-block">
5415
+
5416
+ ## 一、Create Notification Object
5417
+ 1. Log in to the \`Cloudflare dashboard\` and select your account.
5418
+ 2. Go to \`Notifications\` > \`Destinations\`.
5419
+ 3. In the \`Webhooks\` card, select Create.
5420
+ 4. In the edit page, enter Flashduty as the name and fill in the <span class='integration_url'>push URL</span> for the alert integration in the URL field.
5421
+ 5. Select \`Save and Test\` to finish setting up your webhook.
5422
+
5423
+ After configuring the Webhook channel, you can use it in notification policies.
5424
+
5425
+ </dev>
5426
+
5427
+ ## 二、Status Mapping
5428
+
5429
+ <div class="md-block">
5430
+
5431
+ Currently, all alerts pushed to Flashduty through the Cloudflare integration are set to Warning severity. However, you can customize the severity using the [alert pipeline](https://docs.flashcat.cloud/en/flashduty/alert-pipelines).
5432
+
5433
+ </div>
5434
+
5435
+ `,Z=`---
5368
5436
  title: "Custom Change Event Integration Guide"
5369
5437
  description: "Push change events from your own systems to Flashduty using standard protocols. Most incidents are caused by changes, and the correlation between changes and alerts helps quickly identify incident causes."
5370
5438
  date: "2025-05-19T10:00:00+08:00"
@@ -5392,7 +5460,7 @@ Flashduty has already adapted webhook protocols for several commonly used ticket
5392
5460
  ## Implementation Protocol
5393
5461
  ---
5394
5462
 
5395
- Please refer to the [Developer Documentation](https://developer.flashcat.cloud/en/flashduty/event-api/change-event) to complete the protocol development.
5463
+ Please refer to the [Developer Documentation](https://developer-en.flashcat.cloud/en/flashduty/event-api/change-event) to complete the protocol development.
5396
5464
 
5397
5465
  ## Best Practices
5398
5466
  ---
@@ -5421,7 +5489,7 @@ Labels are descriptions of events. You should enrich label content as much as po
5421
5489
 
5422
5490
  </details>
5423
5491
 
5424
- `,Z=`---
5492
+ `,Q=`---
5425
5493
  title: "Jira Issue Events"
5426
5494
  description: "Sync Jira Issue events to Flashduty via webhooks to collect change events."
5427
5495
  date: "2025-05-19T10:00:00+08:00"
@@ -5495,559 +5563,663 @@ Flashduty extracts the status.name information from the webhook payload by defau
5495
5563
  Please contact Flashduty if you wish to modify this mapping.
5496
5564
 
5497
5565
  </div>
5498
- `,Q=`---
5499
- title: Contributing to our documentation — Meilisearch documentation
5500
- description: The Meilisearch documentation is open-source. Learn how to help make it even better.
5501
- sidebarDepth: 3
5502
- ---
5503
-
5504
- Integrate with Feishu(Lark) custom application to receive and respond to alerts within Feishu/Lark.
5505
-
5506
- <!--
5507
- ## Video Tutorial
5566
+ `,X=`---
5567
+ title: "Feishu/Lark Integration"
5568
+ description: "By integrating a custom Feishu/Lark application, you can receive and respond to alerts within Feishu/Lark."
5569
+ date: "2025-05-19T10:00:00+08:00"
5570
+ url: "https://docs.flashcat.cloud/en/flashduty/lark-integration-guide?nav=01JCQ7A4N4WRWNXW8EWEHXCMF5"
5508
5571
  ---
5509
- <Video src="https://download.flashcat.cloud/flashduty/video/feishu.mp4"></Video>
5510
- -->
5572
+ By integrating a custom Feishu/Lark application, you can receive and respond to alerts within Feishu/Lark.
5511
5573
 
5512
- ## I. Create Feishu/Lark Application
5574
+ ## 1. Create Feishu/Lark application
5513
5575
  ---
5514
5576
 
5515
- ### 1. Create Custom Application
5577
+ ### 1. Create a custom application
5516
5578
 
5517
- Visit [Feishu/Lark Developer Console](https://open.feishu.cn/app) to create an internal custom application. (For details, see Feishu/Lark development documentation - [Create Enterprise Custom Application](https://open.feishu.cn/document/uYjL24iN/uMTMuMTMuMTM/development-guide/step1#132c1aac))
5579
+ Visit [Feishu/Lark Developer Console](https://open.feishu.cn/app) and create an internal custom application. You can use the [official Flashduty icon](https://download.flashcat.cloud/flashcat_logo_circular.png) for the application icon.
5518
5580
 
5519
- <img src="https://download.flashcat.cloud/flashduty/doc/en/feishu/feishu-1.png" alt="drawing" width="400"/>
5581
+ For details, see the Feishu/Lark development documentation [Create an internal custom application](https://open.feishu.cn/document/uYjL24iN/uMTMuMTMuMTM/development-guide/step1#132c1aac).
5520
5582
 
5521
- You can use the [Flashduty official icon](https://download.flashcat.cloud/flashcat_logo_circular.png) as the application icon.
5583
+ ![2025-09-17-19-20-33](https://docs-cdn.flashcat.cloud/images/png/9af11beec76ef03b935e5ba71ac2f5f5.png)
5584
+ ### 2. Copy credential information
5522
5585
 
5523
- ### 2. Copy Credentials
5586
+ Go to the **Credentials and Basic Information** page and copy the \`App ID\` and \`App Secret\` for later use.
5524
5587
 
5525
- Go to the **Credentials & Basic Info** page, copy the \`App ID\` and \`App Secret\` for later use.
5526
5588
 
5527
- <img src="https://download.flashcat.cloud/flashduty/doc/en/feishu/feishu-2.png" alt="drawing" width="800"/>
5589
+ ![2025-09-17-19-24-11](https://docs-cdn.flashcat.cloud/images/png/9b72a772eaa94a7115e8568e9ae7b496.png)
5528
5590
 
5529
- ### 3. Copy Event Callback Token Information
5591
+ ### 3. Copy the event callback Token information
5530
5592
 
5531
- Go to **Development Configuration - Events & Callbacks - Encryption Configuration** page, copy the \`Encrypt Key\` (recommended for better security) and \`Verification Token\` for later use.
5593
+ Go to Development Configuration Events & Callbacks **Encryption Strategy** page, generate and copy the \`Encrypt Key\` (recommended for better security) and \`Verification Token\` for later use.
5532
5594
 
5533
- <img src="https://download.flashcat.cloud/flashduty/doc/en/feishu/feishu-2.png" alt="drawing" width="800"/>
5595
+ ![2025-09-17-19-27-24](https://docs-cdn.flashcat.cloud/images/png/48d8ef62cef639cb433078c878c3a4a0.png)
5534
5596
 
5535
- ## II. Add Feishu/Lark Integration
5597
+ ## 2. Add Feishu/Lark integration
5536
5598
  ---
5537
5599
 
5538
- Return to Flashduty **Integration Center** page, select **Instant Messaging => Feishu/Lark**, fill in the \`Name\` and the previously copied \`App ID\`, \`App Secret\`, \`Verification Token\`, and \`Encrypt Key\`, then click save to create.
5539
-
5540
- <img src="https://download.flashcat.cloud/flashduty/doc/en/feishu/feishu-4.png" alt="drawing" width="800"/>
5600
+ Return to the Flashduty **Integration Center** page, select IM **Feishu/Lark**, fill in the \`Name\` and the \`App ID\`, \`App Secret\`, \`Verification Token\`, and \`Encrypt Key\` copied in the previous step, then click **Save** to complete the creation.
5541
5601
 
5542
- After creation, you'll see the newly added Feishu/Lark integration in the list. Click on the name to enter details, where you'll find the **Web Configuration** URL, **Redirect URL**, and **Message Card Request URL** information, which will be used in later steps.
5602
+ After successful creation, you will see the added Feishu/Lark integration in the list. Click its name to enter the details page, where you can view the **Web Configuration** address, **Redirect URL**, and **Message Card Request URL**, which will be used in subsequent steps.
5543
5603
 
5544
- <img src="https://download.flashcat.cloud/flashduty/doc/en/feishu/feishu-5.png" alt="drawing" width="800"/>
5604
+ ![2025-09-17-19-32-56](https://docs-cdn.flashcat.cloud/images/png/b4bfa3d7fdf1af9b8006be168d454700.png)
5545
5605
 
5546
- ## III. Configure Feishu/Lark Application
5606
+ ## 3. Configure Feishu/Lark application
5547
5607
  ---
5548
5608
 
5549
- ### 1. Enable and Configure Application Capabilities
5609
+ ### 1. Enable and configure application capabilities
5550
5610
 
5551
- 1). Return to the Feishu/Lark Developer Console, enter the newly created application, go to **Add Capabilities - Add by Capability** page, and enable both **Web Application** and **Bot** capabilities.
5611
+ 1. Return to the Feishu/Lark Developer Console, enter the created Feishu/Lark application, go to Add Application Capabilities **Add by Capability** page, and enable both **Web Application** and **Bot** capabilities.
5552
5612
 
5553
- <img src="https://download.flashcat.cloud/flashduty/doc/en/feishu/feishu-6.png" alt="drawing" width="800"/>
5613
+ ![2025-09-17-19-42-32](https://docs-cdn.flashcat.cloud/images/png/b12ddbeed2b8d7f508eccc1078c2c12c.png)
5554
5614
 
5555
- 2). Go to **Web Application** page, configure both \`Desktop Homepage\` and \`Mobile Homepage\` with the **Web Configuration** URL from the integration details.
5615
+ 2. Go to the **Web app** page and configure the \`Desktop Homepage\` and \`Mobile Homepage\`, both using the **Web configuration** address from the integration details.
5556
5616
 
5557
- <img src="https://download.flashcat.cloud/flashduty/doc/en/feishu/feishu-7.png" alt="drawing" width="800"/>
5617
+ For details, see the Feishu/Lark development documentation [Configure application homepage address](https://open.feishu.cn/document/uYjL24iN/uMTMuMTMuMTM/development-guide/step1#8366b844).
5558
5618
 
5559
- (See Feishu/Lark development documentation - [Configure Application Homepage URL](https://open.feishu.cn/document/uYjL24iN/uMTMuMTMuMTM/development-guide/step1#8366b844))
5619
+ ![2025-09-17-19-49-19](https://docs-cdn.flashcat.cloud/images/png/393e7629de652d1793b69af7d4f3831c.png)
5560
5620
 
5561
- 3). Go to **Event Callbacks - Callback Configuration** page, configure the \`Message Card Request URL\` (using the **Message Card Request URL** from integration details) and add the callback.
5621
+ 3. Go to Event Callbacks **Callback Configuration** page, configure the \`Subscription Method\` (using the **Message Card Request URL** from the integration details). Then, subscribe to the following two callback events:
5562
5622
 
5563
- <img src="https://download.flashcat.cloud/flashduty/doc/en/feishu/feishu-8.png" alt="drawing" width="800"/>
5564
- <img src="https://download.flashcat.cloud/flashduty/doc/en/feishu/feishu-9.png" alt="drawing" width="800"/>
5623
+ - \`im.message.receive_v1\`
5624
+ - \`im.chat.disbanded_v1\`
5565
5625
 
5566
- ### 2. Add Redirect URL to Feishu/Lark Application
5626
+ ![2025-09-17-19-53-14](https://docs-cdn.flashcat.cloud/images/png/c42542dc49930c2e20f5921749bf3565.png)
5567
5627
 
5568
- Go to **Security Settings** page, configure the \`Redirect URL\` using the **Redirect URL** from integration details.
5628
+ ### 2. Add redirect URL to Feishu/Lark application
5569
5629
 
5570
- <img src="https://download.flashcat.cloud/flashduty/doc/en/feishu/feishu-10.png" alt="drawing" width="800"/>
5630
+ Go to the **Security Settings** page and configure the \`Redirect URL\` using the **Redirect URL** from the integration details.
5571
5631
 
5572
- (See Feishu/Lark development documentation - [Configure Redirect URL](https://open.feishu.cn/document/uYjL24iN/uYjN3QjL2YzN04iN2cDN?lang=zh-CN#c863e533))
5632
+ For details, see the Feishu/Lark development documentation [Configure redirect URL](https://open.feishu.cn/document/uYjL24iN/uYjN3QjL2YzN04iN2cDN?lang=zh-CN#c863e533).
5573
5633
 
5574
- ### 3. Request Application Permissions
5634
+ ![2025-09-17-19-55-04](https://docs-cdn.flashcat.cloud/images/png/6f97810d9542514c40c276588179e04f.png)
5575
5635
 
5576
- Go to **Permission Management** page, request \`im:chat\` and \`im:message\` permissions. These permissions will allow the application to access its group chat information and send messages to groups or individuals.
5636
+ ### 3. Apply for application permissions
5577
5637
 
5578
- <img src="https://download.flashcat.cloud/flashduty/doc/en/feishu/feishu-11.png" alt="drawing" width="800"/>
5638
+ Go to the **Permission Management** page and apply for the following permissions for the group application created in the previous steps:
5579
5639
 
5580
- ## IV. Application Publication and Usage
5581
- ---
5640
+ - \`im:chat\`: Get and update group information
5641
+ - \`im:message\`: Get and send single chat and group messages
5642
+ - \`contact:user.id:readonly\`: Get user ID by phone number or email (for configuring war rooms)<span id="war-room-scope"></span>
5582
5643
 
5583
- After completing the above steps, proceed with application publication and usage. The application can be used after administrator approval.
5584
- Note: **Available Range** needs special configuration, recommended for **All Employees**.
5644
+ ![2025-09-17-19-59-38](https://docs-cdn.flashcat.cloud/images/png/61cb9fbc295e94b4d9acd7e44ac75e13.png)
5585
5645
 
5586
- <img src="https://download.flashcat.cloud/flashduty/doc/en/feishu/feishu-12.png" alt="drawing" width="800"/>
5646
+ ## 4. Application release
5647
+ ---
5587
5648
 
5588
- See Feishu/Lark development documentation - [Application Publication and Usage](https://open.feishu.cn/document/uYjL24iN/uMTMuMTMuMTM/development-guide/step-4).
5649
+ After completing all the above configurations, please release the application. It can be used after administrator approval.
5589
5650
 
5590
- Once published, you can access the application via mobile/PC client. First-time access requires login and account association (Feishu/Lark 《-》 Flashduty), subsequent uses will be login-free.
5651
+ For details, see the Feishu/Lark development documentation [Application release and usage](https://open.feishu.cn/document/uYjL24iN/uMTMuMTMuMTM/development-guide/step-4).
5591
5652
 
5592
- 1. Mobile: Access the web application through Feishu/Lark > Workspace > Search application name > Open application.
5593
- 2. PC: Access the web application through Feishu/Lark > Workspace > Search application name > Open application.
5653
+ > To ensure that everyone can use the application, adjust the application **visibility** to all employees before releasing the application.
5654
+
5655
+ ![2025-09-17-20-01-46](https://docs-cdn.flashcat.cloud/images/png/af3d458ed4c1a3e3346c91dc6a8fa667.png)
5594
5656
 
5595
- ## V. Common Issues
5596
- ---
5597
5657
 
5598
- 1. **Unable to deliver messages to individuals**, operation record shows \`Application Not Associated\`?
5658
+ After the application is released, you can access it via **mobile** or **PC**. The first access requires login to link your Feishu/Lark and Flashduty accounts. Subsequent access will be login-free.
5599
5659
 
5600
- - Go to Feishu/Lark > Workspace > Search application name > Open application, complete one login and account association (Feishu/Lark 《-》 Flashduty) for the system to obtain user identity for message pushing
5660
+ - **Mobile**: Access via Feishu/Lark Workplace Search for application name **Open Application** to use the web application.
5661
+ - **PC**: Access via Feishu/Lark → Workplace → Search for application name → **Open Application** to use the web application.
5601
5662
 
5602
- 2. **Message card buttons not working or showing errors**?
5663
+ ![2025-09-17-20-05-01](https://docs-cdn.flashcat.cloud/images/png/1da64327149790ceb45ff3b66476be7f.png)
5603
5664
 
5604
- - Ensure account association is completed. Go to Feishu/Lark > Workspace > Search application name > Open application, complete one login and account association (Feishu/Lark 《-》 Flashduty). If already logged in, try clicking the top-right menu to switch accounts and re-login to bind the account
5605
- - Ensure sufficient licenses are purchased. You can check license usage in Console > Billing Center
5665
+ ## 5. Configure war room
5606
5666
 
5607
- 3. **Empty Feishu/Lark group chat list in escalation rule**?
5667
+ > Ensure the application has been authorized with the [additional permissions](#war-room-scope) required for the war room feature.
5608
5668
 
5609
- - Go to Feishu/Lark, select group chat conversation, add the created Flashduty bot as shown below:
5610
- - Return to the escalation rule configuration page, refresh and reselect the group chat list
5669
+ After completing the previous steps, in the **Enhanced Features** module of the Flashduty integration configuration page, check **Enable War Room** to enable this feature without additional configuration.
5611
5670
 
5612
- <img alt="drawing" width="800" src="https://download.flashcat.cloud/flashduty/doc/en/feishu/feishu-13.png" />
5613
- <img src="https://download.flashcat.cloud/flashduty/doc/en/feishu/feishu-14.png" alt="drawing" width="800"/>
5671
+ ## 6. FAQ
5672
+ ---
5614
5673
 
5615
- 4. **Feishu/Lark Custom Application API Limits:** [Feishu/Lark Documentation](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/platform-updates-/custom-app-api-call-limit)
5674
+ 1. **Messages cannot be delivered to individuals, and the operation log shows \`app not linked\`?**
5675
+ - Go to Feishu/Lark → Workplace → Search for application name → **Open Application**, complete login once to link your Feishu/Lark and Flashduty accounts, so the system can obtain user identity for message push.
5676
+ 2. **Message card buttons are unresponsive or show errors?**
5677
+ - Ensure the account has been linked. You can go to Feishu/Lark → Workplace → Search for application name → **Open Application** to complete login once. If you have already logged in, try clicking the menu in the upper right corner, switch accounts, and log in again to bind the account.
5678
+ - Ensure you have purchased sufficient licenses. You can check the license usage in Console → **Billing Center**.
5679
+ 3. **The Feishu/Lark group chat list in escalation rules is empty?**
5680
+ - Go to Feishu/Lark and add the created Flashduty bot to the specified group chat.
5681
+ - Return to the escalation rule configuration page, refresh and reselect the group chat list.
5616
5682
 
5617
- **Call Volume Limits:**
5683
+ ![2025-09-18-14-26-32](https://docs-cdn.flashcat.cloud/images/png/a5878acb02929c9f660c549577de5c17.png)
5618
5684
 
5619
- | Feishu/Lark Version | Total Calls/Month | Reset Time |
5620
- | :----------: | :--: | :----: |
5621
- |Basic Free Version|10,000 calls|1st of each month|
5622
- |Other Versions|Unlimited|-|
5685
+ 4. **Feishu/Lark custom application API limits?**
5686
+ - **Call volume limits:**
5623
5687
 
5624
- **Frequency Control Limits:**
5688
+ | **Feishu/Lark Version** | **Total Calls/Month** | **Refresh Time** |
5689
+ | :---: | :---: | :---: |
5690
+ | Basic Free | 10,000 | 1st of each month |
5691
+ | Other Versions | Unlimited | - |
5625
5692
 
5626
- | Scenario | Limit |
5627
- | :----------: | :--: |
5628
- |All APIs|Maximum 50 calls/second per application|
5629
- |Message Sending API|Maximum 1000 calls/minute per application|
5630
- |Group Bot Webhook|Maximum 100 calls/minute|
5631
- |Sending messages to the same user or group|Maximum 5 calls/second|
5693
+ - **Rate limits:**
5632
5694
 
5633
- **Note:** Messages cannot be pushed normally when exceeding limits, please use notification channels reasonably`,X=`---
5695
+ | **Scenario** | **Limit** |
5696
+ | :---: | :--- |
5697
+ | All APIs | Max 50 calls/second per app |
5698
+ | Send message APIs | Max 1000 calls/minute per app |
5699
+ | Group bot webhook | Max 100 calls/minute |
5700
+ | Send to same user or group | Max 5 calls/second |
5701
+
5702
+ > After exceeding API call limits, the Feishu/Lark application will not be able to push messages normally. It is recommended to use notification channels reasonably. See [Feishu/Lark official documentation](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/platform-updates-/custom-app-api-call-limit) for details.
5703
+ 5. **Why is the war room feature not working as expected?**
5704
+ - Please check again whether you have configured the [required permissions](#war-room-scope) for the war room feature.
5705
+ - Please refer to the **FAQ** section of the Flashduty [War Room Introduction](https://docs.flashcat.cloud/en/flashduty/war-room?nav=01JCQ7A4N4WRWNXW8EWEHXCMF5).`,ee=`---
5634
5706
  title: "Dingtalk Integration"
5635
- description: "Integrate with Dingtalk custom application to receive and respond to alerts within Dingtalk"
5707
+ description: "By integrating a custom Dingtalk application, you can receive and respond to alerts within Dingtalk."
5636
5708
  date: "2025-05-19T10:00:00+08:00"
5637
- url: "https://docs.flashcat.cloud/en/flashduty/dingtalk-integration-guide"
5709
+ url: "https://docs.flashcat.cloud/en/flashduty/dingtalk-integration-guide?nav=01JCQ7A4N4WRWNXW8EWEHXCMF5"
5638
5710
  ---
5639
5711
 
5640
- Integrate with Dingtalk custom application to receive and respond to alerts within Dingtalk.
5712
+ By integrating a custom Dingtalk application, you can receive and respond to alerts within Dingtalk.
5713
+
5714
+ > This document uses the new version of the Dingtalk Open Platform as an example.
5715
+
5716
+
5717
+ ## I. Create Dingtalk Application and Add Dingtalk Integration
5641
5718
 
5642
- **(This guide uses the new version of Dingtalk Open Platform as an example)**
5643
- <!--
5644
- ## Video Tutorial
5645
- ---
5646
- <Video src="https://download.flashcat.cloud/flashduty/video/dingding.mp4"></Video>
5647
- -->
5648
- ## I. Create Dingtalk Application
5649
5719
  ---
5650
5720
 
5651
- ### 1. Create Custom Application
5721
+ ### 1. Create a Custom Application
5652
5722
 
5653
- Visit [Dingtalk Developer Console](https://open-dev.dingtalk.com/fe/app) - Application Development - Internal Enterprise Development to create an application. (See Dingtalk development documentation - [Create Internal Enterprise Application - H5 Microapp](https://open.dingtalk.com/document/orgapp/microapplication-creation-and-release-process#title-ovn-666-1ty))
5723
+ Visit the [Dingtalk Developer Console](https://open-dev.dingtalk.com/fe/app) Application Development **Internal Enterprise Development** to create an application.
5654
5724
 
5655
- <img src="https://download.flashcat.cloud/flashduty/doc/en/ding/ding-1.png" alt="drawing" width="400"/>
5725
+ For details, please refer to the Dingtalk development documentation [Create an in-house application-H5 micro-application](https://open.dingtalk.com/document/orgapp/microapplication-creation-and-release-process#title-ovn-666-1ty).
5656
5726
 
5657
- You can use the [Flashduty official icon](https://download.flashcat.cloud/flashcat_logo_circular.png) as the application icon.
5727
+ ![2025-09-18-15-02-55](https://docs-cdn.flashcat.cloud/images/png/3a66cc08c2a9ecb5669c985e05deb129.png)
5658
5728
 
5659
- ### 2. Copy Enterprise CorpId
5729
+ You can use the [Flashduty official icon](https://download.flashcat.cloud/flashcat_logo_circular.png) for the application icon.
5660
5730
 
5661
- Click on the enterprise in the upper right corner of the page, copy the \`CorpId\` from the dropdown menu for later use.
5731
+ ### 2. Copy the Enterprise \`CorpId\`
5662
5732
 
5663
- <img src="https://download.flashcat.cloud/flashduty/doc/en/ding/ding-2.png" alt="drawing" width="500"/>
5733
+ Click on the enterprise avatar in the top right corner of the page and copy the \`CorpId\` from the dropdown menu.
5664
5734
 
5665
- ### 3. Copy Application Credentials
5735
+ ![2025-09-18-15-03-12](https://docs-cdn.flashcat.cloud/images/png/3abe7ce647a78264290a8d311b62a842.png)
5666
5736
 
5667
- Go to the **Credentials and Basic Information** page, copy \`AgentID\`, \`ClientID\`, and \`ClientSecret\` for later use.
5737
+ Return to the Flashduty integration configuration page and fill in the corresponding \`CorpId\` in the form.
5668
5738
 
5669
- <img src="https://download.flashcat.cloud/flashduty/doc/en/ding/ding-3.png" alt="drawing" width="500"/>
5739
+ ### 3. Copy Application Credential Information
5740
+
5741
+ 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\`.
5742
+
5743
+ ![2025-09-18-15-04-39](https://docs-cdn.flashcat.cloud/images/png/075fc5989770ef3e76aa39320fe55bdf.png)
5744
+
5745
+ Return to the Flashduty integration configuration page and fill in the corresponding \`AgentId\`, \`Client ID\`, and \`Client Secret\` in the form.
5670
5746
 
5671
5747
  ### 4. Copy Event Subscription Information
5672
5748
 
5673
- Go to **Development Configuration - Events and Callbacks** page.
5749
+ 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.
5674
5750
 
5675
- Generate \`Encryption aes_key\` and \`Signature Token\` for later use.
5751
+ ![2025-09-18-15-05-10](https://docs-cdn.flashcat.cloud/images/png/0369b205a2fcf0f798267a4573e54996.png)
5676
5752
 
5677
- **(Note: After generating aes_key and Token, please temporarily save the information elsewhere, as it will disappear after leaving the page)**
5753
+ 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.
5678
5754
 
5679
- <img src="https://download.flashcat.cloud/flashduty/doc/en/ding/ding-4.png" alt="drawing" width="500"/>
5755
+ ### 5. Configure Event Subscription
5680
5756
 
5681
- ## II. Add Dingtalk Integration
5682
- ---
5757
+ Go to the Development Configuration → **Event Subscription** page.
5683
5758
 
5684
- Return to Flashduty **Integration Center** page, select Instant Messaging > Dingtalk, fill in the \`Integration Name\` and application information copied in the previous step, then click save to create.
5759
+ Configure the **Event Subscription Request URL** using the \`Event Subscription Request URL\` from the Flashduty integration details. **Save** after configuration.
5685
5760
 
5686
- <img src="https://download.flashcat.cloud/flashduty/doc/en/ding/ding-5.png" alt="drawing" width="400"/>
5761
+ ![2025-09-18-15-05-34](https://docs-cdn.flashcat.cloud/images/png/4f2f07c6bfd852b5c47ce2ae63559212.png)
5687
5762
 
5688
- After saving, you will see information such as **Web Configuration** address, **Server Outbound IP** address, and **Event Subscription Request URL**, which will be used in later steps.
5763
+ 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.
5689
5764
 
5690
- <img src="https://download.flashcat.cloud/flashduty/doc/en/ding/ding-6.png" alt="drawing" width="400"/>
5765
+ ![2025-09-18-15-08-07](https://docs-cdn.flashcat.cloud/images/png/e4fadf912cdad71dbfcc8c3d678f3277.png)
5691
5766
 
5692
- ## III. Configure Dingtalk Application
5693
- ---
5767
+ ### 6. Add Application Capabilities
5694
5768
 
5695
- ### 1. Add Cool App, Web App, and Bot
5696
- <img src="https://download.flashcat.cloud/flashduty/doc/en/ding/ding-7.png" alt="drawing" width="500"/>
5769
+ 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**.
5697
5770
 
5698
- 1) Create Cool App: On the **Cool Apps - Cool App List** page, click **Create Cool App** button, select **Extend to Group Chat**
5771
+ Enter the **Edit Cool App** page and complete the following steps:
5699
5772
 
5700
- <img src="https://download.flashcat.cloud/flashduty/doc/en/ding/ding-8.png" alt="drawing" width="500"/>
5773
+ 1. Fill in the basic information. You can use the [Flashduty official icon](https://download.flashcat.cloud/flashcat_logo_circular.png) for the icon.
5701
5774
 
5702
- 2) Enter the **Edit Cool App** page, complete the following steps:
5775
+ ![2025-09-18-15-11-03](https://docs-cdn.flashcat.cloud/images/png/d5191000378f4df25bb96bc1f19b0db2.png)
5703
5776
 
5704
- 2.1) First step, fill in basic information, you can use the [Flashduty official icon](https://download.flashcat.cloud/flashcat_logo_circular.png) as the icon.
5777
+ 2. Configure the functional design. Select **Group Quick Access** and **Message Card** on the left. You can use the [Flashduty official icon](https://download.flashcat.cloud/flashcat_logo_circular.png) for the group quick access icon. For the desktop and mobile access addresses, please copy the **Cool App Web URL** from the integration details.
5705
5778
 
5706
- <img src="https://download.flashcat.cloud/flashduty/doc/en/ding/ding-9.png" alt="drawing" width="500"/>
5779
+ ![2025-09-18-15-13-08](https://docs-cdn.flashcat.cloud/images/png/88385f8c5aa382d13bc9f5c0d0b8b18f.png)
5707
5780
 
5708
- 2.2) Second step, configure functionality design, select **Group Quick Access** and **Message Card** on the left. For the group quick access icon, you can use the [Flashduty official icon](https://download.flashcat.cloud/flashcat_logo_circular.png). Copy the **Cool App Web URL** from the integration details for both desktop and mobile access URLs.
5781
+ 3. Skip the third step of functional development, proceed to the fourth step **Preview & Release**, click the **Release** button and confirm.
5709
5782
 
5710
- <img src="https://download.flashcat.cloud/flashduty/doc/en/ding/ding-10.png" alt="drawing" width="500"/>
5783
+ ### 7. Configure Bot and Message Push
5711
5784
 
5712
- 2.3) Skip the third step of function development, proceed to the fourth step **Preview and Release**, click the **Release** button and confirm.
5785
+ 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](https://download.flashcat.cloud/flashcat_logo_circular.png) for the icon.
5713
5786
 
5714
- ### 2. Configure Bot and Message Push
5787
+ ![2025-09-18-15-17-17](https://docs-cdn.flashcat.cloud/images/png/62f4d4582baa0b446876e41e1a9d8eca.png)
5715
5788
 
5716
- Enter the **Application Capabilities - Bot** page, enable bot configuration, fill in the name and upload an icon. You can use the [Flashduty official icon](https://download.flashcat.cloud/flashcat_logo_circular.png), then save.
5789
+ ### 8. Configure Application URLs
5717
5790
 
5718
- <img src="https://download.flashcat.cloud/flashduty/doc/en/ding/ding-11.png" alt="drawing" width="500"/>
5791
+ Go to the Application Capability → **Web Application** page.
5719
5792
 
5720
- ### 3. Configure Application URLs
5793
+ 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.
5721
5794
 
5722
- Enter the **Application Capabilities - Web Application** page
5795
+ ![2025-09-18-15-20-13](https://docs-cdn.flashcat.cloud/images/png/9c430307d54f27eaedb009235540f6c5.png)
5723
5796
 
5724
- 1) Configure **Application Homepage URL** and **PC Homepage URL** with the content from the integration details' **Application Homepage URL** and **PC Homepage URL**.
5797
+ ### 9. Apply for Application Permissions
5725
5798
 
5726
- 2) Click **Save** in the upper right corner.
5799
+ Go to the Development Configuration → **Permissions** page and apply for the following permissions for the group application created in the previous steps:
5727
5800
 
5728
- <img src="https://download.flashcat.cloud/flashduty/doc/en/ding/ding-12.png" alt="drawing" width="500"/>
5801
+ - \`qyapi_chat_manage\`: Get group chat information
5802
+ - \`qyapi_robot_sendmsg\`: Send messages to group chats or individuals
5729
5803
 
5730
- ### 4. Configure Event Subscription
5804
+ ![2025-09-18-15-20-36](https://docs-cdn.flashcat.cloud/images/png/4417440194002a011e2feca5fa5c9469.png)
5731
5805
 
5732
- 1) On the **Development Configuration - Event Subscription** page, configure the **Request URL** with the content from the integration details' **Event Subscription Request URL**, then **Save**.
5806
+ ## II. Configure War Room
5733
5807
 
5734
- <img src="https://download.flashcat.cloud/flashduty/doc/en/ding/ding-13.png" alt="drawing" width="500"/>
5808
+ > If you do not need to configure the War Room feature, you can skip this step and proceed directly to [**Application Release and Usage**](#publish).
5735
5809
 
5736
- 2) Below the **Save** button, select three group chat events: \`Group Chat Name Change\`, \`Cool App Installation in Group\`, and \`Cool App Uninstallation in Group\`, then **Save**.
5810
+ <span id="war-room-scope"></span>
5737
5811
 
5738
- <img src="https://download.flashcat.cloud/flashduty/doc/en/ding/ding-14.png" alt="drawing" width="500"/>
5812
+ ### 1. Apply for Application Permissions
5739
5813
 
5740
- ### 5. Apply for Application Permissions
5814
+ Go to the Development Configuration → **Permissions** page and apply for the following permissions for the group application created in the previous steps:
5741
5815
 
5742
- Enter the Permission Management page, apply for \`qyapi_chat_manage\` and \`qyapi_robot_sendmsg\` permissions. These two permissions will allow the current application to obtain its own group chat information and send messages to groups or individuals.
5816
+ - \`qyapi_chat_read\`: Get group chat information
5817
+ - \`qyapi_chat_base_read\`: Get group chat information
5818
+ - \`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
5743
5819
 
5744
- <img src="https://download.flashcat.cloud/flashduty/doc/en/ding/ding-15.png" alt="drawing" width="500"/>
5820
+ ![2025-09-18-15-21-28](https://docs-cdn.flashcat.cloud/images/png/39142395390ce09726e3a95991549116.png)
5745
5821
 
5746
- ## IV. Application Release and Usage
5747
- ---
5822
+ ### 2. Configure Group Template
5823
+
5824
+ Go to Open Capability → **Scene Group** from the top menu bar of the Dingtalk Open Platform.
5825
+
5826
+ 1. Configure **Group Bot**. Select **Bot** from the left menu bar, then click **Create group bot**.
5827
+
5828
+ > 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**.
5829
+
5830
+ 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.
5831
+
5832
+ **Example Configuration**:
5833
+
5834
+ | **Configuration Item** | **Value** |
5835
+ | -------------- | --------------------------------------------------------------------------------- |
5836
+ | Bot Name | Flashduty |
5837
+ | Bot Avatar | [Flashduty official icon](https://download.flashcat.cloud/flashcat_logo_circular.png) |
5838
+ | Introduction | Flashduty |
5839
+ | Message Preview Image | [Flashduty official icon](https://download.flashcat.cloud/flashcat_logo_circular.png) |
5840
+ | Detailed Description | Flashduty message push bot. |
5841
+ | Message Callback URL | \`https://flashcat.cloud/\` |
5842
+ | Message Callback Token | \`token\` |
5843
+ | Information Source Website | \`https://flashcat.cloud/\` |
5844
+
5845
+ 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.
5748
5846
 
5749
- After completing the above steps, go to **Application Release - Version Management and Release**, create a new version, then proceed with the release (make sure to adjust the visibility to all employees, otherwise others cannot use it)
5847
+ ![2025-09-18-15-22-05](https://docs-cdn.flashcat.cloud/images/png/75e853ae6c420d69916e17f5d8922945.png)
5750
5848
 
5751
- <img src="https://download.flashcat.cloud/flashduty/doc/en/ding/ding-16.png" alt="drawing" width="500"/>
5752
- <img src="https://download.flashcat.cloud/flashduty/doc/en/ding/ding-17.png" alt="drawing" width="500"/>
5849
+ 2. Configure **Group Template**. Select **Group Template** from the left menu bar, and click **Create group template**.
5753
5850
 
5754
- After the application is released, you can access it via mobile/PC client. First-time access requires login and account association (Dingtalk 《-》 Flashduty), subsequent uses will be login-free.
5851
+ 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.
5755
5852
 
5756
- 1. Mobile: Access the web application through Dingtalk > Workspace > Search application name > Open application.
5757
- 2. PC: Access the web application through Dingtalk > Workspace > Search application name > Open application.
5853
+ 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.
5854
+
5855
+ **Example Configuration**:
5856
+
5857
+ | **Configuration Item** | **Value** |
5858
+ | ---------- | --------------------------------------------------------------------------------- |
5859
+ | Template Name | Flashduty War Room |
5860
+ | Icon | [Flashduty official icon](https://download.flashcat.cloud/flashcat_logo_circular.png) |
5861
+ | Description | Create a war room for active incidents with one click. |
5862
+ | Copywriting Introduction | Create a war room for active incidents with one click. |
5863
+ | Template Description | Create a war room for active incidents with one click. |
5864
+ | Image Introduction | [Flashduty official icon](https://download.flashcat.cloud/flashcat_logo_circular.png) |
5865
+
5866
+ 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**.
5867
+
5868
+ ![2025-09-18-15-22-35](https://docs-cdn.flashcat.cloud/images/png/9292a8418a96fcb3fee1d424a41d33a2.png)
5869
+ ![2025-09-18-15-23-06](https://docs-cdn.flashcat.cloud/images/png/c76433b0962fb0f0531b4f56b60ce903.png)
5870
+
5871
+ In the **Fill in grayscale group** step, click **Create grayscale group**, then click **Publish grayscale**.
5872
+
5873
+ 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**.
5874
+
5875
+ 3. In the published group template details page, copy the **Template ID** and **Bot ID**.
5876
+
5877
+ ![2025-09-18-15-23-46](https://docs-cdn.flashcat.cloud/images/png/315acf0b5951100781f96cd4d854d0c6.png)
5878
+
5879
+ Return to the Flashduty integration configuration page, fill in the corresponding \`Template ID\` and \`Bot ID\` in the form, and click the **Save** button.
5880
+
5881
+ <span id="publish"></span>
5882
+
5883
+ ## III. Application Release and Usage
5758
5884
 
5759
- ## V. Common Issues
5760
5885
  ---
5761
- 1. **Cannot deliver messages to individuals**, operation record shows \`Application Not Associated\`?
5762
5886
 
5763
- - Go to Dingtalk > Workspace > Search application name > Open application, complete one login and account association (Dingtalk 《-》 Flashduty), so the system can obtain user identity for message pushing
5887
+ After completing the above steps, go to Application Release **Version Management and Release**, create a new version, and publish it.
5888
+
5889
+ > To ensure that everyone can use the application, you need to adjust the **Visible Scope** of the application to all employees before publishing.
5890
+
5891
+ ![2025-09-18-16-08-17](https://docs-cdn.flashcat.cloud/images/png/86df5b6148cf1264745d957bd2d43fcf.png)
5764
5892
 
5765
- 2. **Message card buttons are ineffective or show errors?**
5893
+ 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.
5766
5894
 
5767
- - Go to Dingtalk > Workspace > Search application name > Open application, complete one login and account association (Dingtalk 《-》 Flashduty). If already logged in, try clicking the menu in the upper right corner, switch accounts, and log in again to bind the account
5768
- - Ensure you have purchased sufficient licenses. You can check license usage in Console > Billing Center
5895
+ - **Mobile Client**: Access the web application through Dingtalk Workbench Search for application name **Open Application**.
5896
+ - **PC Client**: Access the web application through Dingtalk Workbench Search for application name → **Open Application**.
5769
5897
 
5770
- 3. **Escalation rule Dingtalk group chat list is empty?**
5898
+ ## IV. FAQ
5899
+
5900
+ ---
5901
+
5902
+ 1. **Why can't messages be delivered to individuals, and the operation record shows \`app not linked\`?**
5903
+ - 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.
5904
+ 2. **Why are the message card buttons not working or showing an error?**
5905
+ - 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.
5906
+ - Ensure you have purchased enough licenses. You can check your used license status in Console → [**Billing Center**](https://console.flashcat.cloud/wallet).
5907
+ 3. **Why is the Dingtalk group chat list in the escalation rule empty?**
5908
+ - Go to Dingtalk, select a group chat session, and install the Cool App. Otherwise, the group chat list cannot be obtained.
5771
5909
 
5772
- - Go to Dingtalk, select group chat and install the Cool App, otherwise the group chat list cannot be obtained
5773
- - Return to the escalation rule configuration page, refresh and reselect the group chat list
5774
- - If still unable to get the group chat list, try uninstalling the Cool App from the group and repeat the above steps. If it still doesn't work, please contact customer or dedicated technical support
5910
+ ![2025-09-18-15-34-37](https://docs-cdn.flashcat.cloud/images/png/7f1e931df0ae740a37ce6615ac3b18ba.png)
5911
+ ![2025-09-18-15-35-44](https://docs-cdn.flashcat.cloud/images/png/367dfd391bf4d57c22088d20a4844e33.png)
5775
5912
 
5776
- <img src="https://download.flashcat.cloud/flashduty/doc/en/dingtalk-install-1.png" alt="drawing" width="500"/>
5913
+ - Return to the escalation rule configuration page, refresh, and reselect the group chat list.
5914
+ - 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.
5777
5915
 
5778
- <img src="https://download.flashcat.cloud/flashduty/doc/en/dingtalk-install-2.png" alt="drawing" width="500"/>
5916
+ 4. **Why is the War Room feature not working as expected?**
5917
+ - Please double-check if you have configured the [required permissions](#war-room-scope) for the application's War Room feature.
5918
+ - Please refer to the **FAQ** section of the Flashduty [War Room Introduction](https://docs.flashcat.cloud/en/flashduty/war-room?nav=01JCQ7A4N4WRWNXW8EWEHXCMF5) document.
5779
5919
 
5780
- 4. **Dingtalk Custom Application API Call Limits:** [Dingtalk Documentation](https://open.dingtalk.com/document/orgapp/descriptions-about-adjusting-limit-and-frequency-of-api-calls?spm=ding_open_doc.document.0.0.6f6b21d9WtkxJI)
5920
+ 5. **Dingtalk Custom Application API Call Limits**
5781
5921
 
5782
- | Dingtalk Version | Total Calls/Month | QPS| Refresh Time |
5783
- | :----------: | :--: | :----: | :----:|
5784
- |Standard|10,000|20|1st of each month|
5785
- |Professional|500,000|40|1st of each month|
5786
- |Enterprise|5,500,000|60|1st of each month|
5922
+ | **Dingtalk Version** | **Total Calls/Month** | **QPS** | **Refresh Time** |
5923
+ | :----------: | :-------------: | :-----: | :----------: |
5924
+ | Standard | 10,000 | 20 | 1st of each month |
5925
+ | Professional | 500,000 | 40 | 1st of each month |
5926
+ | Exclusive | 5,500,000 | 60 | 1st of each month |
5787
5927
 
5788
- **Note:** Messages cannot be pushed normally after exceeding limits, please use notification channels reasonably
5789
- `,ee=`---
5928
+ > 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](https://open.dingtalk.com/document/orgapp/descriptions-about-adjusting-limit-and-frequency-of-api-calls?spm=ding_open_doc.document.0.0.6f6b21d9WtkxJI).`,ne=`---
5790
5929
  title: "WeCom Integration"
5791
- description: "Integrate WeCom third-party application to receive and respond to alerts within WeCom"
5930
+ description: "By integrating a WeCom application, you can receive and respond to alerts within WeCom."
5792
5931
  date: "2025-05-19T10:00:00+08:00"
5793
- url: "https://docs.flashcat.cloud/en/flashduty/wecom-integration-guide"
5932
+ url: "https://docs.flashcat.cloud/en/flashduty/wecom-integration-guide?nav=01JCQ7A4N4WRWNXW8EWEHXCMF5"
5794
5933
  ---
5795
5934
 
5796
- Integrate WeCom third-party application to receive and respond to alerts within WeCom.
5935
+ By integrating a WeCom application, you can receive and respond to alerts within WeCom.
5797
5936
 
5798
- <!-- >
5799
- ## Video Guide
5800
- ---
5801
- <Video src="https://download.flashcat.cloud/flashduty/video/wechat.mp4"></Video>
5802
- -->
5937
+ This document supports both [integrating third-party applications](#third-party) and [integrating custom enterprise applications](#self).
5803
5938
 
5804
- ## I. Install the Application
5805
- ---
5806
5939
 
5807
- 1. Visit [WeCom Admin Console](https://work.weixin.qq.com/wework_admin/frame#apps) - \`App Management\` - \`Third-party\`, and select Add Third-party App
5940
+ > You only need to configure one of the two methods: **Integrate third-party application** or **Integrate custom application**.
5808
5941
 
5809
- <img src="https://download.flashcat.cloud/flashduty/doc/en/wecom/wecom-1.png" alt="drawing" width="500"/>
5942
+ <span id="third-party"></span>
5810
5943
 
5811
- 2. Search for \`flashduty\` in the search bar, locate the app, and click the \`Add\` button
5944
+ ## 1. Integrate third-party application
5812
5945
 
5813
- <img src="https://download.flashcat.cloud/flashduty/doc/en/wecom/wecom-2.png" alt="drawing" width="500"/>
5946
+ ---
5814
5947
 
5815
- 3. Modify the app's \`Visibility\`, recommend setting it to all members or specific departments to avoid modifying settings when adding new members. Click \`Agree and Add\` to complete installation
5948
+ > As a WeCom service provider, Flashduty offers a long-term free version of the Flashduty application. This application requires WeCom API permissions to function (passwordless login + message sending).
5949
+ >
5950
+ > This license currently supports **up to 60 days** free of charge. After exceeding this usage period, Flashduty needs to purchase a WeCom license for you to continue using it.
5816
5951
 
5817
- <img src="https://download.flashcat.cloud/flashduty/doc/en/wecom/wecom-3.png" alt="drawing" width="500"/>
5952
+ 1. Visit [WeCom Admin Console](https://work.weixin.qq.com/wework_admin/frame#apps), go to Application Management → **Applications** page, and click **Add Third-party Application**.
5818
5953
 
5819
- 4. Visit [WeCom Admin Console](https://work.weixin.qq.com/wework_admin/frame#apps) - \`My Enterprise\` page, copy the \`Corp ID\` and paste it into the integration configuration as \`Corp ID\`, click save to complete the setup
5954
+ ![2025-09-18-12-59-55](https://docs-cdn.flashcat.cloud/images/png/783157a331b4b1246c1941dc53874d27.png)
5820
5955
 
5821
- <img src="https://download.flashcat.cloud/flashduty/doc/en/wecom/wecom-4.png" alt="drawing" width="500"/>
5956
+ 2. Enter \`Flashduty\` in the search bar, and click the **Add** button after finding the application.
5822
5957
 
5823
- 5. **Please Note: As a WeCom service provider, Flashduty offers a long-term free version of the \`FlashDuty\` application. The app requires WeCom API access license for functionality (passwordless login + messaging). This license is free for up to \`60 days\`, after which we must purchase a WeCom license for continued use.**
5958
+ ![2025-09-18-13-00-54](https://docs-cdn.flashcat.cloud/images/png/2b36bb53b8a6de1738a626ad00c5fd6e.png)
5824
5959
 
5825
- ## II. FAQ
5826
- ---
5960
+ 3. Modify the application **visibility range**. It is recommended to select all employees or specific department nodes to avoid needing to modify when new enterprise members are added. Then click **Agree to the above authorization and add** to complete the installation.
5827
5961
 
5828
- 1. **Clicking the integration save button returns \`authorize app first\` error?**
5962
+ ![2025-09-18-13-14-47](https://docs-cdn.flashcat.cloud/images/png/4e1bd7ecaedc799ca0a2889f59cf8c00.png)
5829
5963
 
5830
- - Check if you've completed the app installation steps, such as whether you can see the \`FlashDuty\` app in your workspace
5831
- - Verify if you've correctly configured the \`Corp ID\`
5964
+ 4. Visit [WeCom Admin Console](https://work.weixin.qq.com/wework_admin/frame#apps), go to **My Enterprise** page, and obtain the \`Enterprise ID\`.
5832
5965
 
5833
- 2. **How to complete account linking? Or message sending shows \`App Not Linked\`?**
5966
+ ![2025-09-18-13-05-43](https://docs-cdn.flashcat.cloud/images/png/11887f4892a2ed05ee13efdca936845f.png)
5834
5967
 
5835
- - Log into WeCom client (desktop or mobile), go to \`Workspace\`, find and enter the \`FlashDuty\` app
5836
- - First-time access requires login, choose member account - password or SSO, successful login completes account linking between \`Flashduty\` and \`WeCom\`
5837
- - Subsequent access will be passwordless
5968
+ 5. Return to the Flashduty integration configuration page, fill in the \`Enterprise ID\` obtained in the previous step, and click **Save** to complete the integration.
5838
5969
 
5839
- 3. **How to send incident notifications?**
5970
+ <span id="self"></span>
5840
5971
 
5841
- - Must complete account linking as per Question 1 before sending notifications
5842
- - Go to channel details page - escalation rule, select WeCom integration in personal channels to complete notification setup
5843
- - Supports customizing WeCom notification content through template management page. Note: **Custom area supports maximum 8 lines**, excess content will be truncated by WeCom
5972
+ ## 2. Integrate custom enterprise application
5844
5973
 
5845
- <img src="https://download.flashcat.cloud/flashduty/doc/en/wecom/wecom-5.png" alt="drawing" width="500"/>
5974
+ ---
5846
5975
 
5847
- 4. **How to handle alerts in WeCom?**
5976
+ 1. Visit [WeCom Admin Console](https://work.weixin.qq.com/wework_admin/frame#apps), go to Application Management **Applications** page, and click **Create Application**.
5848
5977
 
5849
- - Click the card message to directly access alert details
5850
- - Click \`Start Processing\` to set alert status to \`In Progress\`
5851
- - Click \`Close Directly\` to set alert status to \`Closed\`
5852
- - Click \`Snooze 2h\` to snooze the alert for 2 hours, click \`...\` in top-right corner for more snooze options
5978
+ ![2025-09-18-13-06-26](https://docs-cdn.flashcat.cloud/images/png/166b4c18de5677d1fd686a5953dda6a7.png)
5853
5979
 
5854
- 5. **Why is there a \`Refresh Status\` button on card messages?**
5980
+ 2. Configure **Application Logo**, **Application Name**, and **Application Visibility Range**.
5855
5981
 
5856
- - WeCom limits card updates to once per 72 hours after interaction. Each button operation counts as an interaction
5857
- - Flashduty requests card content updates when alert status changes
5858
- - When alert status changes frequently, updates might fail due to update limit, use refresh button for one additional update opportunity
5982
+ ![2025-09-18-13-07-17](https://docs-cdn.flashcat.cloud/images/png/c0373856679ae5a37d13dd36562f0c61.png)
5859
5983
 
5860
- 6. **How to open card messages in \`System Default Browser\` on Mac desktop?**
5984
+ 3. Return to the Flashduty integration configuration page and select whether WeCom is a \`non-private deployment version\` based on your actual situation.
5861
5985
 
5862
- - Mac desktop client defaults to internal browser for links
5863
- - Try keyboard shortcut \`ctrl\` + \`command\` + \`shift\` + \`d\` to enable debug mode, then select \`Debug - Browser & WebView Related - Open in System Browser\` to change link opening behavior. Use the same shortcut to exit debug mode and retain settings
5986
+ If your WeCom is a private deployment version, you need to fill in the \`Endpoint\` in the configuration page. This address needs to be accessible by the Flashduty service. You may consider setting up **whitelist authorization** for it.
5864
5987
 
5865
- 7. **Incident notification fails with \`WeCom License Not Activated\`?**
5988
+ 4. Visit [WeCom Admin Console](https://work.weixin.qq.com/wework_admin/frame#apps), go to **My Enterprise** page, obtain the \`Enterprise ID\`, and fill it in the Flashduty integration configuration page.
5866
5989
 
5867
- - Contact Flashduty customer service or dedicated support for license purchase and activation
5868
- `,ne=`---
5869
- title: "Slack Integration"
5870
- description: "Integrate with Slack to receive and respond to alerts within Slack"
5871
- date: "2025-05-19T10:00:00+08:00"
5872
- url: "https://docs.flashcat.cloud/en/flashduty/slack-integration-guide"
5873
- ---
5990
+ 5. Return to [WeCom Admin Console](https://work.weixin.qq.com/wework_admin/frame#apps), go to **Application Management** page, click on the application you created to enter the details page. Obtain the \`AgentId\` from the page and fill it in the Flashduty integration configuration page.
5874
5991
 
5875
- Integrate with Slack to receive and respond to alerts within Slack.
5992
+ 6. On the application details page, obtain the \`Secret\` and fill it in the Flashduty integration configuration page.
5876
5993
 
5877
- ## I. Install the App
5878
- ---
5994
+ 7. On the application details page, go to **Web Authorization and JS-SDK** page, click **Set Trusted Domain**, and configure **Callback domain for application OAuth 2.0 web authorization** as required.
5879
5995
 
5880
- 1. Go to FlashDuty \`Integration Center\` - \`Instant Messaging\` - \`Slack\` - \`Add\`
5996
+ > The trusted domain needs to point to Flashduty's backend address \`{api_host}\` (can be achieved through CNAME or proxy forwarding).
5997
+ >
5998
+ > For trusted domain requirements, see the official WeCom documentation [《Internal Development Domain Configuration Guide》](https://open.work.weixin.qq.com/wwopen/common/readDocument/40754).
5881
5999
 
5882
- 2. You will be redirected to Slack. Select your \`Workspace\` in the top right corner, then click \`Allow\`
6000
+ ![2025-09-18-13-08-43](https://docs-cdn.flashcat.cloud/images/png/8509e75449c933c3f750c93ce621e641.png)
5883
6001
 
5884
- <img src="https://download.flashcat.cloud/flashduty/integration/slack/slack_app_options.png" alt="drawing" width="400"/>
6002
+ Return to the Flashduty integration configuration page, fill in this domain, and complete the verification.
5885
6003
 
5886
- 3. Enter the integration name and click \`Save\`
6004
+ 8. On the application details page, go to **Receive Messages** page and **Set API Reception**. Click **Random Generation** for both \`Token\` and \`EncodingAESKey\`, then copy and save the generated values.
5887
6005
 
6006
+ ![2025-09-18-13-10-03](https://docs-cdn.flashcat.cloud/images/png/ced9137a2fe74afa34d118ce279579e2.png)
5888
6007
 
5889
- ## II. Common Issues
5890
- ---
6008
+ Return to the Flashduty integration configuration page, fill in the saved \`Token\` and \`EncodingAESKey\`, and click **Save** to complete the integration.
5891
6009
 
5892
- 1. **Cannot find desired private channel in escalation rule channel list**
5893
- - Adding the app to a channel requires Step 1 \`Install App\` to complete without errors
5894
- - In the Slack channel, run \`/invite @FlashDuty\`. A message saying \`has joined\` or \`has been added by xx to xxx\` indicates successful addition
6010
+ 9. Copy the \`Callback Address\` from the Flashduty integration details page, return to the **Receive Messages** page in WeCom. In the **API Reception** settings, fill in the \`Callback Address\` and the \`Token\` and \`EncodingAESKey\` saved in the previous step, then click **Save**.
5895
6011
 
5896
- 2. **Cannot find desired public channel in escalation rule channel list**
5897
- - Add the app authorizer to the public channel
5898
- - Or follow \`Common Issue 1\` to add the app to the channel
6012
+ ![2025-09-18-13-10-56](https://docs-cdn.flashcat.cloud/images/png/9a1bee272010ceaa38d2f39025215379.png)
5899
6013
 
5900
- 3. **Error when clicking Allow button in Step 2 of installation**
5901
- - Try again, as there might be communication issues between the server and Slack causing authorization problems. Return to the add integration page and retry
5902
- - If the error persists, contact customer support
6014
+ ## 3. Configure war room
5903
6015
 
5904
- 4. **Error when clicking Save button in Step 3 of installation**
5905
- - Try again, as there might be communication issues when FlashDuty attempts to obtain the permanent authorization code. Return to the add integration page and retry
5906
- - If the error persists, contact customer support
6016
+ ---
5907
6017
 
5908
- 5. **Slack App shows not_authed error**
5909
- - Try again, as there might be issues with Slack service
5910
- - If the error persists, contact customer support
6018
+ > The war room feature is only supported when **custom enterprise application** mode is enabled.
5911
6019
 
5912
- 6. **Slack App shows Operation timed out error**
5913
- - Try again, as there might be communication timeout issues between the server and Slack
5914
- - If the error persists, contact customer support
6020
+ After completing the previous steps, in the **Enhanced Features** module of the Flashduty integration configuration page, check **Enable War Room** to enable this feature without additional configuration.
5915
6021
 
5916
- 7. **Slack App shows This app responded with Status Code 500 error**
5917
- - Try again, as there might be server errors, such as the integration being disabled
5918
- - If the error persists, contact customer support
6022
+ ## 4. FAQ
5919
6023
 
5920
- 8. **Slack App shows Other questions error**
5921
- - Try again, as this might be an unrecorded issue
5922
- - If the error persists, contact customer support`,te=`---
5923
- title: "Microsoft Teams Integration"
5924
- description: "Integrate Microsoft Teams as a third-party application to receive and respond to alerts within Microsoft Teams"
6024
+ ---
6025
+
6026
+ 1. **After clicking the integration save button, the system reports \`authorize app first\`?**
6027
+ - Please check if you have completed the application installation steps. For example, can you see the Flashduty application in the WeCom workplace?
6028
+ - Please check if you have correctly configured the \`Corp ID\`.
6029
+ 2. **How to complete account linking or message sending prompts \`app not linked\`?**
6030
+ - Log in to the WeCom client (both desktop and mobile are acceptable), go to **Workplace**, find and open the Flashduty application.
6031
+ - The first time you enter the application, you need to log in. Select your member account and log in successfully through password or single sign-on to complete the linking of your Flashduty account and WeCom account.
6032
+ - Subsequent entries to the application will automatically log in without a password.
6033
+ 3. **How to send incident notifications?**
6034
+ - Before sending notifications, you must complete account linking as described in the previous question.
6035
+ - Enter the specified channel, navigate to \`Escalation Rules\` → **Personal Channels**, and select \`WeCom\` as the notification method.
6036
+ - Flashduty supports customizing WeCom notification content. You can go to the **Template Management** page to set custom templates. **The custom area can display up to 8 lines**, and excess content will be truncated by WeCom.
6037
+ ![2025-09-18-12-02-26](https://docs-cdn.flashcat.cloud/images/png/9cb6a325b4b16875fec3e0c5054be25b.png)
6038
+ 4. **How to handle alerts within WeCom?**
6039
+ - Click on the card message to directly enter the alert details page.
6040
+ - Click **Start Processing** to directly set the alert to \`Processing\` status.
6041
+ - Click **Close Directly** to directly set the alert to \`Closed\` status.
6042
+ - Click **Snooze for 2 hours** to directly snooze the alert for 2 hours. If you want to snooze for longer, click the \`...\` in the upper right corner of the card to see more snooze options.
6043
+ 5. **Why does the card message provide a \`Status Refresh\` button?**
6044
+ - According to WeCom's restrictions, after one card interaction, it can only be updated once within 72 hours. Each button operation is considered an interaction.
6045
+ - When the alert status changes, Flashduty will request to update the card content.
6046
+ - When the alert status changes frequently, the card may not be updated in real-time due to exceeding the update limit. At this time, you can click the **Refresh** button to manually get a chance to update the card status.
6047
+ 6. **On Mac desktop, how to set clicking card messages to open with the \`system default browser\`?**
6048
+ - Mac desktop uses WeCom's built-in browser to open links by default.
6049
+ - You can try using the shortcut \`ctrl\` + \`command\` + \`shift\` + \`d\` to enable debug mode, then select **Debug** → **Browser, WebView Related** → **Open Web Page with System Browser** to change how links are opened. Use the same shortcut to close debug mode, and the settings will be retained.
6050
+ 7. **Incident notification failed with prompt \`WeCom license not activated\`?**
6051
+ - Please contact Flashduty customer service or your dedicated technical support to purchase and activate the license for you.
6052
+ 8. **Why is the war room feature not working as expected?**
6053
+ - Please refer to the **FAQ** section of the Flashduty [War Room Introduction](https://docs.flashcat.cloud/en/flashduty/war-room?nav=01JCQ7A4N4WRWNXW8EWEHXCMF5).`,te=`---
6054
+ title: "Slack Integration"
6055
+ description: "By integrating the Slack third-party application, you can receive and respond to alerts within Slack."
5925
6056
  date: "2025-05-19T10:00:00+08:00"
5926
- url: "https://docs.flashcat.cloud/en/flashduty/microsoft-teams-integration-guide"
6057
+ url: "https://docs.flashcat.cloud/en/flashduty/slack-integration-guide?nav=01JCQ7A4N4WRWNXW8EWEHXCMF5"
5927
6058
  ---
5928
6059
 
5929
- Integrate Microsoft Teams as a third-party application to receive and respond to alerts within Microsoft Teams.
6060
+ By integrating the Slack third-party application, you can receive and respond to alerts within Slack.
5930
6061
 
5931
- ## I. Install/Update Application
5932
- ---
6062
+ <span id="install-app"></span>
5933
6063
 
5934
- Microsoft Teams integration is currently in Beta. Before associating, you need to complete the following operations:
6064
+ ## 1. Install application
5935
6065
 
5936
- ::: caution
5937
- These steps must be completed by a Microsoft Teams administrator
5938
- :::
6066
+ ---
5939
6067
 
5940
- ### 1. Download Application
5941
- Download [FlashDutyBot-v1.0.3.zip](https://flashduty-docs.oss-cn-beijing.aliyuncs.com/docs/FlashdutyBot-v1.0.3.zip) to your local machine
6068
+ 1. Visit Flashduty Integration Center → IM → **Slack**, and click **Add**.
6069
+ 2. On the redirected Slack page, select **Workspace** in the upper right corner, then click **Allow**.
6070
+ ![2025-09-18-15-58-05](https://docs-cdn.flashcat.cloud/images/png/c241bc7f7a657bd552bfe3b03bdb2e3b.png)
6071
+ 3. Enter the data source name and click **Save**.
5942
6072
 
5943
- ### 2. Install Application
5944
- Go to **Microsoft Teams, navigate to [+Apps] - [Manage your apps] - [Upload an app] - [Upload an app to your org's app catalog]** and upload the FlashDutyBot.zip package
6073
+ ## 2. Configure war room
5945
6074
 
5946
- ![](https://fcpub-1301667576.cos.ap-nanjing.myqcloud.com/flashduty/integration/microsoft-teams/upload-app.png)
6075
+ After completing the previous steps, in the **Enhanced Features** module of the Flashduty integration configuration page, check **Enable War Room** to enable this feature without additional configuration.
5947
6076
 
5948
- #### Configure Application Visibility
5949
- Go to [Microsoft Teams Admin Center](https://admin.teams.microsoft.com/policies/manage-apps), find the FlashDuty application, and adjust the application visibility to everyone (or your custom scope)
6077
+ ## 3. FAQ
5950
6078
 
5951
- ::: tip
5952
- If the application status shows [Blocked], please wait a moment and refresh the page or modify it manually
5953
- :::
5954
- ![](https://flashduty-docs.oss-cn-beijing.aliyuncs.com/imges/png/install-bot-2.png)
6079
+ ---
5955
6080
 
5956
- #### Check if Installation is Successful
5957
- Wait a few minutes, and organization members can find this application integration under [+Apps] - [Built for your org]
6081
+ 1. **The private channel I want is not in the group chat list of escalation rules?**
6082
+ - Ensure the [**Install Application**](#install-app) step has been completed successfully without errors.
6083
+ - Enter the relevant Slack channel and execute the \`/invite @Flashduty\` command. When you see the prompt \`has joined\` or \`has been added by xxx to xxx\`, it means the addition was successful.
6084
+ 2. **The public channel I want is not in the group chat list of escalation rules?**
6085
+ - Add the application authorizer to the public channel.
6086
+ - Refer to the method in **Question 1** to add the application to the channel.
6087
+ 3. **Error after clicking the \`Allow\` button in installation step 2?**
6088
+ - Please retry. This may be due to abnormal communication between the server and Slack causing authorization failure. Please return to the add data source page and try again.
6089
+ - If the error persists after retrying, please contact customer service.
6090
+ 4. **Error after clicking the \`Save\` button in installation step 3?**
6091
+ - Please retry. This may be due to abnormal communication between the Flashduty server and Slack when obtaining the permanent authorization code. Please return to the add data source page and try again.
6092
+ - If the error persists after retrying, please contact customer service.
6093
+ 5. **Slack App prompts \`not_authed\` error?**
6094
+ - Please retry, this may be a temporary issue with Slack service.
6095
+ - If the error persists after retrying, please contact customer service.
6096
+ 6. **Slack App prompts \`Operation timed out\` error?**
6097
+ - Please retry. This may be due to communication timeout between the server and Slack.
6098
+ - If the error persists after retrying, please contact customer service.
6099
+ 7. **Slack App prompts \`This app responded with Status Code 500\` error?**
6100
+ - Please retry. This may be an error on the Flashduty server side (for example, the data source is closed).
6101
+ - If the error persists after retrying, please contact customer service.
6102
+ 8. **Slack App prompts other unknown errors?**
6103
+ - Please retry.
6104
+ - If the error persists after retrying, please contact customer service to record and resolve new issues.
6105
+ 9. **Why is the war room feature not working as expected?**
6106
+ - For previously authorized Slack IM integrations, you need to manually reauthorize Slack in the Flashduty integration configuration page to grant the application the additional permissions required for the war room feature.
6107
+ - Please refer to the **FAQ** section of the Flashduty [War Room Introduction](https://docs.flashcat.cloud/en/flashduty/war-room?nav=01JCQ7A4N4WRWNXW8EWEHXCMF5).`,ae=`---
6108
+ title: "Microsoft Teams Integration"
6109
+ description: "By integrating the Microsoft Teams third-party application, you can receive and respond to alerts within Microsoft Teams."
6110
+ date: "2025-05-19T10:00:00+08:00"
6111
+ url: "https://docs.flashcat.cloud/en/flashduty/microsoft-teams-integration-guide?nav=01JCQ7A4N4WRWNXW8EWEHXCMF5"
6112
+ ---
6113
+ By integrating the Microsoft Teams third-party application, you can receive and respond to alerts within Microsoft Teams.
5958
6114
 
5959
- ![](https://flashduty-docs.oss-cn-beijing.aliyuncs.com/imges/png/find-bot.png)
6115
+ ## 1. Install and update application
6116
+ ---
6117
+
6118
+ The Microsoft Teams integration is currently in Beta. You need to complete the following operations before linking.
5960
6119
 
5961
- ### 3. Update Application
5962
6120
  ::: caution
5963
- If you have installed an application version lower than 1.0.3, please follow the steps below to update
6121
+ This step needs to be completed by a Microsoft Teams administrator.
5964
6122
  :::
5965
6123
 
5966
- Go to [Microsoft Teams Admin Center](https://admin.teams.microsoft.com/policies/manage-apps), find and enter the FlashDuty application details page
5967
-
5968
- ![update-bot-1](https://flashduty-docs.oss-cn-beijing.aliyuncs.com/imges/png/update-bot-1.png)
5969
-
5970
- Upload the new version FlashdutyBot.zip
6124
+ ### 1. Download application
6125
+ Download [FlashDutyBot-v1.0.3.zip](https://flashduty-docs.oss-cn-beijing.aliyuncs.com/docs/FlashdutyBot-v1.0.3.zip) to your local device.
5971
6126
 
5972
- ![update-bot-2](https://flashduty-docs.oss-cn-beijing.aliyuncs.com/imges/png/update-bot-2.png)
6127
+ ### 2. Install application
6128
+ In Microsoft Teams, navigate to +Apps → Manage your apps → Upload an app → **Upload an app to your org's app catalog**, then upload the application package \`FlashDutyBot.zip\`.
5973
6129
 
5974
- Wait for the application version to update in the client (may take several tens of minutes)
6130
+ ![2025-09-18-13-48-04](https://docs-cdn.flashcat.cloud/images/png/bfa4afaf489c3582e858cad99eb76ae5.png)
5975
6131
 
5976
- ![update-bot-3](https://flashduty-docs.oss-cn-beijing.aliyuncs.com/imges/png/update-bot-3.png)
6132
+ #### Configure application visibility
6133
+ Go to [Microsoft Teams Admin Center](https://admin.teams.microsoft.com/policies/manage-apps), find the Flashduty application, and adjust the application visibility to everyone or your specified scope.
5977
6134
 
5978
- ## II. Associate Teams
6135
+ ::: tip
6136
+ If the application status is "Blocked", please wait a moment and refresh the page or manually modify it.
6137
+ :::
6138
+ ![2025-09-18-13-49-11](https://docs-cdn.flashcat.cloud/images/png/ea961e7965a2d0c69f8575c4252fb333.png)
5979
6139
 
5980
- ### 1. Add FlashDuty Application to Target Team
5981
6140
 
5982
- #### 1.1 Find the FlashDuty Application
5983
- If there is no application, please contact your Microsoft Teams organization administrator
6141
+ #### Check if successfully added
6142
+ After waiting a few minutes, organization members can find this application in +Apps → **Built for your org**.
5984
6143
 
5985
- ![link-bot](https://flashduty-docs.oss-cn-beijing.aliyuncs.com/imges/png/link-bot-1.png)
6144
+ ![2025-09-18-13-49-58](https://docs-cdn.flashcat.cloud/images/png/199728ab0b1f9f24db80da0b3ecc8cd2.png)
5986
6145
 
5987
- #### 1.2 Add to Target Team
6146
+ ### 3. Update application
5988
6147
  ::: caution
5989
- Note: This step must select the General Channel of the target Team, otherwise incidents cannot be sent to the Team
6148
+ If your installed application version is lower than 1.0.3, please follow this process to update.
5990
6149
  :::
5991
6150
 
5992
- ![link-bot-team-1](https://flashduty-docs.oss-cn-beijing.aliyuncs.com/imges/png/link-bot-team-1.png)
6151
+ 1. Go to [Microsoft Teams Admin Center](https://admin.teams.microsoft.com/policies/manage-apps), find and enter the Flashduty application details page.
6152
+ ![2025-09-18-13-50-41](https://docs-cdn.flashcat.cloud/images/png/32a62878f9e765cd8b2eb79ceb00bb02.png)
5993
6153
 
5994
- ### 2. Send Association Command
5995
- @FlashDuty and send linkTeam {ID} to the added Team, then click Associate Now
6154
+ 2. Upload the new version \`FlashdutyBot.zip\`.
6155
+ ![2025-09-18-13-51-56](https://docs-cdn.flashcat.cloud/images/png/f18ac3504516750c31f8357e65f6d680.png)
5996
6156
 
5997
- ![link-bot-team-2](https://flashduty-docs.oss-cn-beijing.aliyuncs.com/imges/png/link-bot-team-2.png)
6157
+ 3. Wait for the application version to update in the client (may take tens of minutes).
6158
+ ![2025-09-18-13-52-56](https://docs-cdn.flashcat.cloud/images/png/290f609c30055031ab0ccf6636cdbb01.png)
5998
6159
 
5999
- ## III. Associate Chats
6160
+ ## 2. Link Team
6161
+ ---
6162
+ ### 1. Add Flashduty application
6163
+ 1. Find the Flashduty application in the app marketplace.
6164
+ > If there is no application, please contact your Microsoft Teams organization administrator.
6000
6165
 
6001
- ### 1. Add FlashDuty Application to Target Chat
6166
+ ![2025-09-18-13-53-57](https://docs-cdn.flashcat.cloud/images/png/8942fdf4327c96abcf31f4a9b7bf12d2.png)
6002
6167
 
6003
- #### 1.1 Find the FlashDuty Application
6004
- If there is no application, please contact your Microsoft Teams organization administrator
6168
+ 2. Add the application to the target Team.
6169
+ ::: caution
6170
+ This step must select the General Channel of the target Team, otherwise incidents cannot be sent to the Team.
6171
+ :::
6005
6172
 
6006
- ![link-bot](https://flashduty-docs.oss-cn-beijing.aliyuncs.com/imges/png/link-bot-1.png)
6173
+ ![2025-09-18-13-54-41](https://docs-cdn.flashcat.cloud/images/png/8618dfd0f89507a6424e40d898d66fbd.png)
6007
6174
 
6008
- #### 1.2 Add to Target Chat
6175
+ ### 2. Send link command
6176
+ In the Team, @Flashduty and send the command \`linkTeam {ID}\`, then click **Link Now**.
6009
6177
 
6010
- ![link-bot-chat-1](https://flashduty-docs.oss-cn-beijing.aliyuncs.com/imges/png/link-bot-chat-1.png)
6178
+ ![2025-09-18-13-55-05](https://docs-cdn.flashcat.cloud/images/png/3192b5481b0595fcb58e5cc43abad125.png)
6011
6179
 
6012
- ### 2. Send Association Command
6013
- @FlashDuty and send linkChat {ID} {ChatName} to the added Team, then click Associate Now
6180
+ ## 3. Link Chat
6181
+ ---
6182
+ ### 1. Add Flashduty application
6183
+ 1. Find the Flashduty application in the app marketplace.
6184
+ > If there is no application, please contact your Microsoft Teams organization administrator.
6014
6185
 
6015
- ![link-bot-chat-2](https://flashduty-docs.oss-cn-beijing.aliyuncs.com/imges/png/link-bot-chat-2.png)
6186
+ ![2025-09-18-13-53-57](https://docs-cdn.flashcat.cloud/images/png/8942fdf4327c96abcf31f4a9b7bf12d2.png)
6016
6187
 
6017
- ## IV. Associate Users
6188
+ 2. Add the application to the target Chat.
6018
6189
 
6019
- ### 1. Add FlashDuty Application
6190
+ ![2025-09-18-13-56-17](https://docs-cdn.flashcat.cloud/images/png/d0beee141db63714ccecb095affee79b.png)
6020
6191
 
6021
- #### 1.1 Find the FlashDuty Application
6022
- If there is no application, please contact your Microsoft Teams organization administrator
6192
+ ### 2. Send link command
6193
+ In the Chat, @Flashduty and send the command \`linkChat {ID} {ChatName}\`, then click **Link Now**.
6023
6194
 
6024
- ![link-bot](https://flashduty-docs.oss-cn-beijing.aliyuncs.com/imges/png/link-bot-1.png)
6195
+ ![2025-09-18-13-56-17](https://docs-cdn.flashcat.cloud/images/png/d0beee141db63714ccecb095affee79b.png)
6025
6196
 
6026
- #### 1.2 Click to Open Application
6027
- ![link-bot-user-1](https://flashduty-docs.oss-cn-beijing.aliyuncs.com/imges/png/link-bot-user-1.png)
6197
+ ## 4. Link user
6198
+ ---
6199
+ ### 1. Add Flashduty application
6200
+ 1. Find the Flashduty application in the app marketplace.
6201
+ > If there is no application, please contact your Microsoft Teams organization administrator.
6028
6202
 
6029
- ### 2. Send Association Command
6030
- Copy the command: linkUser {} and send it to the chat, then click Associate Now
6203
+ ![2025-09-18-13-53-57](https://docs-cdn.flashcat.cloud/images/png/8942fdf4327c96abcf31f4a9b7bf12d2.png)
6031
6204
 
6032
- ![link-bot-user-2](https://flashduty-docs.oss-cn-beijing.aliyuncs.com/imges/png/link-bot-user-2.png)
6205
+ 2. Click **Open Application**.
6033
6206
 
6034
- ## Common Issues
6035
- <details>
6036
- <summary>Team or individual not receiving messages</summary>
6037
- Please check if the teams and users are successfully associated in Integration Center => Instant Messaging => Microsoft Teams
6038
- </details>
6207
+ ![2025-09-18-13-56-55](https://docs-cdn.flashcat.cloud/images/png/2e6862103d718a913d2b3c449cbf2366.png)
6039
6208
 
6040
- <details>
6041
- <summary>How to view associated teams and users</summary>
6042
- Please check in Integration Center => Instant Messaging => Microsoft Teams under Associated Teams and Associated Users
6043
- </details>
6209
+ ### 2. Send link command
6210
+ Copy and send the command \`linkUser {}\` to the chat, then click **Link Now**.
6044
6211
 
6045
- <details>
6046
- <summary>How to cancel associated teams and users</summary>
6047
- Currently not supported
6048
- </details>
6212
+ ![2025-09-18-13-57-13](https://docs-cdn.flashcat.cloud/images/png/671ae7883bbba839419e539762db99de.png)
6049
6213
 
6050
- `,ae=`Configure alert webhooks to receive HTTP callbacks at your specified URL when alerts have specific actions (such as triggering or closing). The callback content includes the latest key information about the alert, allowing integration with your custom tools.
6214
+ ## 5. FAQ
6215
+ ---
6216
+
6217
+ 1. **Team or individual cannot receive messages?**
6218
+ - Please go to Integration Center → IM → **Microsoft Teams** to check if teams and users have been successfully linked.
6219
+ 2. **How to view linked teams and users?**
6220
+ - Please go to Integration Center → IM → **Microsoft Teams** to view in **Linked Teams** and **Linked Users**.
6221
+ 3. **How to cancel linked teams and users?**
6222
+ - This feature is not currently supported.`,oe=`Configure alert webhooks to receive HTTP callbacks at your specified URL when alerts have specific actions (such as triggering or closing). The callback content includes the latest key information about the alert, allowing integration with your custom tools.
6051
6223
 
6052
6224
  <span id="EventTypes"></span>
6053
6225
 
@@ -6422,7 +6594,7 @@ curl -X POST 'https://example.com/incident/webhook?a=a' \\
6422
6594
 
6423
6595
  4. **Trusted IP whitelist for push sources?**
6424
6596
  - {ip_whitelist}
6425
- - May be updated in the future, please check periodically`,oe=`Custom incident actions allow you to quickly invoke external interfaces during incident troubleshooting for incident self-healing, information enrichment, and other custom operations.
6597
+ - May be updated in the future, please check periodically`,se=`Custom incident actions allow you to quickly invoke external interfaces during incident troubleshooting for incident self-healing, information enrichment, and other custom operations.
6426
6598
 
6427
6599
  ## I. Creating Actions
6428
6600
 
@@ -6669,7 +6841,7 @@ When an incident occurs and is confirmed to be caused by a change, directly trig
6669
6841
 
6670
6842
  ### Update Status Page
6671
6843
 
6672
- When an incident is confirmed to affect online services, trigger external status page updates to prompt`,se=`---
6844
+ When an incident is confirmed to affect online services, trigger external status page updates to prompt`,re=`---
6673
6845
  title: "Jira Sync"
6674
6846
  description: "Sync incidents with Jira issues through Jira Sync Webhook."
6675
6847
  date: "2025-05-19T10:00:00+08:00"
@@ -6751,7 +6923,7 @@ In the Integration Center, select **Webhook**, choose **Jira Sync** integration,
6751
6923
 
6752
6924
  - Flashduty syncs information according to default field mappings and your custom field configurations. If your Jira issue type has required fields without mapping relationships, Jira issue creation may fail.
6753
6925
  - Jira issue details are accessed using project KEY + number format. If you modify the project KEY, saved issue URLs in Flashduty may become inaccessible, so please modify project KEYs with caution.
6754
- `,re=`---
6926
+ `,le=`---
6755
6927
  title: "ServiceNow Sync"
6756
6928
  description: "Sync incidents with ServiceNow Incidents through ServiceNow sync webhook."
6757
6929
  date: "2025-05-19T10:00:00+08:00"
@@ -6778,7 +6950,7 @@ The user used to access ServiceNow needs to have administrator roles.
6778
6950
 
6779
6951
  1. On the user list page, find the newly created \`flashduty\` user and go to the configuration page.
6780
6952
  2. In the edit page, click \`Set Password\` to set a password.
6781
- 3. Click \`Roles\` to add **admin and itil** roles.
6953
+ 3. Click \`Roles\` to add **personalize_dictionary and itil** roles (If custom field mapping configuration is not required, the personalize_dictionary permission does not need to be retained).
6782
6954
  4. Click \`Update\` to update the configuration.
6783
6955
 
6784
6956
  <img alt="drawing" width="600" src="https://download.flashcat.cloud/flashduty/doc/snow/snow-2.png" />
@@ -7035,7 +7207,7 @@ Only when ServiceNow's Urgency value changes will it affect Flashduty's Severity
7035
7207
  | Low | Info | |
7036
7208
  | Medium | Warning | |
7037
7209
  | High | Critical | |
7038
- `,le=`---
7210
+ `,de=`---
7039
7211
  title: "Configure Notification Templates"
7040
7212
  description: "Customize notification content through template configuration"
7041
7213
  date: "2024-05-10T10:00:00+08:00"
@@ -7284,7 +7456,36 @@ CloseTime | int64 | No | Close time, EndTime is alert recovery time, CloseTime i
7284
7456
  {{jsonGet .Labels.rule_note "#(userId==7777)#.instanceId" }}
7285
7457
 
7286
7458
  \`\`\`
7287
- 10. **如何使用逻辑与、或等条件进行内容显示判断?**
7459
+
7460
+ 10. **How to Retrieve the Image URL via the Src Attribute of [Image](#Image)**
7461
+ - The imageSrcToURL function can be implemented, accepting parameters: $root and Src
7462
+ - If Src is an image_key from the Image Upload API, it should be converted into a short-term accessible URL
7463
+ - If Src is an accessible http/https address, the address should be returned directly
7464
+ - Dingtalk/Slack Apps employ this method to render images
7465
+ \`\`\`go
7466
+ {{ $root := . }}
7467
+ {{ range $i, $v := .Images }}
7468
+ {{ $imageURL := imageSrcToURL $root $v.Src }}
7469
+ {{ if $imageURL }}![]({{$imageURL}}){{ end }}{{end}}
7470
+ \`\`\`
7471
+
7472
+ 11. **How to Convert and Upload Images to a Third-Party Notification Platform**
7473
+ - The transferImage function can be implemented, accepting parameters: $root and Src
7474
+ - Src can be an image_key from the Image Upload API or an accessible http/https image URL
7475
+ - Image size must not exceed 10 MB
7476
+ - Supported image formats include JPG, JPEG, PNG, WEBP, GIF, BMP, ICO, TIFF, HEIC
7477
+ - Requires enabling the application permission to access and upload image or file resources
7478
+ - Lark/Feishu Apps employ this method to render images
7479
+
7480
+ \`\`\`go
7481
+ {{ $root := . }}
7482
+ {{ range $i, $v := .Images }}
7483
+ {{ $transferURL := transferImage $root $v.Src }}
7484
+ {{ if $transferURL }}![]({{$transferURL}}){{ end }}
7485
+ {{ end }}
7486
+ \`\`\`
7487
+
7488
+ 12. **How to use logical AND, OR, and other conditions for conditional rendering/content display judgment?**
7288
7489
 
7289
7490
  \`\`\`
7290
7491
  # Supported functions
@@ -7317,7 +7518,7 @@ CloseTime | int64 | No | Close time, EndTime is alert recovery time, CloseTime i
7317
7518
 
7318
7519
  \`\`\`
7319
7520
 
7320
- 11. **How do I find more functions and their usage examples?**
7521
+ 13. **How do I find more functions and their usage examples?**
7321
7522
  - Function list: https://github.com/flashcatcloud/sprig/blob/master/functions.go#L97
7322
7523
  - Usage examples: Check corresponding _test.go files, e.g., date function test cases at https://github.com/flashcatcloud/sprig/blob/master/date_test.go
7323
7524
 
@@ -7330,10 +7531,15 @@ Below are specific instructions for each notification channel.
7330
7531
  You need to configure \`Integration Center-Instant Message-Feishu\` integration first to send message cards. If custom content is not set, the system default template will be used, rendering all label information:
7331
7532
 
7332
7533
  \`\`\`go
7333
- {{if .Description}}**description** :{{toHtml .Labels.body_text .Description}}{{end}}
7334
- {{if .Labels.resource}}**resource** : {{toHtml (joinAlertLabels . "resource" ", ")}}{{end}}
7534
+ {{if .Labels.body_text}}{{.Labels.body_text}}{{else if .Description}}{{.Description}}{{end}}
7535
+ {{if .Labels.resource}}**resource** : {{(joinAlertLabels . "resource" ", ")}}{{end}}
7335
7536
  {{range $k, $v := .Labels}}
7336
- {{if not (in $k "resource" "body_text")}}**{{$k}}** : {{toHtml $v}}{{end}}{{end}}
7537
+ {{if not (in $k "resource" "body_text" "body_text_with_table")}}**{{$k}}** : {{$v}}{{end}}{{end}}
7538
+ {{ $root := . }}
7539
+ {{ range $i, $v := .Images }}
7540
+ {{ $transferURL := transferImage $root $v.Src }}
7541
+ {{ if $transferURL }}![]({{$transferURL}}){{ end }}
7542
+ {{ end }}
7337
7543
  \`\`\`
7338
7544
 
7339
7545
  As shown below:
@@ -7380,6 +7586,10 @@ You need to configure \`Integration Center-Instant Message-Dingtalk\` integratio
7380
7586
  {{if .Labels.resource}}**resource** : {{toHtml (joinAlertLabels . "resource" ", ")}}{{end}}
7381
7587
  {{range $k, $v := .Labels}}
7382
7588
  {{if not (in $k "resource" "body_text")}}**{{$k}}** : {{toHtml $v}}{{end}}{{end}}
7589
+ {{ $root := . }}
7590
+ {{ range $i, $v := .Images }}
7591
+ {{ $imageURL := imageSrcToURL $root $v.Src }}
7592
+ {{ if $imageURL }}![]({{$imageURL}}){{ end }}{{ end }}
7383
7593
  \`\`\`
7384
7594
 
7385
7595
  As shown below:
@@ -7458,13 +7668,22 @@ As shown below:
7458
7668
 
7459
7669
  ## Slack App
7460
7670
  ---
7671
+
7461
7672
  You need to configure \`Integration Center-Instant Message-Slack\` integration first to send message cards. If custom content is not set, the system default template will be used, rendering only common label information:
7462
7673
 
7463
7674
  \`\`\`go
7464
- {{if .Description}}*description* :{{toHtml .Labels.body_text .Description}}{{end}}
7465
- {{if .Labels.resource}}*resource* : {{toHtml (joinAlertLabels . "resource" ", ")}}{{end}}
7675
+ {{if .Labels.body_text}}{{.Labels.body_text}}{{else if .Description}}{{.Description}}{{end}}
7676
+ {{if .Labels.resource}}*resource* : {{(joinAlertLabels . "resource" ", ")}}{{end}}
7466
7677
  {{range $k, $v := .Labels}}
7467
- {{if not (in $k "resource" "body_text")}}*{{$k}}* : {{toHtml $v}}{{end}}{{end}}
7678
+ {{if not (in $k "resource" "body_text" "body_text_with_table")}}*{{$k}}* : {{$v}}{{end}}{{end}}
7679
+ {{ $root := . }}
7680
+ {{ range $i, $v := .Images }}
7681
+ {{ $imageURL := imageSrcToURL $root $v.Src }}
7682
+ {{ if $imageURL }}
7683
+ ---
7684
+ ![{{$v.Alt}}]({{$imageURL}})
7685
+ {{ end }}
7686
+ {{ end }}
7468
7687
  \`\`\`
7469
7688
 
7470
7689
  As shown below:
@@ -7476,6 +7695,7 @@ If you want to display only key label information, you can refer to the code seg
7476
7695
  - We've listed some common labels, you can add or remove as needed
7477
7696
  - Messages can be around 15000 characters long, content beyond this will be truncated
7478
7697
  - In Slack app, the system will automatically remove empty rendered lines (due to non-existent labels), so you can configure freely
7698
+ - To display images, use three consecutive hyphens \`---\` to separate it from other content. The image syntax must begin with \`![\` format, as demonstrated in the ​​FAQ​​ section
7479
7699
 
7480
7700
  \`\`\`go
7481
7701
  {{if (index .Labels "resource")}}*resource*:{{toHtml (joinAlertLabels . "resource" ", ")}}{{end}}
@@ -8155,7 +8375,7 @@ As shown in the image below:
8155
8375
 
8156
8376
  <img src="https://download.flashcat.cloud/flashduty/changelog/20230720/email_render.png" alt="drawing" style="display: block; margin: 0 auto;" width="500"/>
8157
8377
 
8158
- </div>`,de=`---
8378
+ </div>`,ce=`---
8159
8379
  title: "Link Integration"
8160
8380
  description: "Through Link integration, you can quickly access external links by obtaining key parameters from incident attributes, labels, and other information"
8161
8381
  date: "2025-05-19T10:00:00+08:00"
@@ -8212,4 +8432,4 @@ https://cmdb.com/vm?sn=VM123456
8212
8432
  1. When referenced content does not exist, Link integration will still generate the corresponding link but will not be able to retrieve the value
8213
8433
  2. Each channel can bind up to three Link integrations
8214
8434
  3. Pay attention to reference syntax; improper variable reference formatting will result in failure to retrieve corresponding values
8215
- `,ce={CustomAlert:n,Email:t,N9e:a,Prometheus:i,Grafana:o,Zabbix:s,UptimeKuma:r,AliyunARMS:l,AliyunCmEvent:d,AliyunCm:c,AliyunSLS:e,AWSCW:e,AzureMonitor:u,BaiDuBCM:h,HuaWeiCES:g,InfluxDB:p,OpenFalcon:m,PagerDuty:f,TencentBK:y,TencentCLS:v,TencentCm:b,TencentEb:w,OceanBase:C,Graylog:k,Skywalking:I,Sentry:S,Jiankongbao:A,AWSEventBridge:x,Dynatrace:_,HuaweiyunLTS:L,GoogleCM:F,Zilliz:G,Splunk:R,AppDynamics:T,SolarWinds:U,VolcEngineMetric:D,VolcEngineEvent:E,VolcEngineTLS:N,OpManager:M,Meraki:P,StateCloud:W,Guance:q,CustomChange:J,Jira:Z,Lark:Q,Dingtalk:X,Wecom:ee,Slack:ne,MicrosoftTeams:te,AlertWebhook:ae,IncidentWebhook:ie,CustomAction:oe,Templates:le,HuaweiyunAPM:O,JiraSync:se,ZStack:j,Keep:H,ElastAlert2:Y,DingtalkAlert:$,FeishuAlert:V,VolcEngineDetect:B,Link:de,ServiceNowSync:re,Monit:z,Rum:K};module.exports=ce;
8435
+ `,he={CustomAlert:n,Email:t,N9e:a,Prometheus:o,Grafana:i,Zabbix:s,UptimeKuma:r,AliyunARMS:l,AliyunCmEvent:d,AliyunCm:c,AliyunSLS:e,AWSCW:e,AzureMonitor:h,BaiDuBCM:u,HuaWeiCES:g,InfluxDB:p,OpenFalcon:m,PagerDuty:f,TencentBK:y,TencentCLS:v,TencentCm:b,TencentEb:w,OceanBase:C,Graylog:k,Skywalking:I,Sentry:S,Jiankongbao:A,AWSEventBridge:F,Dynatrace:x,HuaweiyunLTS:_,GoogleCM:L,Zilliz:q,Splunk:R,AppDynamics:T,SolarWinds:U,VolcEngineMetric:D,VolcEngineEvent:E,VolcEngineTLS:N,OpManager:P,Meraki:M,StateCloud:W,Guance:G,CustomChange:Z,Jira:Q,Lark:X,Dingtalk:ee,Wecom:ne,Slack:te,MicrosoftTeams:ae,AlertWebhook:oe,IncidentWebhook:ie,CustomAction:se,Templates:de,HuaweiyunAPM:O,JiraSync:re,ZStack:$,Keep:j,ElastAlert2:H,DingtalkAlert:Y,FeishuAlert:B,VolcEngineDetect:z,Link:ce,ServiceNowSync:le,Monit:V,Rum:J,Cloudflare:K};module.exports=he;