- Home
- Resources
- Integrations
- Auto-fixing Output Parser
n8n Auto-fixing Output Parser nodeConfigure Auto-fixing Output Parser in n8n.
A model that answers in the wrong format stops a workflow dead. The n8n Auto-fixing Output Parser node wraps another output parser, an output parser being the sub-node that turns free text into clean data, and asks a chat model to repair the answer when parsing fails. One parameter, 2 required ports.
Verified Trustpilot reviews · AI, automation & growth agency
What does the n8n Auto-fixing Output Parser node actually do?
It sits between a root node and a stricter parser. The root node, an AI Agent or a Basic LLM Chain, asks its chat model for an answer. The wrapped parser checks that answer against the expected shape. When that check fails, the Auto-fixing Output Parser does not throw the error back at the workflow: it sends the failed attempt, the parsing rules and the validation error to a chat model, and asks for a corrected version.
Think of a support ticket triage flow. A chat model reads the ticket and has to return a category and a priority. Nine times out of ten it returns clean data. The tenth time it wraps the answer in a sentence of commentary, the Structured Output Parser rejects it, and the run stops. Plugging this node in front of that parser gives the model one chance to correct itself before the workflow gives up.
Second case, a scraping-to-spreadsheet flow. An AI Agent extracts product fields from a page and writes them to Google Sheets. A missing bracket in the model output breaks the mapping. The retry happens inside the AI branch, so the rows keep landing in the right columns.
Third case, an alerting flow. A model classifies incoming messages and a Slack node posts the result. The classification matters more than the exact wording, so paying for one extra model call beats waking someone up over a formatting slip.
When to skip it: n8n marks this node as deprecated and points to the Structured Output Parser instead. On a new workflow, start with the plain parser and a sharper prompt. Recent chat models follow a schema well on their own, and every fix costs a second call to your model provider, who bills its own API calls under its own terms. Reach for the auto-fixing wrapper on an existing flow that already fails on format, or when the output shape is genuinely hard to hit.
Known limits: the node repairs format, not facts. A parsed answer that fits the schema and says something wrong still fits the schema. There is no attempt counter to tune, no branch for the case where the repair also fails, and the node only exposes 1 option. If you want to compare hosting models and cost logic before committing, the n8n review covers that ground, and n8n training goes through agent wiring step by step.
What do you plug into it?
This node is a sub-node: it never runs on its own, it hangs off a root node and has its own ports, a port being one of the small labelled sockets under a node where another sub-node connects.
Ports (what plugs in)
- Chat Model
ai_languageModelrequired - Output Parser
ai_outputParserrequired
Output (what it plugs into)
- Output Parser
ai_outputParser
01Chat Model
The model that performs the repair. It receives the failed attempt, the parsing rules and the error message, and returns a corrected answer. This is a second call, separate from the one the root node already made.
Key parameters
- Required: leave this port empty and the node blocks the run.
- OpenAI Chat Model: the usual starting point, and the credential for your provider lives on that sub-node, not here.
- Anthropic Chat Model or Google Gemini Chat Model: fine alternatives when the rest of the workflow already runs on that provider.
02Output Parser
The parser being wrapped. It defines what a valid answer looks like, and its failure is what wakes this node up. Without it there is nothing to auto-fix.
Key parameters
- Required: the node needs a parser to wrap before it can catch anything.
- Structured Output Parser: describes the expected object, so rejections are precise and easy to repair.
- Item List Output Parser: for an answer that should come back as a list of items rather than an object.
Which parameter is there to set?
The Auto-fixing Output Parser node has one parameter. For each one: the node as you configure it in n8n, what the parameter changes, and our field notes.
Parameters index
Options
optionsWhat you see in n8n
Notes & use cases
The node ships with almost nothing to configure. Everything sits behind a single collection, opened with Add Option, and nothing in it is required: leave it closed and the node uses its built-in repair prompt.
Key parameters
- Retry Prompt: the prompt template used for fixing the output. It has to include the
{instructions},{completion}and{error}placeholders, which stand for the parsing rules, the failed attempt and the validation error message.
Need help automating Auto-fixing Output Parser with n8n?
A person reads every message.
Questions people ask next
01Is the n8n Auto-fixing Output Parser node free to use?
02What credentials does it need?
03What are the limits of this node?
04What do you need to plug in at minimum?
05n8n or Make for this kind of AI workflow?
Get our weekly integration tips.
No spam. Unsubscribe anytime.



