3B Workflow reliability issue tracker with automated failure detection and AI triage

Starting promptUse this prompt as a starting point to build your workflow.

Build a reliability issue tracker for the workflows in my tenant — a place where problems with workflows get filed, triaged, worked, and closed. It should accept issues from three directions: a person reporting one, another workflow reporting one about itself, and an automated scan that catches failing runs on its own. Use Tines Cases as the system of record (or another issue tracker if you prefer), so nothing about an issue is stored inside this workflow itself. Every issue is a case filed into one team, tagged so the tracker can tell its own cases apart from everything else in that team. Keep structured context — which workflow, which step, which run, who reported it, a dedupe key, occurrence count, and a deep link back to the workflow in 3B — in case metadata, and lean on the tracker's native status, priority, assignee, and comment fields for everything else. Triggers and pieces: A web board at its own route (space members only) as the entry point: columns per status, cards per issue, filters that live in the query string so a filtered view is shareable, a detail drawer with comments, and a form for filing a new issue. Render it as a static bundle that fetches its data client-side so it never blocks on the tracker API. A small JSON API behind the board for listing issues, fetching one issue with its comments, creating an issue, updating one (status, priority, assignment, claiming, commenting), and a trend endpoint that aggregates issues per day and per workflow for charting. An ingest endpoint other workflows can POST to, authenticated as a workflow-backed connector, deduping on a caller-supplied key so repeat reports collapse into one issue. A scheduled scanner (roughly every 15 minutes) that walks the 3B API for errored runs on published branches only, keeps a watermark and the ids it has already seen on a persistent volume so nothing is double-reported, and excludes this workflow from its own sweep. A step that turns detected failures into cases, grouping by workflow and step so a burst of retries becomes one issue with an occurrence count and a comment, rather than a pile of duplicates. Prioritize by how often the step failed in the batch. An AI triage step that reads the failing step's logs and metadata and posts a root-cause hypothesis, the suspect line, and a suggested fix as a comment on newly opened cases. Use Claude via Anthropic — or whichever model provider you prefer. A scheduled auto-close step that checks whether auto-detected issues have recovered (a few consecutive clean runs since the last failure) and closes them with a comment explaining why. A weekday-morning digest posted to Slack — or your team's chat tool — summarizing open issues by priority and calling out ones that are unassigned or have gone quiet, with links back to the board. Keep all human-facing routes private to the space, and make the board the one link on the Links page. Tools used: Tines Cases, 3B, Anthropic Claude, Slack, React, TypeScript

New to Tines?Sign up free for Tines 3B Explore Edition

What this prompt builds

An automated reliability tracker that monitors workflows for failures across a tenant, files issues in Tines Cases from three intake paths (manual reports, self-reporting workflows, and a scheduled scanner), performs AI-powered triage on new failures, and auto-closes recovered issues. It surfaces open issues through a web board and daily Slack digests, turning invisible failures into tracked, assigned work with full audit trails.

The problem

Workflow failures go unnoticed in tenants running hundreds of automations. A scheduled run errors at 3am, an API change breaks a step, or someone spots a wrong report — but the failure sits in an unwatched run history while the human report lives in a DM or hallway conversation. There's no list of what's broken, no owner, and no record that problems were fixed. This tracker gives automation owners visibility and accountability at scale. It monitors workflows for failures, files issues automatically or accepts manual reports, triages new failures with AI-generated root-cause analysis, and surfaces open work through a board and Slack digests — turning invisible failures into tracked, assigned work with durable audit trails.

Solution and impact

The workflow creates a reliability desk for automations, using Tines Cases as the system of record. Three intake paths converge on one queue: a web board for manual filing, an ingest API for self-reporting workflows (deduped on caller keys), and a scanner that sweeps the 3B API every 15 minutes for errored runs on published branches. AI triage reads logs and posts root-cause hypotheses with suggested fixes on newly opened cases. Auto-close watches for consecutive clean runs and closes recovered issues automatically. A weekday digest to Slack surfaces open issues by priority and highlights unassigned or stale work. Time-to-detection drops from "whenever someone notices" to fifteen minutes, time-to-diagnosis shrinks with automated triage already in the case, and the board stays clean through grouping, deduplication, and auto-recovery — giving teams a real-time picture of workflow health instead of invisible failures and evaporated reports.