{
  "name": "AI-powered RAG configuration assistant: From form to email recommendations",
  "nodes": [
    {
      "id": "ccda174f-3fee-4c2a-9a43-bed1c191e2ee",
      "name": "Form Trigger",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -976,
        304
      ]
    },
    {
      "id": "3a5801af-eaf6-4073-a341-7b365b2fa39a",
      "name": "Analyze Input",
      "type": "n8n-nodes-base.code",
      "position": [
        -768,
        304
      ]
    },
    {
      "id": "e1159295-ad3c-4099-b142-24f5483e4731",
      "name": "Check File Upload",
      "type": "n8n-nodes-base.if",
      "position": [
        -496,
        304
      ]
    },
    {
      "id": "ac8a1708-032e-4b78-aeb5-81745d89d8b3",
      "name": "Extract File Content",
      "type": "n8n-nodes-base.code",
      "position": [
        -256,
        224
      ]
    },
    {
      "id": "ee8423ec-e0fe-46b5-b87f-6c6e59091741",
      "name": "Manual Input Path",
      "type": "n8n-nodes-base.code",
      "position": [
        -256,
        352
      ]
    },
    {
      "id": "be6cf06a-b292-433f-8090-78484b622f79",
      "name": "Merge Analysis",
      "type": "n8n-nodes-base.merge",
      "position": [
        -48,
        304
      ]
    },
    {
      "id": "5ceb2c8a-90dd-40b8-833f-39086ccbfac1",
      "name": "Prepare for AI",
      "type": "n8n-nodes-base.set",
      "position": [
        224,
        304
      ]
    },
    {
      "id": "96cabdf9-24d3-4068-8ed8-84504f836286",
      "name": "Configuration Decision Engine",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -992,
        704
      ]
    },
    {
      "id": "a7f769ca-95b3-414f-8e1b-b6d6add0cbcc",
      "name": "OpenRouter LLM",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -992,
        848
      ]
    },
    {
      "id": "9b2f0a9e-06cb-47e9-9443-92b4de4326d5",
      "name": "Generate n8n Workflow",
      "type": "n8n-nodes-base.code",
      "position": [
        -544,
        784
      ]
    },
    {
      "id": "61b5dea4-fce0-46f5-b2ae-cdb7e8e14fa8",
      "name": "Format HTML Report",
      "type": "n8n-nodes-base.code",
      "position": [
        32,
        704
      ]
    },
    {
      "id": "c7bffbf8-ec03-4361-a254-e5c386d05d54",
      "name": "Send Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        240,
        704
      ]
    },
    {
      "id": "9d962767-d6d4-48a0-8502-00b970669254",
      "name": "Create Workflow Attachment",
      "type": "n8n-nodes-base.code",
      "position": [
        -208,
        704
      ]
    },
    {
      "id": "7438d281-cf6c-45e5-b415-eb153776a555",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -864,
        -96
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "c2b3f583-b9f3-4df3-9733-4faaac1f2898",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1744,
        96
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "b3709fa1-a92b-4e40-81ff-0c06a7eceac4",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -352,
        528
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "d53fbe53-dae4-4c28-a85b-82380ff7a747",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        528
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "41e86c51-3bc1-4f03-af3d-a3246faae999",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1024,
        528
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "00ffe025-f9be-4e6c-8087-95e72cd63b54",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -576,
        96
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "dae3b3e1-8e7f-48fa-8777-ab7f40472b07",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1024,
        96
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "54189600-67bf-46a2-b856-0446bf084d46",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        96
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Form Trigger": {
      "main": [
        [
          {
            "node": "Analyze Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Input": {
      "main": [
        [
          {
            "node": "Check File Upload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Analysis": {
      "main": [
        [
          {
            "node": "Prepare for AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter LLM": {
      "ai_languageModel": [
        [
          {
            "node": "Configuration Decision Engine",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Prepare for AI": {
      "main": [
        [
          {
            "node": "Configuration Decision Engine",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check File Upload": {
      "main": [
        [
          {
            "node": "Extract File Content",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Manual Input Path",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Manual Input Path": {
      "main": [
        [
          {
            "node": "Merge Analysis",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Format HTML Report": {
      "main": [
        [
          {
            "node": "Send Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract File Content": {
      "main": [
        [
          {
            "node": "Merge Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate n8n Workflow": {
      "main": [
        [
          {
            "node": "Create Workflow Attachment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Workflow Attachment": {
      "main": [
        [
          {
            "node": "Format HTML Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Configuration Decision Engine": {
      "main": [
        [
          {
            "node": "Generate n8n Workflow",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}