# AI-powered bug routing in Linear with Slack notifications for uncertain cases
This workflow solves slow and inaccurate bug routing in Linear by automatically assigning bugs to the right team using AI. Designed for product and engineering teams that need fast, reliable incident handling.
## Who it´s for
- Engineering managers automating bug distribution
- Tech leads in products with multiple development teams
- SRE or DevOps engineers needing rapid incident routing
- Teams using Linear for task and bug management
## What the automation does
- Triggers on issue update in Linear when it’s a labeled bug with description
- Sends title and description to GPT-4 via OpenAI API for analysis
- Determines the responsible team based on predefined team list
- Updates the issue in Linear by moving it to the correct team
- If no clear team is identified, sends a notification to Slack
## What´s included
- Ready-to-use n8n workflow
- Trigger and handler logic using GraphQL and HTTP APIs
- Integrations with Linear, Slack, and OpenAI
- Basic textual instructions for launch and adaptation
## Requirements for setup
- n8n instance (self-hosted or cloud)
- Linear API access with permissions to read and update issues
- OpenAI account with active API key (GPT-4 access)
- Configured Slack channel and incoming webhook for notifications
## Benefits and outcomes
- Accelerates bug routing without manual intervention
- Reduces workload on tech leads and managers
- Increases assignment accuracy
- Lowers risk of missing critical incidents
- Ensures transparency through Slack alerts
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet