Integration

Lescopr × Slack integration

Send Lescopr bug and incident alerts to the Slack channel your team already watches.

What the Slack connector sends

When the Lescopr SDK captures an error in your application, Lescopr records it as a bug with a severity. The Slack connector turns that event, or the opening of an incident, into a Slack message built with Block Kit: the project, the error, its severity and a button that opens it in Lescopr. Critical and high severities are highlighted so they stand out in a busy channel.

Two ways to connect

You can connect Slack with a bot token, in which case Lescopr posts through the Slack API and you choose the channel for each alert rule. You can also paste a Slack incoming webhook URL; the channel is then the one configured for that webhook inside Slack. The bot mode is the more flexible of the two when several projects share one workspace.

Choosing what reaches Slack

Alert rules are attached to events such as a new bug or a new incident, with conditions such as the severity. A common setup is one channel per project for every new bug, and a separate on-call channel that only receives critical issues. Keeping low-severity noise out of the on-call channel is what makes people keep reading it.

Testing before going live

The connector has a connection test in the dashboard. Run it after setup to confirm that the token or the webhook works and that the message reaches the expected channel, before you turn the alert rule on for production traffic.

Other places to send alerts

Slack is one of several connectors. The same events can go to Microsoft Teams, Discord, email, a generic webhook or PagerDuty, and Lescopr can also open an issue in Jira, GitHub or GitLab. The Lescopr mobile app sends push notifications too, which helps when nobody is looking at Slack.