Why your n8n workflow runs twice
If an n8n workflow runs twice, the trigger usually fired twice. Here is how to find the cause, choose a stable event id and make the workflow safe to retry.
2 posts about reliability, written from the work rather than about it.
If an n8n workflow runs twice, the trigger usually fired twice. Here is how to find the cause, choose a stable event id and make the workflow safe to retry.
Most agent failures I get called in to fix are not reasoning problems. They are tools that answer plausibly when they should have returned an error.
Read your agent doesn't need a better prompt, it needs a tool that fails loudly
Straight answers
Most of the time the trigger received the same event twice. A slow webhook response makes the sender retry, two workflows can listen to the same event, or a loop can update the record that started it. Compare the input of both executions before you change a node.
Cap the attempts in code, add backoff, and let the error say whether a retry is allowed. A message like rate limited, retry after 30 seconds is more useful to the model than a generic failure.
Let's build
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.