An agent that diagnoses and drafts fixes for broken n8n workflows

A working agent checks failed n8n workflows and prepares a repair before a person wakes up. When an n8n error workflow sends the failed run to the agent, the agent looks for the root cause and decides whether the problem can be fixed inside the or must go to a human. problems always stay with a human.

The model that writes the proposed fix does not approve its own work. For example, Claude can draft the fix while an OpenAI model reviews it. The two models come from different vendors, which is meant to reduce shared blind spots.

The reviewer has no , so a bad review cannot directly change the workflow. Before anything is written, normal code checks the diff and rejects changes outside the diagnosed area.

Key points

  • The n8n error workflow sends failed execution data to the agent.
  • The agent separates workflow-level fixes from problems that need a human.
  • The model that drafts the fix is not allowed to approve it.
  • The reviewer model has no .
  • Plain code checks the diff before any workflow change is applied.
Read original