I. Intro
Sentry is an open-source tool that provides real-time error tracking and log aggregation to monitor the operation of applications, websites, and services. Sentry also offers error analysis and localization features, helping developers quickly diagnose and resolve issues.
You can use the Sentry connector in BotBuilder as a trigger step in flows to connect Feishu to your Sentry account, so you can get new event notifications directly in Feishu.
II. Steps
Important: Creating a bot command is used in the examples below. The steps for creating a bot app follow the same principles.
1. Create a bot command
- Open My Commands, and click Create Bot Command to create a flow.
250px|700px|reset
- Click Select a trigger and select When a new event is created as the trigger. Copy the webhook address, which will be used later to configure Sentry alerts, and click Done.
250px|700px|reset
250px|700px|reset
2. Configure Sentry alerts
- Go to Sentry Projects, and select a project or create a new project by clicking Create Project.
250px|700px|reset
- Click Teams > Projects and select your project.
250px|700px|reset
- Click Legacy Integrations and turn on WebHooks.
250px|700px|reset
- Click WebHooks and paste/enter the webhook address that you copied earlier, and click Save Changes.
250px|700px|reset
- In the left sidebar, click Alerts, select WebHooks for Send a notification via, and click Save Rules.
250px|700px|reset

Return to the bot command configuration page, and add an action to send messages. Once the flow is activated, when new log events are created and when there are anomalies in log events, a message will be sent to Feishu.