{
  "id": "KnDPqmOImxWj0wpJ",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Client FAQ with RAG",
  "tags": [],
  "nodes": [
    {
      "id": "eecd2895-7c90-4c39-aea0-df1bee0c5ea1",
      "name": "Download File",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        192,
        -208
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "652148d1-e9f2-4c11-a7af-b8be79fc05f4",
      "name": "Return Answer",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1488,
        -208
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "22daac0f-0b08-4278-9b30-e860ce13d081",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -480,
        -208
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "2e48c8de-b4aa-411f-a941-2ca27478d92a",
      "name": "Search files and folders",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -32,
        -208
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "8c1b6c1d-3867-4de9-a3f7-4da349ad0680",
      "name": "Basic LLM Chain",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1088,
        -208
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "99f0ca75-788d-4842-a3d5-c3fb8d33926b",
      "name": "Azure OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        1216,
        -16
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "204e7e1d-ca20-4244-97e8-274ff50730a1",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        -256,
        -208
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a7fee491-3849-4f6a-973e-8a3316ad675e",
      "name": "Extract from File",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        640,
        -208
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d4f816ed-f0bf-4ddd-93c6-1faeca103d67",
      "name": "Edit Fields1",
      "type": "n8n-nodes-base.set",
      "position": [
        864,
        -208
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "70ca3288-578b-448d-8c91-4db21f90f1b7",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        416,
        -208
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "0b85ed52-433a-41c8-b59c-7ce571a60058",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        -448
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "53e32f3b-daac-4162-b5c5-2f03f27deb33",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -336,
        -48
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "05b81c89-7025-4391-a9d2-04694cea55a9",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        -528
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0732aea4-13db-4b15-a23a-90f944fae5f4",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        -32
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e1b04004-a6c4-49bc-afdc-54595d1aad5f",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        256,
        -528
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b188aeee-b9eb-4f5a-b69c-50d222f36f7e",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        -32
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1679efb1-ce04-4615-8370-88f080f453ac",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        -560
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "35d57883-2c17-4efa-8962-5885d9864664",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1056,
        -560
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9a9fa02f-082e-46df-b02e-c6fa8970b4bf",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        944,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "68615f2a-ad06-40c4-a951-14252cb44798",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1472,
        -528
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "cc50129c-88a8-4116-b3a3-39640cabb090",
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Search files and folders",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields1": {
      "main": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download File": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Basic LLM Chain": {
      "main": [
        [
          {
            "node": "Return Answer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Extract from File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract from File": {
      "main": [
        [
          {
            "node": "Edit Fields1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Azure OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Search files and folders": {
      "main": [
        [
          {
            "node": "Download File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}