New bug reports often land in a shared team and wait for someone to sort them. This build listens for new issues in Linear, uses AI to pick the best team, updates the issue, or alerts Slack if it cannot decide. It helps engineering and support leads move bugs to the right owners fast.
It begins with a Linear event trigger for new issues in a chosen team. A filter keeps only items that have the right label and a filled description so noisy tickets do not slip through. The AI step reads the bug text and a list of teams with their duties, then returns a best match. A GraphQL call pulls the full team list from Linear so the AI choice can be mapped to a real team ID and the issue can be moved. If the AI is unsure, a Slack message asks a human to review and assign.
You need accounts for Linear, Slack, and OpenAI. Set the team in the trigger, define your team names and areas of responsibility in the setup node exactly as they appear in Linear, and set your Slack channel. Expect faster handoffs, fewer misroutes, and less time reading tickets, especially when bugs first arrive in a general inbox.