{
  "name": "Turing AI — Customer Support Chatbot",
  "nodes": [
    {
      "parameters": {},
      "name": "Start",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        240,
        300
      ],
      "id": "bf9c6f3d-4097-472d-9fef-8c38664526cb"
    },
    {
      "parameters": {
        "method": "chat.send",
        "params": "{ \"question\": \"What products does Vixo offer?\", \"session_id\": \"n8n-demo-1\" }",
        "product": "turing"
      },
      "name": "Turing AI Chat",
      "type": "n8n-nodes-mediavox.mediavox",
      "typeVersion": 2,
      "position": [
        480,
        300
      ],
      "credentials": {
        "mediavoxApi": {
          "name": "Mediavox API"
        }
      },
      "notes": "Uses RAG (knowledge base) to answer. Same session_id = conversation memory. New session_id = fresh start.",
      "id": "e174c76e-5004-4924-b7b0-476d309314e0"
    },
    {
      "parameters": {
        "values": {
          "string": [
            {
              "name": "answer",
              "value": "={{ $json.answer }}"
            },
            {
              "name": "sources",
              "value": "={{ JSON.stringify($json.sources) }}"
            }
          ]
        }
      },
      "name": "Format Response",
      "type": "n8n-nodes-base.set",
      "typeVersion": 1,
      "position": [
        700,
        300
      ],
      "notes": "Returns the AI answer + sources to your app",
      "id": "81cfcc93-ea26-4401-b456-6da0e932e6db"
    }
  ],
  "connections": {
    "Turing AI Chat": {
      "main": [
        [
          {
            "node": "Format Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start": {
      "main": [
        [
          {
            "node": "Turing AI Chat",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "saveDataSuccessExecution": "all",
    "executionOrder": "v1",
    "binaryMode": "separate"
  },
  "tags": [
    "Turing AI",
    "Chatbot",
    "RAG"
  ],
  "pinData": {},
  "active": false,
  "versionId": "9015eed0-329a-4d1c-82d0-b3be57a4c165",
  "meta": {
    "templateCredsSetupCompleted": true
  }
}