{
  "name": "Interactive structured prompt builder with GPT-4.1-mini and guided questions",
  "nodes": [
    {
      "id": "bdd2d35f-4d20-490b-b1cb-03027044214f",
      "name": "Structured Output",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        336,
        560
      ]
    },
    {
      "id": "5b4f2aae-c43c-4724-806c-0031f16dd703",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        192,
        560
      ]
    },
    {
      "id": "c1e9f65b-b7f7-482f-976a-b3f3e24b1d90",
      "name": "OpenAI1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        400,
        160
      ]
    },
    {
      "id": "3de75523-d676-4016-a85e-fad780e04e53",
      "name": "Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        592,
        144
      ]
    },
    {
      "id": "b9559a33-c552-4fe6-bf35-52b0ad0633eb",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -464,
        -112
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "65c18786-05d6-47db-ac64-f5939c3282d8",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        -368
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "6f5e2d26-6502-4a34-bf9c-0c1335c9ddb4",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        736,
        -336
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "d50a6fb1-061f-4af3-8a25-b88a1ded918d",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -176,
        320
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "0eae6959-1be0-47dc-ad6b-4e17181842a4",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        704,
        416
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "c09dc961-411a-4c86-a8fe-e8178ff298f7",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        672,
        32
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "9a1dc5d4-cc46-4232-82da-73dbf41423c7",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1184,
        -112
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "60660783-c811-491f-ae35-b8933bbf6e4a",
      "name": "Loop question",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        768,
        336
      ]
    },
    {
      "id": "a60969ed-493c-4136-a465-f4c94a9d24ec",
      "name": "Relevant question",
      "type": "n8n-nodes-base.form",
      "position": [
        992,
        352
      ]
    },
    {
      "id": "37ec2338-b523-4ce2-afa0-c88e471b7240",
      "name": "Split question",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        544,
        336
      ]
    },
    {
      "id": "93981074-ddf0-4e56-a173-60fbcb2f74c1",
      "name": "Base question",
      "type": "n8n-nodes-base.form",
      "position": [
        -176,
        48
      ]
    },
    {
      "id": "734eab83-0bcf-4c6c-828c-0f7d3b70cdee",
      "name": "Form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -400,
        48
      ]
    },
    {
      "id": "b8795fe8-734f-4d23-a34b-89f5cfff0477",
      "name": "Fixing Output",
      "type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
      "position": [
        464,
        -32
      ]
    },
    {
      "id": "a30324fe-6d3e-4aec-b6c6-65fbbc51a7a5",
      "name": "Send prompt",
      "type": "n8n-nodes-base.form",
      "position": [
        752,
        -240
      ]
    },
    {
      "id": "2a8106f2-fe24-4a2b-8b11-271552745fbf",
      "name": "Prompt generator",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        400,
        -240
      ]
    },
    {
      "id": "000bb911-39be-43be-8b86-a1fe0fbb655c",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        224,
        -240
      ]
    },
    {
      "id": "d00b6728-073f-462d-892a-ed7d368e4257",
      "name": "ChainLlm AI",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        192,
        336
      ]
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Prompt generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI": {
      "ai_languageModel": [
        [
          {
            "node": "ChainLlm AI",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI1": {
      "ai_languageModel": [
        [
          {
            "node": "Prompt generator",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Fixing Output",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "ChainLlm AI": {
      "main": [
        [
          {
            "node": "Split question",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Base question": {
      "main": [
        [
          {
            "node": "ChainLlm AI",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          },
          {
            "node": "Split question",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fixing Output": {
      "ai_outputParser": [
        [
          {
            "node": "Prompt generator",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Loop question": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ],
        [
          {
            "node": "Relevant question",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Fixing Output",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Split question": {
      "main": [
        [
          {
            "node": "Loop question",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Form submission": {
      "main": [
        [
          {
            "node": "Base question",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prompt generator": {
      "main": [
        [
          {
            "node": "Send prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Relevant question": {
      "main": [
        [
          {
            "node": "Loop question",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output": {
      "ai_outputParser": [
        [
          {
            "node": "ChainLlm AI",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}