AgentCrafts

How to fix a broken n8n workflow

A workflow that worked last week stopped. How to find the real cause, what usually broke and how to stop it happening again.


A workflow that worked last week has stopped. Nobody changed it. It just stopped, and now the thing it was doing is not getting done and nobody is quite sure when it last ran properly.

This is one of the most common jobs I get asked to take on, and the frustrating part is that it is usually a short diagnosis. Let me give you the order I work in, because working in a different order is what turns a half hour into a week.

Read the execution log first

Before anything else, open the failing execution and read it.

Not the workflow definition. The execution. It shows every node, what it sent, what came back and where it stopped. The n8n documentation has the details on how to read them, and it is worth ten minutes of learning because it changes how long every future diagnosis takes.

The thing you are looking for is the first node that did not succeed. Not the first node that looks wrong. These are often different nodes, and the difference is where the bug is.

The failing node is rarely the cause

This is the lesson that saves the most time.

A node that fails has usually been given something it did not expect. So the question is not "why did this node fail" but "what did the node before it send".

A CRM record with a null in the date field. A payload that grew past a size limit. A response where the field was renamed from results to data last month. A numeric id that arrived as a string. Every one of those reads as a failure in the failing node and a success in the one before it.

What usually broke, in order

From most to least common.

A credential expired or was revoked. Access tokens expire on a schedule that nobody set an alert for. Password changes, API key rotations and a colleague leaving all do the same thing. If a node suddenly cannot authenticate when it authenticated yesterday, this is why.

The other API changed its response. The field was renamed, the pagination changed, an error moved from a body to a header. Your workflow was correct about the old shape. The n8n community forum is where you check whether somebody else has hit the same change.

A node was renamed, moved or upgraded. Rare in a workflow nobody has touched, common in one that gets patched regularly.

A rate limit. The volume grew, or something else started hitting the same API, or a retry loop turned one call into five.

A case the workflow never handled. New data arrived. A customer from a new country. A product with no SKU. The workflow was always wrong about this case and only just met it.

A schedule that did not fire. Worth checking, but rarer than people think, and worth checking properly rather than assuming, because a paused workflow looks identical to a broken one.

The repair, and the bit that matters more

The repair is usually small. Refresh the credential. Handle the null field. Map the renamed field. Add the missing case to the switch.

The bit that matters more is what happens so it does not fail the same way again, silently, in three weeks.

Three things cover most of it.

Alert on failure, not just on error. n8n can send a message when an execution fails. That is the difference between a workflow that is broken and a workflow that is broken and nobody noticed for a week, which is the version that costs you a customer.

Watch the success rate, not the existence of the workflow. A workflow that runs every day and succeeds sixty per cent of the time is worse than one that has stopped, because it looks healthy on a dashboard. Count successes against attempts over a window.

Keep a sample of real inputs. A handful of genuine payloads, replayable. This is what turns the next diagnosis into minutes rather than an afternoon, because you can run the sample and watch it fail in front of you.

When rebuilding is the right answer

Sometimes the workflow is not broken, it has just grown.

If it has been patched six times, nobody can say what it is meant to do, and every change requires checking three other nodes, then rebuilding it is the cheaper option. You are not fixing a bug, you are removing an unclear system and putting back one that is understood.

The test is simple. Can somebody describe what the workflow does, in one sentence, without checking? If not, the repair is going to be a rewrite anyway, and it is better to do it deliberately.

When the real problem is somewhere else

One more case worth naming, because it gets misdiagnosed constantly.

If the workflow stopped working right after somebody changed a business rule, the workflow is fine and the rule moved. A field that used to be required is now optional. A new approval step. A change to what counts as a qualified lead. The fix is in the process, and changing the workflow to match is treating the symptom.

If you cannot find a technical cause after checking the log, the credentials and the recent history of both sides, look for a business change in the same period. It is more often the answer than people expect.

The honest version

Broken workflows are usually a short diagnosis, and the reason they take a week is that nobody wrote down what they should have been doing, so the person debugging it starts from scratch with no reference.

If you want the commercial side of it, the rescue a stuck build service covers how I take on a repair.

The rescue a stuck build service covers how I take on a repair, and the pricing page explains what decides the cost.

The commercial side of it is on the hire page.

If you want the commercial side of it, the rescue a stuck build service covers how this work is scoped and handed over, and the pricing page sets out the three engagement plans.


Reliability and cost

All blogs

Common questions

Questions about fixing n8n workflows

Why did my n8n workflow stop working?

In order of likelihood: a credential expired or was revoked, the other API changed its response shape, a node was renamed or moved, you hit a rate limit, or the workflow was never handling a case it now sees. The execution log tells you which, and reading it is faster than guessing.

How do I find the failing step in n8n?

Open the execution, look at the first node that did not succeed, and read what it sent and what came back. The failing node is usually not the cause. The node before it sent something the failing node did not expect.

Should I turn on error workflows in n8n?

Yes, once the workflow works. An error workflow that alerts you and keeps a copy of the data that failed turns a silent stop into a visible problem, which is the difference between a broken workflow and a broken workflow nobody noticed for a week.

Why did it work yesterday and not today?

That usually means it depends on something outside the workflow. A token expired, a schedule ran on a day with different data, a rate limit was reached because the volume went up, or a field on the other side was renamed. It is rarely the workflow itself changing, because that would have broken it immediately.

Can I prevent n8n workflows from breaking silently?

Three things cover most of it. Alert on failure rather than logging it, monitor the success rate rather than the existence of the workflow, and keep a sample of real inputs so you can replay them. Most silent failures are caught by a sample that stopped working.

Is it worth rebuilding the workflow?

Usually not. Most broken workflows are a credential, a changed response or an unhandled case, all of which are repairable. Rebuilding is worth it when the workflow grew by patches and nobody can say what it is supposed to do.

Where this fits

You have an agent or an automation that half works, and nobody can move it forward. I find out what is broken, fix it, and leave you something you can run without watching it.

Rescue a stuck build

Keep reading

Let's build

Let's discuss your workflow

Tell me what your team does by hand every week. I'll tell you honestly whether an agent or automation is the right answer, what it would take, and what it needs to keep running.