New to Kestra?
Use blueprints to kickstart your first workflows.
Audit Linear issues via GraphQL API for urgent unassigned bugs and dispatch high-priority Slack alerts to on-call engineers to meet customer response SLAs.
Prevent critical production bugs and customer escalations from languishing unaddressed in project backlogs. In high-velocity engineering organizations using Linear, critical issues with urgent priority (priority: 1) are frequently submitted by support reps, customer success teams, or automated monitoring alerts without an assigned engineer, causing response times to slip past client SLAs. This blueprint runs a frequent 15-minute triage sweep via Linear's GraphQL API (io.kestra.plugin.graphql.Request), filters for open urgent issues lacking an assignee, and sends an actionable Slack alert with direct ticket links to on-call teams.
Schedule trigger initiates a triage audit every 15 minutes (shipped disabled by default).fetch_urgent_unassigned_issues issues a GraphQL query to https://api.linear.app/graphql authenticated with LINEAR_API_KEY. The query applies a compound filter matching priority: 1, assignee: { null: true }, and active issue states (excluding completed and canceled) for the specified team key.evaluate_unassigned_issues (io.kestra.plugin.core.flow.If) counts discovered tickets:alert_urgent_unassigned delivers a formatted Slack alert itemizing issue identifiers (ENG-123), titles, and direct URLs. If fail_on_unassigned_urgent is enabled, task halt_triage_gate terminates the run with an error to trip external alert monitors.log_triage_healthy logs that the triage queue is healthy.log_audit_summary logs the count of evaluated urgent tickets.errors handler dispatches a notification if the Linear API returns network or authentication errors.Managing triage SLAs through manual dashboard reviews leads to missed tickets during sprint planning or off-hours. Kestra provides a resilient, version-controlled automation loop that queries Linear's GraphQL schema directly, handles secure API credentials, formats structured notifications with jq expressions, and guarantees operational visibility across engineering teams.
LINEAR_API_KEY: Linear API key passed in the Authorization header.SLACK_WEBHOOK_URL: Slack Incoming Webhook URL used to receive triage alerts.LINEAR_API_KEY and SLACK_WEBHOOK_URL in Kestra Secrets.team_key with your Linear team identifier (e.g. ENG).recurring_triage_sweep schedule to activate 15-minute triage monitoring.