Sistema RAG completo con Qdrant, con actualización automática de documentos

Avanzado

Este es unAI RAG, Multimodal AIflujo de automatización del dominio deautomatización que contiene 32 nodos.Utiliza principalmente nodos como Set, Wait, GoogleDrive, HttpRequest, ManualTrigger. Construye un sistema RAG autoactualizable usando OpenAI, Google Gemini, Qdrant y Google Drive

Requisitos previos
  • Credenciales de API de Google Drive
  • Pueden requerirse credenciales de autenticación para la API de destino
  • Clave de API de OpenAI
  • Información de conexión del servidor Qdrant
  • Clave de API de Google Gemini
Vista previa del flujo de trabajo
Visualización de las conexiones entre nodos, con soporte para zoom y panorámica
Exportar flujo de trabajo
Copie la siguiente configuración JSON en n8n para importar y usar este flujo de trabajo
{
  "id": "Xof38WtIJ3CpwM2D",
  "meta": {
    "instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
    "templateCredsSetupCompleted": true
  },
  "name": "Complete RAG System with autoUpdate documents Using Qdrant",
  "tags": [],
  "nodes": [
    {
      "id": "478c24a7-6e2a-49bb-93ab-84e701b62dd6",
      "name": "Al hacer clic en 'Probar flujo de trabajo'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -448,
        80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "414f3285-3ecb-4ea3-b4f3-b397112da952",
      "name": "Embeddings OpenAI1",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        944,
        480
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "4zwP0MSr8zkNvvV9",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "314e5293-b60c-4ac3-9eeb-b4ca66ee6b5c",
      "name": "Default Data Loader1",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        1088,
        480
      ],
      "parameters": {
        "options": {
          "metadata": {
            "metadataValues": [
              {
                "name": "file_id",
                "value": "={{ $('Get files').item.json.id }}"
              },
              {
                "name": "file_name",
                "value": "={{ $('Get files').item.json.name }}"
              }
            ]
          }
        },
        "dataType": "binary",
        "binaryMode": "specificField"
      },
      "typeVersion": 1
    },
    {
      "id": "d4620040-a7c7-43a7-a007-9ee1095a2fb1",
      "name": "Crear colección",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -144,
        -48
      ],
      "parameters": {
        "url": "http:///collections/test_sparse",
        "method": "PUT",
        "options": {},
        "jsonBody": "{\n  \"vectors\": {\n    \"size\": 1536,\n    \"distance\": \"Cosine\"  \n  },\n  \"sparse_vectors\": {\n        \"text\": { }\n  },\n  \"shard_number\": 1,  \n  \"replication_factor\": 1,  \n  \"write_consistency_factor\": 1 \n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "qhny6r5ql9wwotpn",
          "name": "Qdrant API (Hetzner)"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "b2ba10ce-9557-4c27-b859-fb1df76c30d1",
      "name": "Recursive Character Text Splitter",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        1088,
        672
      ],
      "parameters": {
        "options": {},
        "chunkSize": 500,
        "chunkOverlap": 50
      },
      "typeVersion": 1
    },
    {
      "id": "0a940a8e-41b3-4261-9f7c-5e9a6db29bae",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        432,
        224
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "058610f3-46aa-43ae-82c1-abf9327cd3da",
      "name": "Embeddings OpenAI2",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        512,
        1424
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "4zwP0MSr8zkNvvV9",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "8500aecb-a176-4d7b-98d4-790235fab977",
      "name": "Default Data Loader",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        640,
        1424
      ],
      "parameters": {
        "options": {
          "metadata": {
            "metadataValues": [
              {
                "name": "file_id",
                "value": "={{ $('Get file').item.json.file_id }}"
              },
              {
                "name": "file_name",
                "value": "={{ $binary.data.fileName}}"
              }
            ]
          }
        },
        "dataType": "binary",
        "binaryMode": "specificField"
      },
      "typeVersion": 1
    },
    {
      "id": "a3212d21-f3ba-4970-b7d4-cdcf91cde2ff",
      "name": "Recursive Character Text Splitter1",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        624,
        1632
      ],
      "parameters": {
        "options": {},
        "chunkSize": 500,
        "chunkOverlap": 50
      },
      "typeVersion": 1
    },
    {
      "id": "0561d614-e10f-40ff-8d2a-eb92f23ffd73",
      "name": "Establecer file_id",
      "type": "n8n-nodes-base.set",
      "position": [
        -96,
        880
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "b413a226-0641-4ed8-9951-d17b6a6a9a4b",
              "name": "file_id",
              "type": "string",
              "value": "={{ $json.id }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "ce097e48-8cb4-4bb8-a717-1213c6134b42",
      "name": "Limpiar colección",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -144,
        224
      ],
      "parameters": {
        "url": "http://QDRANTURL/collections/COLLECTION/points/delete",
        "method": "POST",
        "options": {},
        "jsonBody": "{\n  \"filter\": {}\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "qhny6r5ql9wwotpn",
          "name": "Qdrant API (Hetzner)"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "95ec291c-c9d9-42ef-945d-d06bcd6560c0",
      "name": "Eliminar puntos por file_id",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        304,
        768
      ],
      "parameters": {
        "url": "http://QDRANTURL/collections/COLLECTION/points/delete",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"filter\": {\n    \"must\": [\n      {\n          \"key\": \"metadata.file_id\",\n          \"match\": { \"value\": \"{{$json.file_id}}\" }\n        }\n    ]\n  }\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "qhny6r5ql9wwotpn",
          "name": "Qdrant API (Hetzner)"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "eb5dbda9-f67f-4d45-b4a3-fac167d4aef2",
      "name": "Buscar archivos",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        128,
        224
      ],
      "parameters": {
        "filter": {
          "driveId": {
            "__rl": true,
            "mode": "list",
            "value": "My Drive",
            "cachedResultUrl": "https://drive.google.com/drive/my-drive",
            "cachedResultName": "My Drive"
          },
          "folderId": {
            "__rl": true,
            "mode": "list",
            "value": "1RO5ByPhq2yvYLmbapTNC_kKdU5lZd4W5",
            "cachedResultUrl": "https://drive.google.com/drive/folders/1RO5ByPhq2yvYLmbapTNC_kKdU5lZd4W5",
            "cachedResultName": "Test Negozio"
          }
        },
        "options": {},
        "resource": "fileFolder"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "HEy5EuZkgPZVEa9w",
          "name": "Google Drive account (n3w.it)"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "a7a0d544-45f5-4f18-8b45-8b0bbdc47c5b",
      "name": "Esperar 5 seg.",
      "type": "n8n-nodes-base.wait",
      "position": [
        1392,
        240
      ],
      "webhookId": "138d379f-88a5-44a1-b45b-1595a05a1eb9",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "7790b835-3dde-4b59-b0fe-e3afec02eae8",
      "name": "Actualizar archivo",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        544,
        1232
      ],
      "parameters": {
        "mode": "insert",
        "options": {},
        "qdrantCollection": {
          "__rl": true,
          "mode": "list",
          "value": "negozio-emporio-verde",
          "cachedResultName": "negozio-emporio-verde"
        }
      },
      "credentials": {
        "qdrantApi": {
          "id": "iyQ6MQiVaF3VMBmt",
          "name": "QdrantApi account (Hetzner)"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "bf7ccb97-52a4-4d8e-87a2-f3f3de6ac6d3",
      "name": "Insertar archivo",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        1008,
        240
      ],
      "parameters": {
        "mode": "insert",
        "options": {},
        "qdrantCollection": {
          "__rl": true,
          "mode": "list",
          "value": "negozio-emporio-verde",
          "cachedResultName": "negozio-emporio-verde"
        }
      },
      "credentials": {
        "qdrantApi": {
          "id": "iyQ6MQiVaF3VMBmt",
          "name": "QdrantApi account (Hetzner)"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "d65cd402-d2ae-443d-91d0-c5b4979789df",
      "name": "Obtener archivo",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        304,
        1232
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.file_id }}"
        },
        "options": {
          "googleFileConversion": {
            "conversion": {
              "docsToFormat": "text/plain"
            }
          }
        },
        "operation": "download"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "HEy5EuZkgPZVEa9w",
          "name": "Google Drive account (n3w.it)"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "c0214dc1-ee28-40b3-a043-b1cc3465dd7b",
      "name": "Obtener archivos",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        704,
        240
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.id }}"
        },
        "options": {
          "googleFileConversion": {
            "conversion": {
              "docsToFormat": "text/plain"
            }
          }
        },
        "operation": "download"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "HEy5EuZkgPZVEa9w",
          "name": "Google Drive account (n3w.it)"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "970e5ac0-51c9-4300-82a9-4420f152db06",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        -416
      ],
      "parameters": {
        "color": 3,
        "width": 840,
        "height": 220,
        "content": "## Complete RAG System with autoUpdate documents Using Qdrant\n\nThis workflow implements a **Retrieval-Augmented Generation (RAG)** system that:\n\n* Stores vectorized documents in **Qdrant**,\n* Retrieves relevant content based on user input,\n* Generates AI answers using **Google Gemini**,\n* Automatically **update documents** (from Google Drive).\n"
      },
      "typeVersion": 1
    },
    {
      "id": "12c6fa79-4b60-45df-a39f-61b8dd834fe8",
      "name": "Cuando se recibe mensaje de chat",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -384,
        1984
      ],
      "webhookId": "c9460030-9e23-41c4-9fcd-6c4c7fadf784",
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "28373f4f-28b2-49c6-9253-173e33039ea1",
      "name": "Question and Answer Chain",
      "type": "@n8n/n8n-nodes-langchain.chainRetrievalQa",
      "position": [
        -64,
        1984
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.5
    },
    {
      "id": "c126a969-d3ab-4e1f-847d-3366c56134f3",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -176,
        2224
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-1.5-flash"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "0p34rXqIqy8WuoPg",
          "name": "Google Gemini(PaLM) Api account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "5398d1f7-cf4f-4355-bce4-255b48d4d4ea",
      "name": "Vector Store Retriever",
      "type": "@n8n/n8n-nodes-langchain.retrieverVectorStore",
      "position": [
        64,
        2272
      ],
      "parameters": {
        "topK": 5
      },
      "typeVersion": 1
    },
    {
      "id": "1c7614d0-6067-4dca-bbd4-e35e52f44374",
      "name": "Qdrant Vector Store1",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        -64,
        2480
      ],
      "parameters": {
        "options": {},
        "qdrantCollection": {
          "__rl": true,
          "mode": "list",
          "value": "negozio-emporio-verde",
          "cachedResultName": "negozio-emporio-verde"
        }
      },
      "credentials": {
        "qdrantApi": {
          "id": "iyQ6MQiVaF3VMBmt",
          "name": "QdrantApi account (Hetzner)"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "21bb9ac3-4a70-477f-a404-df90328bff53",
      "name": "Embeddings OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        -64,
        2672
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "4zwP0MSr8zkNvvV9",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "01922882-5a91-4a0d-b13d-59528467b89b",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1408,
        480
      ],
      "parameters": {
        "width": 520,
        "height": 420,
        "content": "Set as metadata:\n- FILE_ID from Google Drive\n- FILE_NAME from Google Drive\n\n```\n{\n  \"source\": \"blob\",\n  \"blobType\": \"text/plain\",\n  \"loc\": {\n    \"lines\": {\n      \"from\": 1,\n      \"to\": 15\n    }\n  },\n  \"file_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n  \"file_name\": \"FAQ\"\n}\n```\n\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "2f6b7fd1-5545-46cc-a7e3-7b3c4de52e0c",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        144
      ],
      "parameters": {
        "color": 4,
        "width": 540,
        "height": 460,
        "content": "# STEP 2\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Documents vectorization with Qdrant and Google Drive\nChange:\n- QDRANTURL\n- COLLECTION"
      },
      "typeVersion": 1
    },
    {
      "id": "c551c56f-e43d-45dd-922e-da0858008486",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        -128
      ],
      "parameters": {
        "color": 6,
        "width": 880,
        "height": 220,
        "content": "# STEP 1\n\n## Create Qdrant Collection\nChange:\n- QDRANTURL\n- COLLECTION"
      },
      "typeVersion": 1
    },
    {
      "id": "75d45205-087b-433f-b049-71dcb96ea750",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        928,
        1392
      ],
      "parameters": {
        "width": 520,
        "height": 420,
        "content": "Set as metadata:\n- FILE_ID from Google Drive\n- FILE_NAME from Google Drive\n\n```\n{\n  \"source\": \"blob\",\n  \"blobType\": \"text/plain\",\n  \"loc\": {\n    \"lines\": {\n      \"from\": 1,\n      \"to\": 15\n    }\n  },\n  \"file_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n  \"file_name\": \"FAQ\"\n}\n```\n\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "6fa1eb40-51ec-41c2-aa67-620152e0ba6f",
      "name": "¿Actualizar?",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        -416,
        880
      ],
      "parameters": {
        "event": "fileUpdated",
        "options": {
          "fileType": "all"
        },
        "pollTimes": {
          "item": [
            {
              "mode": "everyHour"
            }
          ]
        },
        "triggerOn": "specificFolder",
        "folderToWatch": {
          "__rl": true,
          "mode": "list",
          "value": "1RO5ByPhq2yvYLmbapTNC_kKdU5lZd4W5",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1RO5ByPhq2yvYLmbapTNC_kKdU5lZd4W5",
          "cachedResultName": "Test Negozio"
        }
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "HEy5EuZkgPZVEa9w",
          "name": "Google Drive account (n3w.it)"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "753f71fc-d71f-4b4f-82f1-df9a68784deb",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        688
      ],
      "parameters": {
        "color": 4,
        "width": 400,
        "height": 440,
        "content": "# STEP 3\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Documents vectorization with Qdrant and Google Drive\nChange:\n- QDRANTURL\n- COLLECTION"
      },
      "typeVersion": 1
    },
    {
      "id": "4534f3fb-f0c5-44a6-be8e-2a41f7806ffc",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        1824
      ],
      "parameters": {
        "color": 2,
        "width": 580,
        "height": 120,
        "content": "# STEP 4\n\nTry RAG"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "2cf144b4-3a5c-4117-b946-aad6bde36ab3",
  "connections": {
    "6fa1eb40-51ec-41c2-aa67-620152e0ba6f": {
      "main": [
        [
          {
            "node": "0561d614-e10f-40ff-8d2a-eb92f23ffd73",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d65cd402-d2ae-443d-91d0-c5b4979789df": {
      "main": [
        [
          {
            "node": "7790b835-3dde-4b59-b0fe-e3afec02eae8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c0214dc1-ee28-40b3-a043-b1cc3465dd7b": {
      "main": [
        [
          {
            "node": "bf7ccb97-52a4-4d8e-87a2-f3f3de6ac6d3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bf7ccb97-52a4-4d8e-87a2-f3f3de6ac6d3": {
      "main": [
        [
          {
            "node": "a7a0d544-45f5-4f18-8b45-8b0bbdc47c5b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0561d614-e10f-40ff-8d2a-eb92f23ffd73": {
      "main": [
        [
          {
            "node": "95ec291c-c9d9-42ef-945d-d06bcd6560c0",
            "type": "main",
            "index": 0
          },
          {
            "node": "d65cd402-d2ae-443d-91d0-c5b4979789df",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a7a0d544-45f5-4f18-8b45-8b0bbdc47c5b": {
      "main": [
        [
          {
            "node": "0a940a8e-41b3-4261-9f7c-5e9a6db29bae",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "eb5dbda9-f67f-4d45-b4a3-fac167d4aef2": {
      "main": [
        [
          {
            "node": "0a940a8e-41b3-4261-9f7c-5e9a6db29bae",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0a940a8e-41b3-4261-9f7c-5e9a6db29bae": {
      "main": [
        [],
        [
          {
            "node": "c0214dc1-ee28-40b3-a043-b1cc3465dd7b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ce097e48-8cb4-4bb8-a717-1213c6134b42": {
      "main": [
        [
          {
            "node": "eb5dbda9-f67f-4d45-b4a3-fac167d4aef2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "21bb9ac3-4a70-477f-a404-df90328bff53": {
      "ai_embedding": [
        [
          {
            "node": "1c7614d0-6067-4dca-bbd4-e35e52f44374",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "414f3285-3ecb-4ea3-b4f3-b397112da952": {
      "ai_embedding": [
        [
          {
            "node": "bf7ccb97-52a4-4d8e-87a2-f3f3de6ac6d3",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "058610f3-46aa-43ae-82c1-abf9327cd3da": {
      "ai_embedding": [
        [
          {
            "node": "7790b835-3dde-4b59-b0fe-e3afec02eae8",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "8500aecb-a176-4d7b-98d4-790235fab977": {
      "ai_document": [
        [
          {
            "node": "7790b835-3dde-4b59-b0fe-e3afec02eae8",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "314e5293-b60c-4ac3-9eeb-b4ca66ee6b5c": {
      "ai_document": [
        [
          {
            "node": "bf7ccb97-52a4-4d8e-87a2-f3f3de6ac6d3",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "1c7614d0-6067-4dca-bbd4-e35e52f44374": {
      "ai_vectorStore": [
        [
          {
            "node": "5398d1f7-cf4f-4355-bce4-255b48d4d4ea",
            "type": "ai_vectorStore",
            "index": 0
          }
        ]
      ]
    },
    "5398d1f7-cf4f-4355-bce4-255b48d4d4ea": {
      "ai_retriever": [
        [
          {
            "node": "28373f4f-28b2-49c6-9253-173e33039ea1",
            "type": "ai_retriever",
            "index": 0
          }
        ]
      ]
    },
    "c126a969-d3ab-4e1f-847d-3366c56134f3": {
      "ai_languageModel": [
        [
          {
            "node": "28373f4f-28b2-49c6-9253-173e33039ea1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "28373f4f-28b2-49c6-9253-173e33039ea1": {
      "main": [
        []
      ]
    },
    "12c6fa79-4b60-45df-a39f-61b8dd834fe8": {
      "main": [
        [
          {
            "node": "28373f4f-28b2-49c6-9253-173e33039ea1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b2ba10ce-9557-4c27-b859-fb1df76c30d1": {
      "ai_textSplitter": [
        [
          {
            "node": "314e5293-b60c-4ac3-9eeb-b4ca66ee6b5c",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "478c24a7-6e2a-49bb-93ab-84e701b62dd6": {
      "main": [
        [
          {
            "node": "d4620040-a7c7-43a7-a007-9ee1095a2fb1",
            "type": "main",
            "index": 0
          },
          {
            "node": "ce097e48-8cb4-4bb8-a717-1213c6134b42",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a3212d21-f3ba-4970-b7d4-cdcf91cde2ff": {
      "ai_textSplitter": [
        [
          {
            "node": "8500aecb-a176-4d7b-98d4-790235fab977",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    }
  }
}
Preguntas frecuentes

¿Cómo usar este flujo de trabajo?

Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.

¿En qué escenarios es adecuado este flujo de trabajo?

Avanzado - RAG de IA, IA Multimodal

¿Es de pago?

Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.

Información del flujo de trabajo
Nivel de dificultad
Avanzado
Número de nodos32
Categoría2
Tipos de nodos16
Descripción de la dificultad

Adecuado para usuarios avanzados, flujos de trabajo complejos con 16+ nodos

Autor

Full-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at info@n3w.it or add me on Linkedin.com/in/davideboizza

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34