Catch a Metabase metric breach and auto-file a Linear ticket

By General Input

Each weekday morning we check your critical Metabase metric, dig into what moved it, file a Linear ticket for the owner, and post a heads-up in Slack.

Integrations

  • Metabase
  • Linear
  • Slack

Type

Agentic Task

Categories

  • Operations
  • Product

Every weekday at 9am, run a single Metabase saved question that tracks our critical operating metric (signups, conversion rate, error rate, refunds, or whatever this team owns) and compare the latest value against a threshold or the prior period. Use Metabase Run Card Query for the watched question.

If the metric is within range, stop the workflow. Do not file a ticket and do not post in Slack.

If the metric breaches the threshold, investigate before alerting. Use Metabase Search to find related saved questions in the same collection (segment breakdowns, channel splits, recent-changes cards) and run the most relevant ones with Run Card Query. If a focused slice would help and no saved card covers it, use Metabase Run Ad-hoc Query against the same database to isolate which segment, channel, or recent event is driving the move. Keep this investigation tight: at most a handful of follow-up queries.

Then write a short root-cause hypothesis (3 to 6 sentences) with the supporting numbers: current value, prior value or threshold, the top contributing segments, and any obvious recent change.

File a ticket in Linear using Create Issue. Use Linear List Teams to resolve the team id if needed, and Linear List Users to resolve the assignee. Fill in:

- Title: a short summary that names the metric and the direction it moved.

- Description: the root-cause hypothesis, the supporting numbers, and a link back to the Metabase question.

- Priority: Urgent if the breach is severe or accelerating, High otherwise.

- Assignee: the on-call owner for this metric.

Then post a short heads-up in our Slack channel using Send a Message: one or two sentences explaining the breach in plain language, the headline number, and a link to the Linear ticket so whoever is on call sees it immediately.

When I set this up, ask me which Metabase question to watch, what counts as a breach (absolute threshold, percent change, or comparison window like week-over-week), which Linear team owns the metric and who the default assignee is, and which Slack channel to post the heads-up in.

Related prompts

Explore more prompts
Call overdue Xero customers with an AI collections agentWin back LiveChat visitors whose chats went unansweredChat quality review board for LiveChat support leadsWin back no-show and cancelled appointments every morningLive Loop returns analytics with product-level drill-downNewsletter pre-flight and approval board for Mailjet sendsTurn a prospect spreadsheet into personalized sequence enrollmentsMailjet email delivery lookup console for support teamsCatch feature flags that never got switched on in productionKajabi customer support console for member access fixes