{
  "name": "Auto Generate Descriptive Node Names with AI for Workflow Readability",
  "nodes": [
    {
      "id": "f2e3aaed-518d-49cc-92e4-2dfab710fc2c",
      "name": "Save Renamed Workflow Version",
      "type": "n8n-nodes-base.n8n",
      "position": [
        3344,
        -1232
      ]
    },
    {
      "id": "3551fc54-1ac2-4c50-a445-d3cff828a636",
      "name": "Prepare LLM Validation Data",
      "type": "n8n-nodes-base.set",
      "position": [
        2464,
        -1216
      ]
    },
    {
      "id": "5e6bad59-0f8d-41d1-9d7e-b515cccf664c",
      "name": "Generate Node Rename Mapping",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        2160,
        -1216
      ]
    },
    {
      "id": "fc194f98-996a-4eda-903d-96b8d475ab45",
      "name": "Apply Renamed Nodes Connections",
      "type": "n8n-nodes-base.set",
      "position": [
        2896,
        -1232
      ]
    },
    {
      "id": "00a41b6e-e61a-4aea-9c89-d9222fd860f3",
      "name": "Parse LLM Mapping ToJson",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2320,
        -1040
      ]
    },
    {
      "id": "b13bb440-55c2-4409-ad39-3c15a28b4de9",
      "name": "Extract Workflow Nodes Connections",
      "type": "n8n-nodes-base.set",
      "position": [
        3744,
        -1568
      ]
    },
    {
      "id": "2cf14043-22f5-4b12-8b0c-1468795f18bd",
      "name": "Assemble New Workflow Object",
      "type": "n8n-nodes-base.set",
      "position": [
        3120,
        -1232
      ]
    },
    {
      "id": "ed79df1c-7ca6-4e06-a618-0ca8fde24848",
      "name": "Validate All Nodes Renamed",
      "type": "n8n-nodes-base.if",
      "position": [
        2688,
        -1216
      ]
    },
    {
      "id": "81999de4-0521-4a2d-8f0b-bdd6a1d16935",
      "name": "Build Workflow Version Links",
      "type": "n8n-nodes-base.set",
      "position": [
        3552,
        -1232
      ]
    },
    {
      "id": "870e3349-1555-44da-9159-e97778b09830",
      "name": "Parse Selected Workflow Id",
      "type": "n8n-nodes-base.set",
      "position": [
        3072,
        -1568
      ]
    },
    {
      "id": "d5055f2c-3856-43e5-adfa-09b3f9b4ed56",
      "name": "Check Trigger Source Type",
      "type": "n8n-nodes-base.if",
      "position": [
        3744,
        -1232
      ]
    },
    {
      "id": "108c03f7-d3c5-4623-9c3d-017c2577d58b",
      "name": "Display Workflow Version Links",
      "type": "n8n-nodes-base.form",
      "position": [
        3968,
        -1328
      ]
    },
    {
      "id": "55880d85-0acc-49ca-9b17-f58639a3fc62",
      "name": "Set Target Workflow Id",
      "type": "n8n-nodes-base.set",
      "position": [
        3296,
        -1568
      ]
    },
    {
      "id": "80666d64-a7ad-42ce-975e-55edc66e0088",
      "name": "LLM Flow Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3216,
        -1696
      ],
      "parameters": {
        "width": 944,
        "height": 304,
        "content": "## Get & Prepare Workflow\nGet target workflow JSON, extract nodes and connections, prepare clean structure for processing."
      }
    },
    {
      "id": "c6e24481-be32-49bb-9ed7-7b2610ba47eb",
      "name": "Post Processing Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2112,
        -1376
      ],
      "parameters": {
        "width": 528,
        "height": 480,
        "content": "## AI Rename Generation\nSend workflow to the AI, generate rename mapping for every node, parse structured JSON output."
      }
    },
    {
      "id": "aaac1e61-1971-4a51-af91-1361bbeeebc6",
      "name": "Select a Workflow",
      "type": "n8n-nodes-base.n8n",
      "position": [
        3040,
        -1888
      ]
    },
    {
      "id": "62f4b399-d1dd-4e45-afd1-d15c13559187",
      "name": "Triggers Section Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2112,
        -1696
      ],
      "parameters": {
        "width": 1088,
        "height": 304,
        "content": "## Form Trigger\nLaunch a form where you can select from a dropdown of all available workflows."
      }
    },
    {
      "id": "7ddb750f-98ab-4ec0-8591-1c37bf74a1f7",
      "name": "Post Processing Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2656,
        -1376
      ],
      "parameters": {
        "width": 624,
        "height": 480,
        "content": "## Validate & Apply Renames\nVerify all nodes are covered, update node names in nodes array, connections object, and parameter references."
      }
    },
    {
      "id": "25bfed4f-2dff-47cf-919d-ce7ff30c7c82",
      "name": "Post Processing Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3296,
        -1376
      ],
      "parameters": {
        "width": 864,
        "height": 480,
        "content": "## Save & Display Results\nPublish updated workflow version, generate history links, show completion form or end execution."
      }
    },
    {
      "id": "5b73f213-2953-4a7e-84e5-07b63d342b41",
      "name": "Triggers Section Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3504,
        -2000
      ],
      "parameters": {
        "width": 656,
        "height": 288,
        "content": "## Mohamed Anan\n![Anan](https://1.gravatar.com/avatar/2c212891367a29a481ce306de2a3c936abab9dd120e11aae24782b47f5d856bd?size=64)\nA curious EnGiNeEr who enjoys `SoLviNg` PrObLeMs..\n___\n- [x] [Top Suppor"
      }
    },
    {
      "id": "8186aadb-a749-4352-98b4-19eabe9c6b52",
      "name": "Triggers Section Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2112,
        -2000
      ],
      "parameters": {
        "width": 1376,
        "height": 288,
        "content": "## Manual Trigger\nSelect workflow directly from the n8n node, then execute manually for quick testing."
      }
    },
    {
      "id": "dbf1280b-a216-445a-9fae-495cc142fbeb",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2992,
        -1936
      ],
      "parameters": {
        "width": 192,
        "height": 208,
        "content": "### Select a workflow"
      }
    },
    {
      "id": "f3a7b4d9-161d-425c-9bc8-af2d67c76c27",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3008,
        -1040
      ],
      "parameters": {
        "width": 192,
        "height": 112,
        "content": "### Stop workflow\nYou can modify the error handling to retry or loop back to the AI node."
      }
    },
    {
      "id": "363007bf-06eb-48e5-8447-a50cd4c854a1",
      "name": "Post Processing Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1264,
        -2000
      ],
      "parameters": {
        "width": 832,
        "height": 1104,
        "content": "## ⚡Auto Rename n8n Workflow Nodes with AI✨\nThis workflow uses AI to automatically generate clear and descriptive names for every node in your n8n workflows.\nIt analyzes each node's type, parameters, "
      }
    },
    {
      "id": "37d5ac74-40db-41ca-8d3c-fec7a6436d90",
      "name": "Stop",
      "type": "n8n-nodes-base.stopAndError",
      "position": [
        2896,
        -1040
      ]
    },
    {
      "id": "dc55d2ce-fe63-49ff-b386-9693618c715b",
      "name": "Fetch Target Workflow JSON",
      "type": "n8n-nodes-base.n8n",
      "position": [
        3520,
        -1568
      ]
    },
    {
      "id": "17893598-d830-4327-a5a8-da039497d85f",
      "name": "Aggregate Workflow List",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2624,
        -1568
      ]
    },
    {
      "id": "aa5a4b04-6a0c-4e30-8778-93867d673bb3",
      "name": "Form Dynamic Workflow List",
      "type": "n8n-nodes-base.form",
      "position": [
        2848,
        -1568
      ]
    },
    {
      "id": "853e6e01-3621-4158-8d25-e6428de9608c",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        2144,
        -1040
      ]
    },
    {
      "id": "6b5f97cd-182e-4ff9-ace8-47aacde6bd23",
      "name": "Fetch All Workflows",
      "type": "n8n-nodes-base.n8n",
      "position": [
        2400,
        -1568
      ]
    },
    {
      "id": "0330fafd-9637-491d-8841-662bcb8457e4",
      "name": "Form Trigger",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        2176,
        -1568
      ]
    },
    {
      "id": "4c49d752-3179-46b2-899b-55f8c4a7c5c2",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        2176,
        -1888
      ]
    },
    {
      "id": "ec4dd2d0-8b33-4265-a8bb-267bd999893a",
      "name": "Done",
      "type": "n8n-nodes-base.set",
      "position": [
        3968,
        -1104
      ]
    }
  ],
  "connections": {
    "Form Trigger": {
      "main": [
        [
          {
            "node": "Fetch All Workflows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Select a Workflow",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Select a Workflow": {
      "main": [
        [
          {
            "node": "Set Target Workflow Id",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch All Workflows": {
      "main": [
        [
          {
            "node": "Aggregate Workflow List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Node Rename Mapping",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Set Target Workflow Id": {
      "main": [
        [
          {
            "node": "Fetch Target Workflow JSON",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Workflow List": {
      "main": [
        [
          {
            "node": "Form Dynamic Workflow List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse LLM Mapping ToJson": {
      "ai_outputParser": [
        [
          {
            "node": "Generate Node Rename Mapping",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Check Trigger Source Type": {
      "main": [
        [
          {
            "node": "Display Workflow Version Links",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Done",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Target Workflow JSON": {
      "main": [
        [
          {
            "node": "Extract Workflow Nodes Connections",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Form Dynamic Workflow List": {
      "main": [
        [
          {
            "node": "Parse Selected Workflow Id",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Selected Workflow Id": {
      "main": [
        [
          {
            "node": "Set Target Workflow Id",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate All Nodes Renamed": {
      "main": [
        [
          {
            "node": "Apply Renamed Nodes Connections",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Stop",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare LLM Validation Data": {
      "main": [
        [
          {
            "node": "Validate All Nodes Renamed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Assemble New Workflow Object": {
      "main": [
        [
          {
            "node": "Save Renamed Workflow Version",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Workflow Version Links": {
      "main": [
        [
          {
            "node": "Check Trigger Source Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Node Rename Mapping": {
      "main": [
        [
          {
            "node": "Prepare LLM Validation Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Renamed Workflow Version": {
      "main": [
        [
          {
            "node": "Build Workflow Version Links",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Apply Renamed Nodes Connections": {
      "main": [
        [
          {
            "node": "Assemble New Workflow Object",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Workflow Nodes Connections": {
      "main": [
        [
          {
            "node": "Generate Node Rename Mapping",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}