flashduty-knowledge-base 1.3.3 → 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/README.md +21 -1
- package/dist/esm/en.js +515 -363
- package/dist/esm/zh.js +497 -327
- package/dist/iife/en.js +497 -345
- package/dist/iife/zh.js +478 -308
- package/package.json +1 -1
package/dist/esm/en.js
CHANGED
|
@@ -506,7 +506,7 @@ Nightingale/Flashcat to Flashduty alert severity mapping:
|
|
|
506
506
|
|
|
507
507
|
</details>
|
|
508
508
|
|
|
509
|
-
`,
|
|
509
|
+
`,o=`---
|
|
510
510
|
title: "Prometheus Integration Guide"
|
|
511
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."
|
|
512
512
|
date: "2025-05-19T10:00:00+08:00"
|
|
@@ -688,7 +688,7 @@ Prometheus to Flashduty severity mapping:
|
|
|
688
688
|
|
|
689
689
|
|
|
690
690
|
|
|
691
|
-
`,
|
|
691
|
+
`,i=`---
|
|
692
692
|
title: "Grafana Integration"
|
|
693
693
|
description: "Sync Grafana alert events to Flashduty via webhook to achieve automated alert noise reduction."
|
|
694
694
|
date: "2025-05-19T10:00:00+08:00"
|
|
@@ -1594,7 +1594,7 @@ Alibaba Cloud SLS monitoring to Flashduty alert severity mapping:
|
|
|
1594
1594
|
| 2 | Info | Info |
|
|
1595
1595
|
|
|
1596
1596
|
</div>
|
|
1597
|
-
`,
|
|
1597
|
+
`,h=`---
|
|
1598
1598
|
title: "AWS CloudWatch Integration"
|
|
1599
1599
|
description: "Sync AWS CloudWatch alert events to Flashduty via webhook to achieve automated alert noise reduction"
|
|
1600
1600
|
date: "2025-05-19T10:00:00+08:00"
|
|
@@ -1673,7 +1673,7 @@ Choose this method when you need to route alerts to different channels based on
|
|
|
1673
1673
|
All CloudWatch metric alarms correspond to Flashduty "warning" severity level alerts.
|
|
1674
1674
|
|
|
1675
1675
|
</div>
|
|
1676
|
-
`,
|
|
1676
|
+
`,u=`---
|
|
1677
1677
|
title: "Baidu Cloud BCM Integration"
|
|
1678
1678
|
description: "Sync Baidu Cloud BCM alerts to Flashduty via webhook for automated alert noise reduction"
|
|
1679
1679
|
date: "2025-05-19T10:00:00+08:00"
|
|
@@ -3164,7 +3164,7 @@ Choose this option when you need to route alerts to different channels based on
|
|
|
3164
3164
|
|2|Info|Info|
|
|
3165
3165
|
|
|
3166
3166
|
</div>
|
|
3167
|
-
`,
|
|
3167
|
+
`,F=`---
|
|
3168
3168
|
title: "AWS EventBridge Alert Events"
|
|
3169
3169
|
description: "Sync AWS EventBridge alert events to Flashduty via webhook for automated alert noise reduction"
|
|
3170
3170
|
date: "2024-08-20T10:00:00+08:00"
|
|
@@ -3266,7 +3266,7 @@ Choose this option when you need to route alerts to different channels based on
|
|
|
3266
3266
|
|
|
3267
3267
|
</div>
|
|
3268
3268
|
|
|
3269
|
-
`,
|
|
3269
|
+
`,x=`---
|
|
3270
3270
|
title: "Dynatrace Alert Events"
|
|
3271
3271
|
description: "Sync Dynatrace alert events to Flashduty via webhook to achieve automated alert noise reduction."
|
|
3272
3272
|
date: "2024-08-20T10:00:00+08:00"
|
|
@@ -3373,7 +3373,7 @@ Choose this option when you need to route alerts to different channels based on
|
|
|
3373
3373
|
|CUSTOM_ALERT|Info|info|
|
|
3374
3374
|
|
|
3375
3375
|
</div>
|
|
3376
|
-
`,
|
|
3376
|
+
`,_=`---
|
|
3377
3377
|
title: "Huawei Cloud LTS Alert Events"
|
|
3378
3378
|
description: "Sync Huawei Cloud Log Tank Service (LTS) alert events to Flashduty via webhook for automated alert noise reduction."
|
|
3379
3379
|
date: "2024-08-20T10:00:00+08:00"
|
|
@@ -3486,7 +3486,7 @@ Choose this option when you need to route alerts to different channels based on
|
|
|
3486
3486
|
|Info|Info|Info|
|
|
3487
3487
|
|
|
3488
3488
|
</div>
|
|
3489
|
-
`,
|
|
3489
|
+
`,L=`---
|
|
3490
3490
|
title: "Google Cloud Monitoring Alert Events"
|
|
3491
3491
|
description: "Sync Google Cloud Monitoring alert events to Flashduty via webhook for automated alert noise reduction"
|
|
3492
3492
|
date: "2024-07-05T10:00:00+08:00"
|
|
@@ -4228,7 +4228,7 @@ Choose this method when you need to route alerts to different channels based on
|
|
|
4228
4228
|
</div>
|
|
4229
4229
|
|
|
4230
4230
|
</div>
|
|
4231
|
-
`,
|
|
4231
|
+
`,P=`---
|
|
4232
4232
|
title: "OpManager Alert Events"
|
|
4233
4233
|
description: "Sync OpManager alert events to Flashduty via webhook for automated alert noise reduction"
|
|
4234
4234
|
date: "2024-07-05T10:00:00+08:00"
|
|
@@ -4362,7 +4362,7 @@ Choose this method when you need to route alerts to different channels based on
|
|
|
4362
4362
|
| Attention | Info | Info |
|
|
4363
4363
|
|
|
4364
4364
|
</div>
|
|
4365
|
-
`,
|
|
4365
|
+
`,M=`---
|
|
4366
4366
|
title: "Meraki Alert Events"
|
|
4367
4367
|
description: "Sync Meraki alert events to Flashduty via webhook for automated alert noise reduction"
|
|
4368
4368
|
date: "2024-07-05T10:00:00+08:00"
|
|
@@ -4521,7 +4521,7 @@ Choose this option when you need to route alerts to different channels based on
|
|
|
4521
4521
|
| North | Beijing2/Changchun/Harbin/North China/Inner Mongolia3/Qingdao/Shenyang3/Shijiazhuang/Taiyuan/Tianjin/Zhengzhou |
|
|
4522
4522
|
|
|
4523
4523
|
</div>
|
|
4524
|
-
`,
|
|
4524
|
+
`,G=`---
|
|
4525
4525
|
title: "Guance Alert Events"
|
|
4526
4526
|
description: "Sync Guance alert events to Flashduty via webhook for automated alert noise reduction"
|
|
4527
4527
|
date: "2024-07-05T10:00:00+08:00"
|
|
@@ -4606,7 +4606,7 @@ Choose this option when you need to route alerts to different channels based on
|
|
|
4606
4606
|
| Data Missing | Info | Info |
|
|
4607
4607
|
|
|
4608
4608
|
</div>
|
|
4609
|
-
`,
|
|
4609
|
+
`,q=`---
|
|
4610
4610
|
title: "Zilliz Alert Events"
|
|
4611
4611
|
description: "Sync Zilliz alert events to Flashduty via webhook for automated alert noise reduction"
|
|
4612
4612
|
date: "2024-07-05T10:00:00+08:00"
|
|
@@ -4785,7 +4785,7 @@ When you need to route alerts to different channels based on alert payload infor
|
|
|
4785
4785
|
|
|
4786
4786
|
</div>
|
|
4787
4787
|
|
|
4788
|
-
|
|
4788
|
+
`,$=`---
|
|
4789
4789
|
title: "zstack integration"
|
|
4790
4790
|
description: "Push ZStack alerts to Flashduty via webhook, to achieve automatic alert noise reduction."
|
|
4791
4791
|
date: "2024-07-05T10:00:00+08:00"
|
|
@@ -4873,7 +4873,7 @@ Choose this method when you need to route alerts to different channels based on
|
|
|
4873
4873
|
|
|
4874
4874
|
</div>
|
|
4875
4875
|
|
|
4876
|
-
`,
|
|
4876
|
+
`,j=`---
|
|
4877
4877
|
title: "Keep Alert Integration Guide"
|
|
4878
4878
|
description: "Push alert events to Flashduty through Keep's Provider to achieve automated alert noise reduction."
|
|
4879
4879
|
date: "2025-05-19T10:00:00+08:00"
|
|
@@ -4954,7 +4954,7 @@ Field|Required|Type|Definition
|
|
|
4954
4954
|
|
|
4955
4955
|
<img alt="drawing" width="600" src="https://download.flashcat.cloud/flashduty/doc/en/fd/keep-2.png" />
|
|
4956
4956
|
|
|
4957
|
-
`,
|
|
4957
|
+
`,H=`---
|
|
4958
4958
|
title: "ElastAlert2 Alert Integration Guide"
|
|
4959
4959
|
description: "Push alert events to Flashduty through ElastAlert2's Provider to achieve automated alert noise reduction."
|
|
4960
4960
|
date: "2025-05-19T10:00:00+08:00"
|
|
@@ -5075,7 +5075,7 @@ flashduty_env: "dev"
|
|
|
5075
5075
|
# ------- FlashDuty ----------------
|
|
5076
5076
|
\`\`\`
|
|
5077
5077
|
|
|
5078
|
-
5. Restart ElastAlert and wait for the alert to trigger
|
|
5078
|
+
5. Restart ElastAlert and wait for the alert to trigger.`,Y=`---
|
|
5079
5079
|
title: "Dingtalk Alert Integration"
|
|
5080
5080
|
description: "Generate a unique Dingtalk robot address in Flashduty, and synchronize the occurrence and recovery of alerts through Dingtalk"
|
|
5081
5081
|
date: "2025-05-19T10:00:00+08:00"
|
|
@@ -5157,7 +5157,7 @@ By default, the system always creates new alerts for each message, but you can s
|
|
|
5157
5157
|
---
|
|
5158
5158
|
|
|
5159
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
|
-
`,
|
|
5160
|
+
`,B=`---
|
|
5161
5161
|
title: "Feishu Alert Integration"
|
|
5162
5162
|
description: "Generate a unique Feishu robot address in Flashduty, and synchronize the occurrence and recovery of alerts through Feishu"
|
|
5163
5163
|
date: "2025-05-19T10:00:00+08:00"
|
|
@@ -5239,7 +5239,7 @@ By default, the system always creates new alerts for each message, but you can s
|
|
|
5239
5239
|
---
|
|
5240
5240
|
|
|
5241
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
|
-
`,
|
|
5242
|
+
`,z=`---
|
|
5243
5243
|
title: "Volcengine Cloud-Detect Alert Events"
|
|
5244
5244
|
description: "Sync Volcengine Cloud-Detect alert events to Flashduty via webhook for automated alert noise reduction"
|
|
5245
5245
|
date: "2024-07-05T10:00:00+08:00"
|
|
@@ -5321,7 +5321,7 @@ Choose this method when you need to route alerts to different channels based on
|
|
|
5321
5321
|
|
|
5322
5322
|
</div>
|
|
5323
5323
|
|
|
5324
|
-
`,
|
|
5324
|
+
`,V=`---
|
|
5325
5325
|
title: "Monit Alert Integration"
|
|
5326
5326
|
description: "Flashduty Monit alert integration, Monit service reports alerts through this integration"
|
|
5327
5327
|
date: "2025-05-19T10:00:00+08:00"
|
|
@@ -5341,7 +5341,7 @@ Go to the \`Monit\` - \`Alert Rules\` - \`Rule Details\` page to configure monit
|
|
|
5341
5341
|

|
|
5342
5342
|
|
|
5343
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.
|
|
5344
|
-
`,
|
|
5344
|
+
`,J=`---
|
|
5345
5345
|
title: "RUM Alert Integration"
|
|
5346
5346
|
description: "Flashduty RUM alert integration, RUM service reports alerts through this integration"
|
|
5347
5347
|
date: "2025-05-19T10:00:00+08:00"
|
|
@@ -5361,7 +5361,7 @@ Go to the \`RUM\` - \`Application Details\` - \`Alert Settings\` page to enable
|
|
|
5361
5361
|

|
|
5362
5362
|
|
|
5363
5363
|
For more information, please refer to [RUM Issue Alerting](https://docs.flashcat.cloud/en/flashduty/rum/issue-alerting?nav=01JCQ7A4N4WRWNXW8EWEHXCMF5).
|
|
5364
|
-
`,
|
|
5364
|
+
`,K=`---
|
|
5365
5365
|
title: "Cloudflare Alert Events"
|
|
5366
5366
|
description: "Sync Cloudflaret alert events to Flashduty via webhook for automated alert noise reduction"
|
|
5367
5367
|
date: "2024-07-05T10:00:00+08:00"
|
|
@@ -5564,558 +5564,662 @@ Please contact Flashduty if you wish to modify this mapping.
|
|
|
5564
5564
|
|
|
5565
5565
|
</div>
|
|
5566
5566
|
`,X=`---
|
|
5567
|
-
title:
|
|
5568
|
-
description:
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
Integrate with Feishu(Lark) custom application to receive and respond to alerts within Feishu/Lark.
|
|
5573
|
-
|
|
5574
|
-
<!--
|
|
5575
|
-
## Video Tutorial
|
|
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"
|
|
5576
5571
|
---
|
|
5577
|
-
|
|
5578
|
-
-->
|
|
5572
|
+
By integrating a custom Feishu/Lark application, you can receive and respond to alerts within Feishu/Lark.
|
|
5579
5573
|
|
|
5580
|
-
##
|
|
5574
|
+
## 1. Create Feishu/Lark application
|
|
5581
5575
|
---
|
|
5582
5576
|
|
|
5583
|
-
### 1. Create
|
|
5577
|
+
### 1. Create a custom application
|
|
5584
5578
|
|
|
5585
|
-
Visit [Feishu/Lark Developer Console](https://open.feishu.cn/app)
|
|
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.
|
|
5586
5580
|
|
|
5587
|
-
|
|
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).
|
|
5588
5582
|
|
|
5589
|
-
|
|
5583
|
+

|
|
5584
|
+
### 2. Copy credential information
|
|
5590
5585
|
|
|
5591
|
-
|
|
5586
|
+
Go to the **Credentials and Basic Information** page and copy the \`App ID\` and \`App Secret\` for later use.
|
|
5592
5587
|
|
|
5593
|
-
Go to the **Credentials & Basic Info** page, copy the \`App ID\` and \`App Secret\` for later use.
|
|
5594
5588
|
|
|
5595
|
-
|
|
5589
|
+

|
|
5596
5590
|
|
|
5597
|
-
### 3. Copy
|
|
5591
|
+
### 3. Copy the event callback Token information
|
|
5598
5592
|
|
|
5599
|
-
Go to
|
|
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.
|
|
5600
5594
|
|
|
5601
|
-
|
|
5595
|
+

|
|
5602
5596
|
|
|
5603
|
-
##
|
|
5597
|
+
## 2. Add Feishu/Lark integration
|
|
5604
5598
|
---
|
|
5605
5599
|
|
|
5606
|
-
Return to Flashduty **Integration Center** page, select
|
|
5607
|
-
|
|
5608
|
-
<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.
|
|
5609
5601
|
|
|
5610
|
-
After creation, you
|
|
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.
|
|
5611
5603
|
|
|
5612
|
-
|
|
5604
|
+

|
|
5613
5605
|
|
|
5614
|
-
##
|
|
5606
|
+
## 3. Configure Feishu/Lark application
|
|
5615
5607
|
---
|
|
5616
5608
|
|
|
5617
|
-
### 1. Enable and
|
|
5609
|
+
### 1. Enable and configure application capabilities
|
|
5618
5610
|
|
|
5619
|
-
1
|
|
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.
|
|
5620
5612
|
|
|
5621
|
-
|
|
5613
|
+

|
|
5622
5614
|
|
|
5623
|
-
2
|
|
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.
|
|
5624
5616
|
|
|
5625
|
-
|
|
5617
|
+
For details, see the Feishu/Lark development documentation [Configure application homepage address](https://open.feishu.cn/document/uYjL24iN/uMTMuMTMuMTM/development-guide/step1#8366b844).
|
|
5626
5618
|
|
|
5627
|
-
|
|
5619
|
+

|
|
5628
5620
|
|
|
5629
|
-
3
|
|
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:
|
|
5630
5622
|
|
|
5631
|
-
|
|
5632
|
-
|
|
5623
|
+
- \`im.message.receive_v1\`
|
|
5624
|
+
- \`im.chat.disbanded_v1\`
|
|
5633
5625
|
|
|
5634
|
-
|
|
5626
|
+

|
|
5635
5627
|
|
|
5636
|
-
|
|
5628
|
+
### 2. Add redirect URL to Feishu/Lark application
|
|
5637
5629
|
|
|
5638
|
-
|
|
5630
|
+
Go to the **Security Settings** page and configure the \`Redirect URL\` using the **Redirect URL** from the integration details.
|
|
5639
5631
|
|
|
5640
|
-
|
|
5632
|
+
For details, see the Feishu/Lark development documentation [Configure redirect URL](https://open.feishu.cn/document/uYjL24iN/uYjN3QjL2YzN04iN2cDN?lang=zh-CN#c863e533).
|
|
5641
5633
|
|
|
5642
|
-
|
|
5634
|
+

|
|
5643
5635
|
|
|
5644
|
-
|
|
5636
|
+
### 3. Apply for application permissions
|
|
5645
5637
|
|
|
5646
|
-
|
|
5638
|
+
Go to the **Permission Management** page and apply for the following permissions for the group application created in the previous steps:
|
|
5647
5639
|
|
|
5648
|
-
|
|
5649
|
-
|
|
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>
|
|
5650
5643
|
|
|
5651
|
-
|
|
5652
|
-
Note: **Available Range** needs special configuration, recommended for **All Employees**.
|
|
5644
|
+

|
|
5653
5645
|
|
|
5654
|
-
|
|
5646
|
+
## 4. Application release
|
|
5647
|
+
---
|
|
5655
5648
|
|
|
5656
|
-
|
|
5649
|
+
After completing all the above configurations, please release the application. It can be used after administrator approval.
|
|
5657
5650
|
|
|
5658
|
-
|
|
5651
|
+
For details, see the Feishu/Lark development documentation [Application release and usage](https://open.feishu.cn/document/uYjL24iN/uMTMuMTMuMTM/development-guide/step-4).
|
|
5659
5652
|
|
|
5660
|
-
|
|
5661
|
-
|
|
5653
|
+
> To ensure that everyone can use the application, adjust the application **visibility** to all employees before releasing the application.
|
|
5654
|
+
|
|
5655
|
+

|
|
5662
5656
|
|
|
5663
|
-
## V. Common Issues
|
|
5664
|
-
---
|
|
5665
5657
|
|
|
5666
|
-
|
|
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.
|
|
5667
5659
|
|
|
5668
|
-
|
|
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.
|
|
5669
5662
|
|
|
5670
|
-
|
|
5663
|
+

|
|
5671
5664
|
|
|
5672
|
-
|
|
5673
|
-
- Ensure sufficient licenses are purchased. You can check license usage in Console > Billing Center
|
|
5665
|
+
## 5. Configure war room
|
|
5674
5666
|
|
|
5675
|
-
|
|
5667
|
+
> Ensure the application has been authorized with the [additional permissions](#war-room-scope) required for the war room feature.
|
|
5676
5668
|
|
|
5677
|
-
|
|
5678
|
-
- 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.
|
|
5679
5670
|
|
|
5680
|
-
|
|
5681
|
-
|
|
5671
|
+
## 6. FAQ
|
|
5672
|
+
---
|
|
5682
5673
|
|
|
5683
|
-
|
|
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.
|
|
5684
5682
|
|
|
5685
|
-
|
|
5683
|
+

|
|
5686
5684
|
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|Basic Free Version|10,000 calls|1st of each month|
|
|
5690
|
-
|Other Versions|Unlimited|-|
|
|
5685
|
+
4. **Feishu/Lark custom application API limits?**
|
|
5686
|
+
- **Call volume limits:**
|
|
5691
5687
|
|
|
5692
|
-
|
|
5688
|
+
| **Feishu/Lark Version** | **Total Calls/Month** | **Refresh Time** |
|
|
5689
|
+
| :---: | :---: | :---: |
|
|
5690
|
+
| Basic Free | 10,000 | 1st of each month |
|
|
5691
|
+
| Other Versions | Unlimited | - |
|
|
5693
5692
|
|
|
5694
|
-
|
|
5695
|
-
| :----------: | :--: |
|
|
5696
|
-
|All APIs|Maximum 50 calls/second per application|
|
|
5697
|
-
|Message Sending API|Maximum 1000 calls/minute per application|
|
|
5698
|
-
|Group Bot Webhook|Maximum 100 calls/minute|
|
|
5699
|
-
|Sending messages to the same user or group|Maximum 5 calls/second|
|
|
5693
|
+
- **Rate limits:**
|
|
5700
5694
|
|
|
5701
|
-
|
|
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=`---
|
|
5702
5706
|
title: "Dingtalk Integration"
|
|
5703
|
-
description: "
|
|
5707
|
+
description: "By integrating a custom Dingtalk application, you can receive and respond to alerts within Dingtalk."
|
|
5704
5708
|
date: "2025-05-19T10:00:00+08:00"
|
|
5705
|
-
url: "https://docs.flashcat.cloud/en/flashduty/dingtalk-integration-guide"
|
|
5709
|
+
url: "https://docs.flashcat.cloud/en/flashduty/dingtalk-integration-guide?nav=01JCQ7A4N4WRWNXW8EWEHXCMF5"
|
|
5706
5710
|
---
|
|
5707
5711
|
|
|
5708
|
-
|
|
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
|
|
5709
5718
|
|
|
5710
|
-
**(This guide uses the new version of Dingtalk Open Platform as an example)**
|
|
5711
|
-
<!--
|
|
5712
|
-
## Video Tutorial
|
|
5713
|
-
---
|
|
5714
|
-
<Video src="https://download.flashcat.cloud/flashduty/video/dingding.mp4"></Video>
|
|
5715
|
-
-->
|
|
5716
|
-
## I. Create Dingtalk Application
|
|
5717
5719
|
---
|
|
5718
5720
|
|
|
5719
|
-
### 1. Create Custom Application
|
|
5721
|
+
### 1. Create a Custom Application
|
|
5722
|
+
|
|
5723
|
+
Visit the [Dingtalk Developer Console](https://open-dev.dingtalk.com/fe/app) → Application Development → **Internal Enterprise Development** to create an application.
|
|
5724
|
+
|
|
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).
|
|
5720
5726
|
|
|
5721
|
-
|
|
5727
|
+

|
|
5722
5728
|
|
|
5723
|
-
|
|
5729
|
+
You can use the [Flashduty official icon](https://download.flashcat.cloud/flashcat_logo_circular.png) for the application icon.
|
|
5724
5730
|
|
|
5725
|
-
|
|
5731
|
+
### 2. Copy the Enterprise \`CorpId\`
|
|
5726
5732
|
|
|
5727
|
-
|
|
5733
|
+
Click on the enterprise avatar in the top right corner of the page and copy the \`CorpId\` from the dropdown menu.
|
|
5728
5734
|
|
|
5729
|
-
|
|
5735
|
+

|
|
5730
5736
|
|
|
5731
|
-
|
|
5737
|
+
Return to the Flashduty integration configuration page and fill in the corresponding \`CorpId\` in the form.
|
|
5732
5738
|
|
|
5733
|
-
### 3. Copy Application
|
|
5739
|
+
### 3. Copy Application Credential Information
|
|
5734
5740
|
|
|
5735
|
-
|
|
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\`.
|
|
5736
5742
|
|
|
5737
|
-
|
|
5743
|
+

|
|
5744
|
+
|
|
5745
|
+
Return to the Flashduty integration configuration page and fill in the corresponding \`AgentId\`, \`Client ID\`, and \`Client Secret\` in the form.
|
|
5738
5746
|
|
|
5739
5747
|
### 4. Copy Event Subscription Information
|
|
5740
5748
|
|
|
5741
|
-
Go to
|
|
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.
|
|
5742
5750
|
|
|
5743
|
-
|
|
5751
|
+

|
|
5744
5752
|
|
|
5745
|
-
|
|
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.
|
|
5746
5754
|
|
|
5747
|
-
|
|
5755
|
+
### 5. Configure Event Subscription
|
|
5748
5756
|
|
|
5749
|
-
|
|
5750
|
-
---
|
|
5757
|
+
Go to the Development Configuration → **Event Subscription** page.
|
|
5751
5758
|
|
|
5752
|
-
|
|
5759
|
+
Configure the **Event Subscription Request URL** using the \`Event Subscription Request URL\` from the Flashduty integration details. **Save** after configuration.
|
|
5753
5760
|
|
|
5754
|
-
|
|
5761
|
+

|
|
5755
5762
|
|
|
5756
|
-
|
|
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.
|
|
5757
5764
|
|
|
5758
|
-
|
|
5765
|
+

|
|
5759
5766
|
|
|
5760
|
-
|
|
5761
|
-
---
|
|
5767
|
+
### 6. Add Application Capabilities
|
|
5762
5768
|
|
|
5763
|
-
|
|
5764
|
-
<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**.
|
|
5765
5770
|
|
|
5766
|
-
|
|
5771
|
+
Enter the **Edit Cool App** page and complete the following steps:
|
|
5767
5772
|
|
|
5768
|
-
|
|
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.
|
|
5769
5774
|
|
|
5770
|
-
|
|
5775
|
+

|
|
5771
5776
|
|
|
5772
|
-
2.
|
|
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.
|
|
5773
5778
|
|
|
5774
|
-
|
|
5779
|
+

|
|
5775
5780
|
|
|
5776
|
-
|
|
5781
|
+
3. Skip the third step of functional development, proceed to the fourth step **Preview & Release**, click the **Release** button and confirm.
|
|
5777
5782
|
|
|
5778
|
-
|
|
5783
|
+
### 7. Configure Bot and Message Push
|
|
5779
5784
|
|
|
5780
|
-
|
|
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.
|
|
5781
5786
|
|
|
5782
|
-
|
|
5787
|
+

|
|
5783
5788
|
|
|
5784
|
-
|
|
5789
|
+
### 8. Configure Application URLs
|
|
5785
5790
|
|
|
5786
|
-
|
|
5791
|
+
Go to the Application Capability → **Web Application** page.
|
|
5787
5792
|
|
|
5788
|
-
|
|
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.
|
|
5789
5794
|
|
|
5790
|
-
|
|
5795
|
+

|
|
5791
5796
|
|
|
5792
|
-
|
|
5797
|
+
### 9. Apply for Application Permissions
|
|
5793
5798
|
|
|
5794
|
-
|
|
5799
|
+
Go to the Development Configuration → **Permissions** page and apply for the following permissions for the group application created in the previous steps:
|
|
5795
5800
|
|
|
5796
|
-
|
|
5801
|
+
- \`qyapi_chat_manage\`: Get group chat information
|
|
5802
|
+
- \`qyapi_robot_sendmsg\`: Send messages to group chats or individuals
|
|
5797
5803
|
|
|
5798
|
-
|
|
5804
|
+

|
|
5799
5805
|
|
|
5800
|
-
|
|
5806
|
+
## II. Configure War Room
|
|
5801
5807
|
|
|
5802
|
-
|
|
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).
|
|
5803
5809
|
|
|
5804
|
-
|
|
5810
|
+
<span id="war-room-scope"></span>
|
|
5805
5811
|
|
|
5806
|
-
|
|
5812
|
+
### 1. Apply for Application Permissions
|
|
5807
5813
|
|
|
5808
|
-
|
|
5814
|
+
Go to the Development Configuration → **Permissions** page and apply for the following permissions for the group application created in the previous steps:
|
|
5809
5815
|
|
|
5810
|
-
|
|
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
|
|
5811
5819
|
|
|
5812
|
-
|
|
5820
|
+

|
|
5813
5821
|
|
|
5814
|
-
|
|
5815
|
-
|
|
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.
|
|
5846
|
+
|
|
5847
|
+

|
|
5848
|
+
|
|
5849
|
+
2. Configure **Group Template**. Select **Group Template** from the left menu bar, and click **Create group template**.
|
|
5850
|
+
|
|
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.
|
|
5852
|
+
|
|
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.
|
|
5816
5854
|
|
|
5817
|
-
|
|
5855
|
+
**Example Configuration**:
|
|
5818
5856
|
|
|
5819
|
-
|
|
5820
|
-
|
|
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) |
|
|
5821
5865
|
|
|
5822
|
-
|
|
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**.
|
|
5823
5867
|
|
|
5824
|
-
|
|
5825
|
-
|
|
5868
|
+

|
|
5869
|
+

|
|
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
|
+

|
|
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
|
|
5826
5884
|
|
|
5827
|
-
## V. Common Issues
|
|
5828
5885
|
---
|
|
5829
|
-
1. **Cannot deliver messages to individuals**, operation record shows \`Application Not Associated\`?
|
|
5830
5886
|
|
|
5831
|
-
|
|
5887
|
+
After completing the above steps, go to Application Release → **Version Management and Release**, create a new version, and publish it.
|
|
5832
5888
|
|
|
5833
|
-
|
|
5889
|
+
> To ensure that everyone can use the application, you need to adjust the **Visible Scope** of the application to all employees before publishing.
|
|
5834
5890
|
|
|
5835
|
-
|
|
5836
|
-
- Ensure you have purchased sufficient licenses. You can check license usage in Console > Billing Center
|
|
5891
|
+

|
|
5837
5892
|
|
|
5838
|
-
|
|
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.
|
|
5839
5894
|
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
- 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
|
|
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**.
|
|
5843
5897
|
|
|
5844
|
-
|
|
5898
|
+
## IV. FAQ
|
|
5899
|
+
|
|
5900
|
+
---
|
|
5845
5901
|
|
|
5846
|
-
|
|
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.
|
|
5847
5909
|
|
|
5848
|
-
|
|
5910
|
+

|
|
5911
|
+

|
|
5849
5912
|
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
|Standard|10,000|20|1st of each month|
|
|
5853
|
-
|Professional|500,000|40|1st of each month|
|
|
5854
|
-
|Enterprise|5,500,000|60|1st of each month|
|
|
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.
|
|
5855
5915
|
|
|
5856
|
-
**
|
|
5857
|
-
|
|
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.
|
|
5919
|
+
|
|
5920
|
+
5. **Dingtalk Custom Application API Call Limits**
|
|
5921
|
+
|
|
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 |
|
|
5927
|
+
|
|
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=`---
|
|
5858
5929
|
title: "WeCom Integration"
|
|
5859
|
-
description: "
|
|
5930
|
+
description: "By integrating a WeCom application, you can receive and respond to alerts within WeCom."
|
|
5860
5931
|
date: "2025-05-19T10:00:00+08:00"
|
|
5861
|
-
url: "https://docs.flashcat.cloud/en/flashduty/wecom-integration-guide"
|
|
5932
|
+
url: "https://docs.flashcat.cloud/en/flashduty/wecom-integration-guide?nav=01JCQ7A4N4WRWNXW8EWEHXCMF5"
|
|
5862
5933
|
---
|
|
5863
5934
|
|
|
5864
|
-
|
|
5935
|
+
By integrating a WeCom application, you can receive and respond to alerts within WeCom.
|
|
5865
5936
|
|
|
5866
|
-
|
|
5867
|
-
## Video Guide
|
|
5868
|
-
---
|
|
5869
|
-
<Video src="https://download.flashcat.cloud/flashduty/video/wechat.mp4"></Video>
|
|
5870
|
-
-->
|
|
5937
|
+
This document supports both [integrating third-party applications](#third-party) and [integrating custom enterprise applications](#self).
|
|
5871
5938
|
|
|
5872
|
-
## I. Install the Application
|
|
5873
|
-
---
|
|
5874
5939
|
|
|
5875
|
-
|
|
5940
|
+
> You only need to configure one of the two methods: **Integrate third-party application** or **Integrate custom application**.
|
|
5876
5941
|
|
|
5877
|
-
<
|
|
5942
|
+
<span id="third-party"></span>
|
|
5878
5943
|
|
|
5879
|
-
|
|
5944
|
+
## 1. Integrate third-party application
|
|
5880
5945
|
|
|
5881
|
-
|
|
5946
|
+
---
|
|
5882
5947
|
|
|
5883
|
-
|
|
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.
|
|
5884
5951
|
|
|
5885
|
-
|
|
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**.
|
|
5886
5953
|
|
|
5887
|
-
|
|
5954
|
+

|
|
5888
5955
|
|
|
5889
|
-
|
|
5956
|
+
2. Enter \`Flashduty\` in the search bar, and click the **Add** button after finding the application.
|
|
5890
5957
|
|
|
5891
|
-
|
|
5958
|
+

|
|
5892
5959
|
|
|
5893
|
-
|
|
5894
|
-
---
|
|
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.
|
|
5895
5961
|
|
|
5896
|
-
|
|
5962
|
+

|
|
5897
5963
|
|
|
5898
|
-
|
|
5899
|
-
- 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\`.
|
|
5900
5965
|
|
|
5901
|
-
|
|
5966
|
+

|
|
5902
5967
|
|
|
5903
|
-
|
|
5904
|
-
- First-time access requires login, choose member account - password or SSO, successful login completes account linking between \`Flashduty\` and \`WeCom\`
|
|
5905
|
-
- 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.
|
|
5906
5969
|
|
|
5907
|
-
|
|
5970
|
+
<span id="self"></span>
|
|
5908
5971
|
|
|
5909
|
-
|
|
5910
|
-
- Go to channel details page - escalation rule, select WeCom integration in personal channels to complete notification setup
|
|
5911
|
-
- 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
|
|
5912
5973
|
|
|
5913
|
-
|
|
5974
|
+
---
|
|
5914
5975
|
|
|
5915
|
-
|
|
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**.
|
|
5916
5977
|
|
|
5917
|
-
-
|
|
5918
|
-
- Click \`Start Processing\` to set alert status to \`In Progress\`
|
|
5919
|
-
- Click \`Close Directly\` to set alert status to \`Closed\`
|
|
5920
|
-
- Click \`Snooze 2h\` to snooze the alert for 2 hours, click \`...\` in top-right corner for more snooze options
|
|
5978
|
+

|
|
5921
5979
|
|
|
5922
|
-
|
|
5980
|
+
2. Configure **Application Logo**, **Application Name**, and **Application Visibility Range**.
|
|
5923
5981
|
|
|
5924
|
-
-
|
|
5925
|
-
- Flashduty requests card content updates when alert status changes
|
|
5926
|
-
- When alert status changes frequently, updates might fail due to update limit, use refresh button for one additional update opportunity
|
|
5982
|
+

|
|
5927
5983
|
|
|
5928
|
-
|
|
5984
|
+
3. Return to the Flashduty integration configuration page and select whether WeCom is a \`non-private deployment version\` based on your actual situation.
|
|
5929
5985
|
|
|
5930
|
-
|
|
5931
|
-
- 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.
|
|
5932
5987
|
|
|
5933
|
-
|
|
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.
|
|
5934
5989
|
|
|
5935
|
-
|
|
5936
|
-
`,te=`---
|
|
5937
|
-
title: "Slack Integration"
|
|
5938
|
-
description: "Integrate with Slack to receive and respond to alerts within Slack"
|
|
5939
|
-
date: "2025-05-19T10:00:00+08:00"
|
|
5940
|
-
url: "https://docs.flashcat.cloud/en/flashduty/slack-integration-guide"
|
|
5941
|
-
---
|
|
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.
|
|
5942
5991
|
|
|
5943
|
-
|
|
5992
|
+
6. On the application details page, obtain the \`Secret\` and fill it in the Flashduty integration configuration page.
|
|
5944
5993
|
|
|
5945
|
-
|
|
5946
|
-
---
|
|
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.
|
|
5947
5995
|
|
|
5948
|
-
|
|
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).
|
|
5949
5999
|
|
|
5950
|
-
|
|
6000
|
+

|
|
5951
6001
|
|
|
5952
|
-
|
|
6002
|
+
Return to the Flashduty integration configuration page, fill in this domain, and complete the verification.
|
|
5953
6003
|
|
|
5954
|
-
|
|
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.
|
|
5955
6005
|
|
|
6006
|
+

|
|
5956
6007
|
|
|
5957
|
-
|
|
5958
|
-
---
|
|
6008
|
+
Return to the Flashduty integration configuration page, fill in the saved \`Token\` and \`EncodingAESKey\`, and click **Save** to complete the integration.
|
|
5959
6009
|
|
|
5960
|
-
|
|
5961
|
-
- Adding the app to a channel requires Step 1 \`Install App\` to complete without errors
|
|
5962
|
-
- 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**.
|
|
5963
6011
|
|
|
5964
|
-
|
|
5965
|
-
- Add the app authorizer to the public channel
|
|
5966
|
-
- Or follow \`Common Issue 1\` to add the app to the channel
|
|
6012
|
+

|
|
5967
6013
|
|
|
5968
|
-
3.
|
|
5969
|
-
- Try again, as there might be communication issues between the server and Slack causing authorization problems. Return to the add integration page and retry
|
|
5970
|
-
- If the error persists, contact customer support
|
|
6014
|
+
## 3. Configure war room
|
|
5971
6015
|
|
|
5972
|
-
|
|
5973
|
-
- 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
|
|
5974
|
-
- If the error persists, contact customer support
|
|
6016
|
+
---
|
|
5975
6017
|
|
|
5976
|
-
|
|
5977
|
-
- Try again, as there might be issues with Slack service
|
|
5978
|
-
- If the error persists, contact customer support
|
|
6018
|
+
> The war room feature is only supported when **custom enterprise application** mode is enabled.
|
|
5979
6019
|
|
|
5980
|
-
|
|
5981
|
-
- Try again, as there might be communication timeout issues between the server and Slack
|
|
5982
|
-
- 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.
|
|
5983
6021
|
|
|
5984
|
-
|
|
5985
|
-
- Try again, as there might be server errors, such as the integration being disabled
|
|
5986
|
-
- If the error persists, contact customer support
|
|
6022
|
+
## 4. FAQ
|
|
5987
6023
|
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
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
|
+

|
|
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."
|
|
5993
6056
|
date: "2025-05-19T10:00:00+08:00"
|
|
5994
|
-
url: "https://docs.flashcat.cloud/en/flashduty/
|
|
6057
|
+
url: "https://docs.flashcat.cloud/en/flashduty/slack-integration-guide?nav=01JCQ7A4N4WRWNXW8EWEHXCMF5"
|
|
5995
6058
|
---
|
|
5996
6059
|
|
|
5997
|
-
|
|
6060
|
+
By integrating the Slack third-party application, you can receive and respond to alerts within Slack.
|
|
5998
6061
|
|
|
5999
|
-
|
|
6000
|
-
---
|
|
6062
|
+
<span id="install-app"></span>
|
|
6001
6063
|
|
|
6002
|
-
|
|
6064
|
+
## 1. Install application
|
|
6003
6065
|
|
|
6004
|
-
|
|
6005
|
-
These steps must be completed by a Microsoft Teams administrator
|
|
6006
|
-
:::
|
|
6066
|
+
---
|
|
6007
6067
|
|
|
6008
|
-
|
|
6009
|
-
|
|
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
|
+

|
|
6071
|
+
3. Enter the data source name and click **Save**.
|
|
6010
6072
|
|
|
6011
|
-
|
|
6012
|
-
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
|
|
6013
6074
|
|
|
6014
|
-
|
|
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.
|
|
6015
6076
|
|
|
6016
|
-
|
|
6017
|
-
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
|
|
6018
6078
|
|
|
6019
|
-
|
|
6020
|
-
If the application status shows [Blocked], please wait a moment and refresh the page or modify it manually
|
|
6021
|
-
:::
|
|
6022
|
-

|
|
6079
|
+
---
|
|
6023
6080
|
|
|
6024
|
-
|
|
6025
|
-
|
|
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.
|
|
6026
6114
|
|
|
6027
|
-
|
|
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.
|
|
6028
6119
|
|
|
6029
|
-
### 3. Update Application
|
|
6030
6120
|
::: caution
|
|
6031
|
-
|
|
6121
|
+
This step needs to be completed by a Microsoft Teams administrator.
|
|
6032
6122
|
:::
|
|
6033
6123
|
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-

|
|
6037
|
-
|
|
6038
|
-
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.
|
|
6039
6126
|
|
|
6040
|
-
|
|
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\`.
|
|
6041
6129
|
|
|
6042
|
-
|
|
6130
|
+

|
|
6043
6131
|
|
|
6044
|
-
|
|
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.
|
|
6045
6134
|
|
|
6046
|
-
|
|
6135
|
+
::: tip
|
|
6136
|
+
If the application status is "Blocked", please wait a moment and refresh the page or manually modify it.
|
|
6137
|
+
:::
|
|
6138
|
+

|
|
6047
6139
|
|
|
6048
|
-
### 1. Add FlashDuty Application to Target Team
|
|
6049
6140
|
|
|
6050
|
-
####
|
|
6051
|
-
|
|
6141
|
+
#### Check if successfully added
|
|
6142
|
+
After waiting a few minutes, organization members can find this application in +Apps → **Built for your org**.
|
|
6052
6143
|
|
|
6053
|
-

|
|
6054
6145
|
|
|
6055
|
-
|
|
6146
|
+
### 3. Update application
|
|
6056
6147
|
::: caution
|
|
6057
|
-
|
|
6148
|
+
If your installed application version is lower than 1.0.3, please follow this process to update.
|
|
6058
6149
|
:::
|
|
6059
6150
|
|
|
6060
|
-
|
|
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
|
+

|
|
6061
6153
|
|
|
6062
|
-
|
|
6063
|
-
|
|
6154
|
+
2. Upload the new version \`FlashdutyBot.zip\`.
|
|
6155
|
+

|
|
6064
6156
|
|
|
6065
|
-
|
|
6157
|
+
3. Wait for the application version to update in the client (may take tens of minutes).
|
|
6158
|
+

|
|
6066
6159
|
|
|
6067
|
-
##
|
|
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.
|
|
6068
6165
|
|
|
6069
|
-
|
|
6166
|
+

|
|
6070
6167
|
|
|
6071
|
-
|
|
6072
|
-
|
|
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
|
+
:::
|
|
6073
6172
|
|
|
6074
|
-

|
|
6075
6174
|
|
|
6076
|
-
|
|
6175
|
+
### 2. Send link command
|
|
6176
|
+
In the Team, @Flashduty and send the command \`linkTeam {ID}\`, then click **Link Now**.
|
|
6077
6177
|
|
|
6078
|
-

|
|
6079
6179
|
|
|
6080
|
-
|
|
6081
|
-
|
|
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.
|
|
6082
6185
|
|
|
6083
|
-

|
|
6084
6187
|
|
|
6085
|
-
|
|
6188
|
+
2. Add the application to the target Chat.
|
|
6086
6189
|
|
|
6087
|
-
|
|
6190
|
+

|
|
6088
6191
|
|
|
6089
|
-
|
|
6090
|
-
|
|
6192
|
+
### 2. Send link command
|
|
6193
|
+
In the Chat, @Flashduty and send the command \`linkChat {ID} {ChatName}\`, then click **Link Now**.
|
|
6091
6194
|
|
|
6092
|
-

|
|
6093
6196
|
|
|
6094
|
-
|
|
6095
|
-
|
|
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.
|
|
6096
6202
|
|
|
6097
|
-
|
|
6098
|
-
Copy the command: linkUser {} and send it to the chat, then click Associate Now
|
|
6203
|
+

|
|
6099
6204
|
|
|
6100
|
-
|
|
6205
|
+
2. Click **Open Application**.
|
|
6101
6206
|
|
|
6102
|
-
|
|
6103
|
-
<details>
|
|
6104
|
-
<summary>Team or individual not receiving messages</summary>
|
|
6105
|
-
Please check if the teams and users are successfully associated in Integration Center => Instant Messaging => Microsoft Teams
|
|
6106
|
-
</details>
|
|
6207
|
+

|
|
6107
6208
|
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
Please check in Integration Center => Instant Messaging => Microsoft Teams under Associated Teams and Associated Users
|
|
6111
|
-
</details>
|
|
6209
|
+
### 2. Send link command
|
|
6210
|
+
Copy and send the command \`linkUser {}\` to the chat, then click **Link Now**.
|
|
6112
6211
|
|
|
6113
|
-
|
|
6114
|
-
<summary>How to cancel associated teams and users</summary>
|
|
6115
|
-
Currently not supported
|
|
6116
|
-
</details>
|
|
6212
|
+

|
|
6117
6213
|
|
|
6118
|
-
|
|
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.
|
|
6119
6223
|
|
|
6120
6224
|
<span id="EventTypes"></span>
|
|
6121
6225
|
|
|
@@ -6283,7 +6387,7 @@ curl -X POST 'https://example.com/alert/webhook?a=a' \\
|
|
|
6283
6387
|
4. **Trusted IP whitelist for push sources?**
|
|
6284
6388
|
- {ip_whitelist}
|
|
6285
6389
|
- May be updated in the future, please check periodically
|
|
6286
|
-
`,
|
|
6390
|
+
`,ie=`Configure incident webhooks to receive HTTP callbacks at your specified URL when incidents have specific actions (such as triggering or closing). The callback content includes the latest key information about the incident, allowing integration with your custom tools.
|
|
6287
6391
|
|
|
6288
6392
|
<span id="EventTypes"></span>
|
|
6289
6393
|
|
|
@@ -6846,7 +6950,7 @@ The user used to access ServiceNow needs to have administrator roles.
|
|
|
6846
6950
|
|
|
6847
6951
|
1. On the user list page, find the newly created \`flashduty\` user and go to the configuration page.
|
|
6848
6952
|
2. In the edit page, click \`Set Password\` to set a password.
|
|
6849
|
-
3. Click \`Roles\` to add **
|
|
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).
|
|
6850
6954
|
4. Click \`Update\` to update the configuration.
|
|
6851
6955
|
|
|
6852
6956
|
<img alt="drawing" width="600" src="https://download.flashcat.cloud/flashduty/doc/snow/snow-2.png" />
|
|
@@ -7352,7 +7456,36 @@ CloseTime | int64 | No | Close time, EndTime is alert recovery time, CloseTime i
|
|
|
7352
7456
|
{{jsonGet .Labels.rule_note "#(userId==7777)#.instanceId" }}
|
|
7353
7457
|
|
|
7354
7458
|
\`\`\`
|
|
7355
|
-
|
|
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 }}{{ 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 }}{{ end }}
|
|
7485
|
+
{{ end }}
|
|
7486
|
+
\`\`\`
|
|
7487
|
+
|
|
7488
|
+
12. **How to use logical AND, OR, and other conditions for conditional rendering/content display judgment?**
|
|
7356
7489
|
|
|
7357
7490
|
\`\`\`
|
|
7358
7491
|
# Supported functions
|
|
@@ -7385,7 +7518,7 @@ CloseTime | int64 | No | Close time, EndTime is alert recovery time, CloseTime i
|
|
|
7385
7518
|
|
|
7386
7519
|
\`\`\`
|
|
7387
7520
|
|
|
7388
|
-
|
|
7521
|
+
13. **How do I find more functions and their usage examples?**
|
|
7389
7522
|
- Function list: https://github.com/flashcatcloud/sprig/blob/master/functions.go#L97
|
|
7390
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
|
|
7391
7524
|
|
|
@@ -7398,10 +7531,15 @@ Below are specific instructions for each notification channel.
|
|
|
7398
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:
|
|
7399
7532
|
|
|
7400
7533
|
\`\`\`go
|
|
7401
|
-
{{if .
|
|
7402
|
-
{{if .Labels.resource}}**resource** : {{
|
|
7534
|
+
{{if .Labels.body_text}}{{.Labels.body_text}}{{else if .Description}}{{.Description}}{{end}}
|
|
7535
|
+
{{if .Labels.resource}}**resource** : {{(joinAlertLabels . "resource" ", ")}}{{end}}
|
|
7403
7536
|
{{range $k, $v := .Labels}}
|
|
7404
|
-
{{if not (in $k "resource" "body_text")}}**{{$k}}** : {{
|
|
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 }}{{ end }}
|
|
7542
|
+
{{ end }}
|
|
7405
7543
|
\`\`\`
|
|
7406
7544
|
|
|
7407
7545
|
As shown below:
|
|
@@ -7448,6 +7586,10 @@ You need to configure \`Integration Center-Instant Message-Dingtalk\` integratio
|
|
|
7448
7586
|
{{if .Labels.resource}}**resource** : {{toHtml (joinAlertLabels . "resource" ", ")}}{{end}}
|
|
7449
7587
|
{{range $k, $v := .Labels}}
|
|
7450
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 }}{{ end }}{{ end }}
|
|
7451
7593
|
\`\`\`
|
|
7452
7594
|
|
|
7453
7595
|
As shown below:
|
|
@@ -7526,13 +7668,22 @@ As shown below:
|
|
|
7526
7668
|
|
|
7527
7669
|
## Slack App
|
|
7528
7670
|
---
|
|
7671
|
+
|
|
7529
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:
|
|
7530
7673
|
|
|
7531
7674
|
\`\`\`go
|
|
7532
|
-
{{if .
|
|
7533
|
-
{{if .Labels.resource}}*resource* : {{
|
|
7675
|
+
{{if .Labels.body_text}}{{.Labels.body_text}}{{else if .Description}}{{.Description}}{{end}}
|
|
7676
|
+
{{if .Labels.resource}}*resource* : {{(joinAlertLabels . "resource" ", ")}}{{end}}
|
|
7534
7677
|
{{range $k, $v := .Labels}}
|
|
7535
|
-
{{if not (in $k "resource" "body_text")}}*{{$k}}* : {{
|
|
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
|
+

|
|
7685
|
+
{{ end }}
|
|
7686
|
+
{{ end }}
|
|
7536
7687
|
\`\`\`
|
|
7537
7688
|
|
|
7538
7689
|
As shown below:
|
|
@@ -7544,6 +7695,7 @@ If you want to display only key label information, you can refer to the code seg
|
|
|
7544
7695
|
- We've listed some common labels, you can add or remove as needed
|
|
7545
7696
|
- Messages can be around 15000 characters long, content beyond this will be truncated
|
|
7546
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
|
|
7547
7699
|
|
|
7548
7700
|
\`\`\`go
|
|
7549
7701
|
{{if (index .Labels "resource")}}*resource*:{{toHtml (joinAlertLabels . "resource" ", ")}}{{end}}
|
|
@@ -8280,4 +8432,4 @@ https://cmdb.com/vm?sn=VM123456
|
|
|
8280
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
|
|
8281
8433
|
2. Each channel can bind up to three Link integrations
|
|
8282
8434
|
3. Pay attention to reference syntax; improper variable reference formatting will result in failure to retrieve corresponding values
|
|
8283
|
-
`,
|
|
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;
|