developer· software

Confirmed customer bug into a proposed fix

The agent reproduces a confirmed bug from the support ticket, locates the code, patches it and adds a test that reproduces the bug. It links the fix to the ticket, and you review.

supervisedAn afternoon6 steps

What the agent does

  1. 1

    Read the ticket.

  2. 2

    Reproduce the bug.

  3. 3

    Locate the code.

  4. 4

    Patch it.

  5. 5

    Test it.

  6. 6

    Link it to the ticket. → developer reviews

Enough to decide?

Similar setup documented
Required input
A confirmed ticket: "Export to CSV drops rows with commas in the name."
Example output
Reproduced with a failing test. Cause: values not quoted. Patch: use the CSV library writer. Test now passes. Pull request linked to the ticket, waiting for review.
Permission
developer reviews
Stop condition
Stop if it cannot reproduce the bug; it never patches without a failing test.
Reviewer
Reviewer to be named · About this entry
Last run
Not run by us yet

What it costs to run

A rough range per run, from the cheapest to the dearest of the paid models we checked. Your real cost depends on how much text you send.

Checked 2026-11-25 source

$0.001 to $0.38 per run · $0.019 per run with a mid-priced model

Small, cheap model
$0.001 per runPer 100 runs: $0.13qwen3.7-flash (0-32K) · Alibaba Model Studio (Qwen)
Typical
$0.019 per runPer 100 runs: $1.92Mistral Large · Mistral
Large model
$0.38 per runPer 100 runs: $38.40Claude Fable 5.2 · Anthropic

Free tiers and local models can bring this to zero while you test.

How we worked this out
  • 6 model calls, one per step (at least 2)
  • 2,000 input tokens per call
  • 800 output tokens per call
  • each call re-reads the earlier outputs
  • no retries, no loops, no cached-input discount

list API prices in USD per 1M tokens, checked 2026-11-25; one pass through the steps

6 model calls · 24,000 input tokens · 4,800 output tokens

  • Longer inputs cost more; agents that retry or loop use more calls.
  • Free tiers may cover small volumes: see free AI tokens.
  • Local models have no per-token price but need your own hardware.

low = cheapest, mid = median, high = dearest of the 36 paid models with a confirmed price in our table; models without a confirmed numeric price are left out

Browse provider prices

Works with

Tags

Before you start

Access the agent needs
ticketing, code-repo
Who approves
developer reviews
What to log
every action it proposes and the decision taken
When to stop
Stop if it cannot reproduce the bug; it never patches without a failing test.

Why it is worth it

A confirmed customer bug sits in the queue while developers are busy. A reproduced bug with a proposed fix gets fixed sooner.

Start this week

  • Pick a bug that support has confirmed, with clear steps.
  • Let the agent reproduce it, add a failing test, patch the code and link the fix to the ticket.
  • Review the change, and reject any patch without a reproduction test.

Watch out for

A fix for the wrong cause looks fine until it returns. The reproduction test is required.

Measure this

Time from confirmed bug to fix.

About this entry

Similar setup documented Checked 2026-11-27 Next check 2026-12-25 v2026-11-27.1 Reviewer to be named
Similar setup documented Checked 2026-11-27 Next check 2026-12-25 v2026-11-27.1 Reviewed by Reviewer to be named

What we checked

Each part of this entry, whether it was checked, when, and by whom.
ItemResultDateBySource and note
Text and stepsChecked2026-11-25——
Human checkpoint and risksChecked2026-11-25Reviewer to be named—
Workflow runNot checked yet———
Cost estimateChecked2026-11-25—source · mid-priced model assumed
Tool linksNot checked yet———
Outside evidenceChecked, with limits2026-11-27——

Limitations

  • An organisation has published a related setup, not this exact workflow. What differs is shown with the evidence.
  • Results reported by a vendor or customer are their claims, not our measurements.
  • Not checked yet: workflow run, tool links.

Change history

  1. Evidence label: Similar setup documented spec v2026-11-27.1
  2. Example input and output added spec v2026-11-26.2
  3. Long text added: why it is worth it, how to start, what to watch out for, how to measure it spec v2026-11-26.1
  4. Added to the catalogue spec v2026-11-25.1

Full history

Evidence

  • Microsoft Support · Adjacent pattern Support resolution agent handles customer requests and assists technical support staff with advanced cases Enterprise support system; does not document proposed code fixes · source · 2026-11-27
  • Deriv · Adjacent pattern DevOps agent helps engineers investigate and identify incident root causes Incident diagnosis is adjacent; no customer-ticket-to-code-change workflow · source · 2026-11-27
Spec versions

Run it with AI

Pick the AI you already use.

Least setupMost control

{
    "trigger": "When a new item arrives",
    "steps": [
        {
            "n": 1,
            "do": "Read the ticket."
        },
        {
            "n": 2,
            "do": "Reproduce the bug."
        },
        {
            "n": 3,
            "do": "Locate the code."
        },
        {
            "n": 4,
            "do": "Patch it."
        },
        {
            "n": 5,
            "do": "Test it."
        },
        {
            "n": 6,
            "do": "Link it to the ticket."
        }
    ],
    "connects": [
        "ticketing",
        "code-repo"
    ],
    "approval": "developer reviews",
    "stop_on": "wrong fix; reproduction test required"
}

Copies the prompt, then opens the tool. Paste it in to start.

The prompt is built in your browser. It reaches an AI only when you paste it in or open it there.What are these forms?

At a glance

Industry
software
Autonomy
supervised
Difficulty
An afternoon
Steps
6 · 1 human checkpoint
Runs as
event-triggered
Data touched
customer-facing
Needs approval
developer reviews
What it costs to run
$0.019 per run with a mid-priced model
ID
UC-0092

Compare routes for this job

Share this comparison

Confirmed customer bug into a proposed fix · UC-0092 · 4 of 5 routes for this job. Each cell is dated and sourced where we have a check. This is not a winner column.

Compare routes for this job
For this jobn8n
No-code automation
Claude
Chat assistants
ChatGPT
Custom assistants
Claude Code
Coding agents
What you do by handBuild and test the workflow once. After that it runs on each new item, and you do the human checkpoint this use case names (approve, edit or decide) before anything goes out.Paste or attach the input each time, check the answer, and carry the result to where it goes yourself.Set up the assistant once with your instructions and files. Then paste or attach each new input, check the answer and carry the result on.Describe the task, then review every change it proposes before you accept it.
Human checkpoint
developer reviews
Typical API cost (same for every route)

$0.019 per run with a mid-priced model

Same figure for every route above — subscription prices are in the row below.

Typical tier: Mistral Large · Mistral

checked 2026-11-25 · pricing source

Learning curveTerminalPoint and clickPoint and clickTerminal
Price modelfreefree tierfree tierpaid
Where your data goesIt runs where you install it. Your workflow data goes to the apps and models it connects to. By default n8n also sends anonymous usage data to its makers; our beginner guide switches that off.What you type and upload goes to Anthropic's servers and is handled under its terms. Check its data settings before you use real work data.What you type and upload goes to OpenAI's servers and is handled under its terms. Check its data settings before you use real work data.Your code and prompts go to Anthropic, or to the cloud provider you set it up with, under that provider's terms.
Before you startDocker or a similar tool on your computer, or a server. Our tested examples have a beginner guide.An account on the website. The free plan is enough to try it.An account on the website. The free plan is enough to try it.A paid Claude plan or API credit, then install it and open a terminal in your project.
Evidence for this routeProposed patternProposed patternProposed patternProposed pattern
OpenOpen in run panel Tool pageOpen in run panel Tool pageOpen in run panel Tool pageOpen in run panel Tool page

Comparison version 2026-11-27.2 ·

Where to go from here

All developer use cases

Similar work

These use cases do the same kinds of work as this one. Each card shows what they have in common.

shares code changes · test

Failing test reproduced and patched

The agent reads the CI failure, checks out the branch, reproduces the failure, edits the code and runs the tests before opening a pull request. It never edits a test without flagging it, so a real bug is not hidden. You review the patch.

supervisedsoftware · $0.019/run

Same kinds of tools, a different job

These use cases connect to the same kinds of tools as this one, so part of your setup carries over.