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

Feishu (Lark) Integration Guide

By integrating a custom Feishu/Lark application, you can receive and respond to alerts within Feishu/Lark.

1. Create Feishu/Lark application#


1. Create a custom application#

Visit Feishu/Lark Developer Console and create an internal custom application. You can use the official Flashduty icon for the application icon.
For details, see the Feishu/Lark development documentation Create an internal custom application.
2025-09-17-19-20-33

2. Copy credential information#

Go to the Credentials and Basic Information page and copy the App ID and App Secret for later use.
2025-09-17-19-24-11

3. Copy the event callback Token information#

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.
2025-09-17-19-27-24

2. Add Feishu/Lark integration#


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.
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.
2025-09-17-19-32-56

3. Configure Feishu/Lark application#


1. Enable and configure application capabilities#

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.
2025-09-17-19-42-32
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.
For details, see the Feishu/Lark development documentation Configure application homepage address.
2025-09-17-19-49-19
3.
Go to Event Callbacks → Event Configuration page, configure the Request URL (using the Message Card Request URL from the integration details). Then, add the following two events:
im.chat.disbanded_v1
im.message.receive_v1
2025-09-18-11-06-05
4.
Go to Event Callbacks → Callback Configuration page, configure the Request URL (using the Message Card Request URL from the integration details). Then, subscribe to the following two callbacks:
card.action.trigger
card.action.trigger_v1
2025-09-19-18-41-42

2. Add redirect URL to Feishu/Lark application#

Go to the Security Settings page and configure the Redirect URL using the Redirect URL from the integration details.
For details, see the Feishu/Lark development documentation Configure redirect URL.
2025-09-17-19-55-04

3. Apply for application permissions#

Go to the Permission Management page and apply for the following permissions for the group application created in the previous steps:
im:chat: Get and update group information
im:message: Get and send single chat and group messages
contact:user.id:readonly: Get user ID by phone number or email
2025-09-17-19-59-38

4. Application release#


After completing all the above configurations, please release the application. It can be used after administrator approval.
For details, see the Feishu/Lark development documentation Application release and usage.
To ensure that everyone can use the application, adjust the application visibility to all employees before releasing the application.
2025-09-17-20-01-46
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.
Mobile: Access via Feishu/Lark → Workplace → Search for application name → Open Application to use the web application.
PC: Access via Feishu/Lark → Workplace → Search for application name → Open Application to use the web application.
2025-09-17-20-05-01

5. Configure war room#

Ensure the application has been authorized with the additional permissions required for the war room feature.
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.

6. FAQ#


1.
Messages cannot be delivered to individuals, and the operation log shows app not linked?
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.
2.
Message card buttons are unresponsive or show errors?
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.
Ensure you have purchased sufficient licenses. You can check the license usage in Console → Billing Center.
3.
The Feishu/Lark group chat list in escalation rules is empty?
Go to Feishu/Lark and add the created Flashduty bot to the specified group chat.
Return to the escalation rule configuration page, refresh and reselect the group chat list.
2025-09-18-14-26-32
4.
Feishu/Lark custom application API limits?
Call volume limits:
Feishu/Lark VersionTotal Calls/MonthRefresh Time
Basic Free10,0001st of each month
Other VersionsUnlimited-
Rate limits:
ScenarioLimit
All APIsMax 50 calls/second per app
Send message APIsMax 1000 calls/minute per app
Group bot webhookMax 100 calls/minute
Send to same user or groupMax 5 calls/second
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 for details.
5.
Why is the war room feature not working as expected?
Please check again whether you have configured the required permissions for the war room feature.
Please refer to the FAQ section of the Flashduty War Room Introduction.

添加官方技术支持微信

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

微信扫码交流
修改于 2025-09-22 02:57:17
上一页
Jira Issue Events
下一页
Dingtalk Integration
Built with