AutomationFlowsAI & RAG › Bad R11 Autofixing Output Parser

Bad R11 Autofixing Output Parser

bad-r11-autofixing-output-parser. Uses executeWorkflowTrigger, agent, outputParserAutofixing. Event-driven trigger; 5 nodes.

Event trigger★★★★☆ complexityAI-powered5 nodesExecute Workflow TriggerAgentOutput Parser Autofixing
AI & RAG Trigger: Event Nodes: 5 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow follows the Agent → Execute Workflow Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "badr11000000001",
  "name": "bad-r11-autofixing-output-parser",
  "nodes": [
    {
      "parameters": {},
      "id": "cb000000-0000-4000-8000-000000000001",
      "name": "Manual",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "typeVersion": 1.2,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "={{ $json.ticket }}",
        "hasOutputParser": true,
        "needsFallback": false,
        "options": {
          "maxIterations": 3
        }
      },
      "id": "cb000000-0000-4000-8000-000000000002",
      "name": "Classify",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 3.1,
      "position": [
        220,
        0
      ]
    },
    {
      "parameters": {
        "options": {}
      },
      "id": "cb000000-0000-4000-8000-000000000003",
      "name": "Auto-fixing Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
      "typeVersion": 1,
      "position": [
        220,
        200
      ]
    },
    {
      "parameters": {
        "mode": "runOnceForAllItems",
        "language": "javaScript",
        "jsCode": "const parsed = JSON.parse($json.output);\nif (typeof parsed.category !== 'string') throw new Error('bad');\nreturn [{ json: parsed }];"
      },
      "id": "cb000000-0000-4000-8000-000000000004",
      "name": "Check",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        440,
        0
      ]
    },
    {
      "parameters": {},
      "id": "cb000000-0000-4000-8000-000000000005",
      "name": "Done",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        660,
        0
      ]
    }
  ],
  "connections": {
    "Manual": {
      "main": [
        [
          {
            "node": "Classify",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Classify": {
      "main": [
        [
          {
            "node": "Check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check": {
      "main": [
        [
          {
            "node": "Done",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1",
    "errorWorkflow": "errhandler0000001",
    "timezone": "Australia/Brisbane"
  },
  "active": false
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

bad-r11-autofixing-output-parser. Uses executeWorkflowTrigger, agent, outputParserAutofixing. Event-driven trigger; 5 nodes.

Source: https://github.com/jarrod-wright/n8n-workflow-hardening/blob/main/linter/fixtures/bad/r11-autofixing-output-parser.workflow.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

Agent Nodes. Uses lmChatOpenAi, slack, stopAndError, errorTrigger. Event-driven trigger; 72 nodes.

OpenAI Chat, Slack, Stop And Error +12
AI & RAG

This workflow helps to automatically discover undocumented API endpoints by analysing JavaScript files from the website's HTML code.

Output Parser Autofixing, HTTP Request, Read Write File +5
AI & RAG

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

Output Parser Structured, Telegram, N8N Nodes Tesseractjs +14
AI & RAG

Visual Scraping N8N. Uses httpRequest, executeWorkflowTrigger, airtable, toolWorkflow. Event-driven trigger; 17 nodes.

HTTP Request, Execute Workflow Trigger, Airtable +5
AI & RAG

Agent Visual Scraping + HTML. Uses httpRequest, executeWorkflowTrigger, airtable, toolWorkflow. Event-driven trigger; 17 nodes.

HTTP Request, Execute Workflow Trigger, Airtable +5