Re-publicación automática de trabajos usando Rag

Avanzado

Este es unHR, AI RAGflujo de automatización del dominio deautomatización que contiene 56 nodos.Utiliza principalmente nodos como If, Set, Code, Wait, JinaAi. Extracción y publicación automatizadas de puestos de trabajo usando RAG, Jina AI y OpenAI a WordPress

Requisitos previos
  • Bot Token de Telegram
  • 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 de la base de datos PostgreSQL
  • URL y Clave de API de Supabase
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": "zQfZUfneTz0sLoN1",
  "meta": {
    "instanceId": "7ff0356880634eb3406dab6a2859c5af49a81da2e79ca3d746c5dacfbb1f8873",
    "templateCredsSetupCompleted": true
  },
  "name": "Auto repost job with Rag",
  "tags": [],
  "nodes": [
    {
      "id": "a208fdb8-2e05-4da7-ba56-1ff523229ab6",
      "name": "Buscar Archivo",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2416,
        32
      ],
      "parameters": {
        "filter": {
          "folderId": {
            "__rl": true,
            "mode": "list",
            "value": "1qarDrwjNIrrx2wk8RMzLpyIq_6r0DHLX",
            "cachedResultUrl": "https://drive.google.com/drive/folders/1qarDrwjNIrrx2wk8RMzLpyIq_6r0DHLX",
            "cachedResultName": "GPT"
          }
        },
        "options": {},
        "resource": "fileFolder",
        "returnAll": true
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "xw8pUsxmo4bQv4HF",
          "name": "OAuth - Khaisa Studio"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "a4dfb8b2-5732-42af-baf4-86f1606df581",
      "name": "Obtener Datos",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2640,
        32
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.id }}"
        },
        "options": {},
        "operation": "download"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "xw8pUsxmo4bQv4HF",
          "name": "OAuth - Khaisa Studio"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "79cdc892-5fc1-4c5f-a5f1-a8d79634bc26",
      "name": "Supabase Vector Store",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
      "position": [
        3104,
        32
      ],
      "parameters": {
        "mode": "insert",
        "options": {},
        "tableName": {
          "__rl": true,
          "mode": "list",
          "value": "documents",
          "cachedResultName": "documents"
        }
      },
      "credentials": {
        "supabaseApi": {
          "id": "URig1lcHSai00ex4",
          "name": "Supabase Khmuhtadin"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "4686a9c5-ba78-4876-aabf-ce9ad184379a",
      "name": "Embeddings OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        3088,
        256
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "OyW1NJafxSo3fljc",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "ded5a80a-e888-4910-ab72-242aa17ab0af",
      "name": "Cargador de Datos Predeterminado",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        3216,
        256
      ],
      "parameters": {
        "options": {},
        "dataType": "binary"
      },
      "typeVersion": 1
    },
    {
      "id": "474a9a6a-35a6-460b-bae6-0e30c5140bae",
      "name": "Separador de Texto Recursivo",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        3312,
        464
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "7c4a7a53-bd2e-4679-baff-672154184510",
      "name": "Iterar sobre Elementos",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2864,
        32
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "1b5a91cc-2f72-493c-af97-1bea742b16d0",
      "name": "Agente de IA",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "disabled": true,
      "position": [
        -464,
        224
      ],
      "parameters": {
        "text": "={{ $json.text }}",
        "options": {
          "systemMessage": "=Eres un regenerador de artículos especializado que trabaja exclusivamente con información y reglas almacenadas en la base de conocimientos \"notodoanimacion\".\nFunción Principal\nRegenerar artículos siguiendo estrictamente las reglas de formato, estilo y estructura definidas en el dataset RAG. No inventes reglas ni formatos propios.\nProtocolo de Trabajo\n1. Consulta Obligatoria\n\nSIEMPRE usa la herramienta \"notodoanimacion\" para buscar:\n\nReglas de formato y estructura de artículos\nGuías de estilo de escritura\nEjemplos de formato correcto\nInformación relevante sobre el tema solicitado\n\n2. Cumplimiento Estricto\nSigue EXACTAMENTE las reglas de formato encontradas en el dataset\nRespeta las guías de estilo definidas en la base de conocimientos\nAplica la estructura de artículos especificada en el RAG\nMantén el tono y estilo establecido en las directrices\n\n3. Proceso de Regeneración\nBusca las reglas de formato en la base de conocimientos\nBusca información sobre el tema solicitado\nAplica las reglas encontradas al contenido\nRegenera el artículo siguiendo exactamente esas especificaciones\n\n\nImportante\nNO crees reglas propias de formato\nNO improvises estructura de artículos\nTODO debe basarse en lo que encuentres en \"notodoanimacion\"\nSi no encuentras reglas específicas, pregunta al usuario por más detalles\n\nIdioma\nTrabaja principalmente en español, adaptándote al tono y registro encontrado en el dataset.\nResponde siempre consultando primero la base de conocimientos para obtener las reglas correctas."
        },
        "promptType": "define"
      },
      "typeVersion": 2
    },
    {
      "id": "05932e2f-3351-497e-b7a9-0369e292e5d8",
      "name": "Modelo de Chat OpenAI",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "disabled": true,
      "position": [
        -432,
        448
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini",
          "cachedResultName": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "OyW1NJafxSo3fljc",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "92521215-724c-4dc8-b39c-2b25fc69febc",
      "name": "Supabase Vector Store1",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
      "position": [
        1792,
        936
      ],
      "parameters": {
        "mode": "retrieve-as-tool",
        "options": {
          "queryName": "match_documents"
        },
        "toolName": "document",
        "tableName": {
          "__rl": true,
          "mode": "list",
          "value": "documents",
          "cachedResultName": "documents"
        },
        "toolDescription": "use thisto get information about notodoanimacion"
      },
      "credentials": {
        "supabaseApi": {
          "id": "URig1lcHSai00ex4",
          "name": "Supabase Khmuhtadin"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "14f9f406-cd18-492d-9133-fabef16f16a0",
      "name": "Embeddings OpenAI1",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        1888,
        1144
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "OyW1NJafxSo3fljc",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "04f81336-d1db-43ba-82b0-d10b9119ac61",
      "name": "Disparador Google Drive",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "disabled": true,
      "position": [
        2192,
        32
      ],
      "parameters": {
        "event": "fileUpdated",
        "options": {
          "fileType": "all"
        },
        "pollTimes": {
          "item": [
            {
              "hour": 0
            }
          ]
        },
        "triggerOn": "specificFolder",
        "folderToWatch": {
          "__rl": true,
          "mode": "list",
          "value": "1qarDrwjNIrrx2wk8RMzLpyIq_6r0DHLX",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1qarDrwjNIrrx2wk8RMzLpyIq_6r0DHLX",
          "cachedResultName": "GPT"
        }
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "xw8pUsxmo4bQv4HF",
          "name": "OAuth - Khaisa Studio"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "017345a5-2108-405a-b095-9502f8dd0b39",
      "name": "📥 Nuevo Enlace de Empleo vía Telegram",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -448,
        984
      ],
      "webhookId": "925f5476-09a3-46b9-9b53-0f43a2c84995",
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "oEBplQsvCu6Hviel",
          "name": "Jon - Notodo RAG"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "be51de9b-f915-4925-97be-008217a5eb53",
      "name": "🔧 Preparar URL para Extracción",
      "type": "n8n-nodes-base.set",
      "position": [
        -224,
        984
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "8d5bf5e7-0f91-4012-b180-4bef3f9c93cd",
              "name": "text",
              "type": "string",
              "value": "={{ $json.text ||  $json.message.text }}"
            },
            {
              "id": "1a3739bb-d9c2-449b-929b-a1fb58196458",
              "name": "cleanUrl",
              "type": "string",
              "value": "={{ ($json.message.text && $json.message.text.includes('://')\n    ? $json.message.text.split('/').slice(0,3).join('/')\n    : 'Invalid URL'\n  ).replace(/\\r?\\n$/, '') }}"
            }
          ]
        },
        "includeOtherFields": true
      },
      "typeVersion": 3.4
    },
    {
      "id": "c7478a71-075f-404e-a470-16665b318554",
      "name": "🧮 Mapear Tipo de Empleo e IDs de Categoría",
      "type": "n8n-nodes-base.code",
      "position": [
        2192,
        664
      ],
      "parameters": {
        "jsCode": "// 1. Ambil array kategori dari input\nconst inputCategories = $('🧠 Extract Job Data with GPT').first().json.choices[0].message.content.categories;\n\n// 1b. Ambil job_type sebagai satu string\nconst inputType = $('🧠 Extract Job Data with GPT').first().json.choices[0].message.content.job_type;\n\n// 2. Array mapping antara `category` dan `id`\nconst categoryMap = [\n  { id: 299, category: \"2d\" },\n  { id: 298, category: \"3d\" },\n  { id: 315, category: \"3DFX\" },\n  { id: 284, category: \"Animación 2d\" },\n  { id: 286, category: \"Animación 3d\" },\n  { id: 617, category: \"Artista de color\" },\n  { id: 312, category: \"Audio SFX\" },\n  { id: 540, category: \"character artist\" },\n  { id: 445, category: \"Character FX (CFX)\" },\n  { id: 596, category: \"Cinematic Artist\" },\n  { id: 462, category: \"Comic\" },\n  { id: 294, category: \"Compositor 3d\" },\n  { id: 487, category: \"Compositor Digital\" },\n  { id: 463, category: \"Concept Art\" },\n  { id: 300, category: \"Creativo\" },\n  { id: 537, category: \"Crowd Artist\" },\n  { id: 301, category: \"Desarrollo de Software\" },\n  { id: 316, category: \"Desarrollo Visual\" },\n  { id: 302, category: \"Dibujante\" },\n  { id: 612, category: \"Dirección\" },\n  { id: 292, category: \"Director de Arte\" },\n  { id: 317, category: \"Diseño de personajes\" },\n  { id: 291, category: \"Diseño Gráfico\" },\n  { id: 310, category: \"Edición de video\" },\n  { id: 533, category: \"Environment Artist\" },\n  { id: 620, category: \"Escultura Digital\" },\n  { id: 622, category: \"Filmmaker\" },\n  { id: 304, category: \"Fotografía\" },\n  { id: 314, category: \"Game Artist\" },\n  { id: 486, category: \"Game Designer\" },\n  { id: 506, category: \"Game developer\" },\n  { id: 482, category: \"Game Producer\" },\n  { id: 576, category: \"Gameplay Animator\" },\n  { id: 290, category: \"Generalista 3d\" },\n  { id: 452, category: \"Grooming Hair/Fur\" },\n  { id: 303, category: \"Guionista\" },\n  { id: 305, category: \"Iluminación\" },\n  { id: 288, category: \"Ilustración\" },\n  { id: 616, category: \"Inteligencia Artificial\" },\n  { id: 311, category: \"Layout Artist\" },\n  { id: 619, category: \"Look Development\" },\n  { id: 464, category: \"Matte Painting\" },\n  { id: 287, category: \"Modelador 3d\" },\n  { id: 524, category: \"Motion Designer\" },\n  { id: 289, category: \"Motion Graphics\" },\n  { id: 588, category: \"Pixel Art\" },\n  { id: 307, category: \"Postproducción\" },\n  { id: 594, category: \"Previs\" },\n  { id: 297, category: \"Producción\" },\n  { id: 483, category: \"Programador\" },\n  { id: 592, category: \"Realidad Virtual (VR)\" },\n  { id: 448, category: \"Render Wrangler\" },\n  { id: 313, category: \"Rigger\" },\n  { id: 459, category: \"Shading & Texturing\" },\n  { id: 295, category: \"Storyboard\" },\n  { id: 296, category: \"Storytelling\" },\n  { id: 595, category: \"Technical Artist\" },\n  { id: 485, category: \"Technical Director (TD)\" },\n  { id: 308, category: \"UI / UX\" },\n  { id: 309, category: \"VFX\" },\n  { id: 589, category: \"Videojuegos\" },\n  { id: 593, category: \"Virtual Production\" },\n  { id: 293, category: \"Visualización Arquitectónica\" },\n  { id: 590, category: \"VR & AR\" }\n];\n\n// 2b. Array mapping antara `type` dan `id`\nconst typeMap = [\n  { \"id\": 282, \"type\": \"Freelance / Remoto / Teletrabajo\" },\n  { \"id\": 318, \"type\": \"Indiferente\" },\n  { \"id\": 283, \"type\": \"Prácticas\" },\n  { \"id\": 281, \"type\": \"Proyecto\" },\n  { \"id\": 279, \"type\": \"Tiempo completo\" },\n  { \"id\": 280, \"type\": \"Tiempo parcial\" }\n];\n\n// 3. Map kategori input → array ID\nconst fixCategory = Array.isArray(inputCategories)\n  ? inputCategories\n      .map(name => {\n        const match = categoryMap.find(obj => obj.category === name);\n        return match ? match.id : null;\n      })\n      .filter(id => id !== null)\n  : [];\n\n// 4. Cari ID tipe berdasarkan inputType (string), balikan sebagai array\nconst foundType = typeMap.find(obj => obj.type === inputType);\nconst fixType = foundType ? [foundType.id] : [];\n\n// 5. Kembalikan kedua array dalam satu objek JSON\nreturn [\n  {\n    json: {\n      fixCategory,\n      fixType\n    }\n  }\n];\n"
      },
      "typeVersion": 2
    },
    {
      "id": "8570e5e6-fb1c-4569-a698-a5cfcb07d72b",
      "name": "📥 Descargar Logo de la Empresa",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        2864,
        664
      ],
      "parameters": {
        "url": "={{ $json.processedIconUrl }}",
        "options": {
          "response": {
            "response": {
              "responseFormat": "file"
            }
          }
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "841489b8-d59c-46dd-a9c0-81bacea2e6de",
      "name": "☁️ Subir Logo a WordPress",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        3088,
        664
      ],
      "parameters": {
        "url": "https://yourwebsite.es/wp-json/wp/v2/media",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "contentType": "binaryData",
        "sendHeaders": true,
        "authentication": "predefinedCredentialType",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Disposition",
              "value": "=attachment; filename=\"logo-{{ $('🧠 Extract Job Data with GPT').item.json.choices[0].message.content.company }}.jpeg\""
            },
            {
              "name": "Content-Type",
              "value": "image/jpeg"
            }
          ]
        },
        "inputDataFieldName": "data",
        "nodeCredentialType": "wordpressApi"
      },
      "credentials": {
        "wordpressApi": {
          "id": "IMwbWCL0HxvZreh2",
          "name": "Wordpress account"
        }
      },
      "retryOnFail": true,
      "typeVersion": 4.2
    },
    {
      "id": "54969f5d-ef4e-42c0-ba31-0606dd029e3a",
      "name": "📦 Formatear Datos Finales del Anuncio",
      "type": "n8n-nodes-base.set",
      "position": [
        3312,
        664
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "title",
              "name": "title",
              "type": "string",
              "value": "={{ $('🧠 Extract Job Data with GPT').item.json.choices[0].message.content.title }}"
            },
            {
              "id": "content",
              "name": "content",
              "type": "string",
              "value": "={{ $('🧠 Extract Job Data with GPT').item.json.choices[0].message.content.html }}\n"
            },
            {
              "id": "job_listing_type",
              "name": "job_listing_type",
              "type": "array",
              "value": "=[{{ $('🧮 Map Job Type & Category IDs').item.json.fixType[0] }}]"
            },
            {
              "id": "job_listing_category",
              "name": "job_listing_category",
              "type": "array",
              "value": "={{ $('🧮 Map Job Type & Category IDs').item.json.fixCategory }}"
            },
            {
              "id": "_job_location",
              "name": "_job_location",
              "type": "string",
              "value": "={{ $('🧠 Extract Job Data with GPT').item.json.choices[0].message.content.location }}"
            },
            {
              "id": "_company_name",
              "name": "_company_name",
              "type": "string",
              "value": "={{ $('🧠 Extract Job Data with GPT').item.json.choices[0].message.content.company }}"
            },
            {
              "id": "_company_logo",
              "name": "_company_logo",
              "type": "string",
              "value": "={{ $('🧠 Extract Job Data with GPT').item.json.choices[0].message.content.logo || \"http://www.notodoanimacion.es/wp-content/uploads/2025/06/logo-Sony-Pictures-Animation-1.png\" }}"
            },
            {
              "id": "_application",
              "name": "_application",
              "type": "string",
              "value": "={{ $('🧠 Extract Job Data with GPT').item.json.choices[0].message.content.original_link || $('🔧 Prepare URL for Extraction').item.json.text }}"
            },
            {
              "id": "7df4886d-0180-4279-9bff-f8f3ebc2961c",
              "name": "companyLogo",
              "type": "string",
              "value": "={{ $json.guid.raw }}"
            },
            {
              "id": "b9a766da-8bd6-4950-a243-8005c61c3ca9",
              "name": "status",
              "type": "string",
              "value": "publish"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "f748d354-f0d6-40d4-b2f6-3aceb4931961",
      "name": "✅ ¿Todos los Campos Disponibles?",
      "type": "n8n-nodes-base.if",
      "onError": "continueErrorOutput",
      "position": [
        3536,
        648
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "8f4efbe7-3fc1-4be3-b4c6-f2b7b1f8f00a",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.title }}",
              "rightValue": ""
            },
            {
              "id": "8194f924-3ef7-4056-a909-3499d8c116b3",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.job_listing_category }}",
              "rightValue": ""
            },
            {
              "id": "373f2081-f7ac-4313-a472-6d10770dd17a",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.job_listing_type }}",
              "rightValue": ""
            },
            {
              "id": "74166a2f-57e8-4fed-8bcf-cd240779543a",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json._job_location }}",
              "rightValue": ""
            },
            {
              "id": "bdee50a8-cdff-4570-b88a-8cf560468fa2",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json._application }}",
              "rightValue": ""
            },
            {
              "id": "48ab4287-4b6c-4241-a50f-1ddb40456fb2",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.companyLogo }}",
              "rightValue": ""
            }
          ]
        },
        "looseTypeValidation": true
      },
      "typeVersion": 2.2
    },
    {
      "id": "137e0f4e-ebce-4750-b77d-da23973aa738",
      "name": "si no es válido",
      "type": "n8n-nodes-base.telegram",
      "position": [
        3760,
        352
      ],
      "webhookId": "033439cf-08eb-4df7-be1a-3a617027ce35",
      "parameters": {
        "text": "=Failed - Missing required fields. Please check extraction process.\n\nTrying another approach...",
        "chatId": "={{ $('📥 New Job Link via Telegram').first().json.message.chat.id }}",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "oEBplQsvCu6Hviel",
          "name": "Jon - Notodo RAG"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "8ed0eb9b-30f3-4aea-b8fd-2531faf10fd1",
      "name": "notificar: procesando empleo",
      "type": "n8n-nodes-base.telegram",
      "position": [
        448,
        888
      ],
      "webhookId": "936a1870-5650-456a-b6bb-be70967ae64a",
      "parameters": {
        "text": "=hi, {{ $('📥 New Job Link via Telegram').item.json.message.chat.first_name }}\n\nprocessing job...",
        "chatId": "={{ $('📥 New Job Link via Telegram').item.json.message.chat.id }}",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "oEBplQsvCu6Hviel",
          "name": "Jon - Notodo RAG"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "a822fcdb-7108-4e61-a598-9865a48d5c5d",
      "name": "notificar: extrayendo",
      "type": "n8n-nodes-base.telegram",
      "position": [
        896,
        888
      ],
      "webhookId": "1c4064cc-c0fb-4100-ad77-3ff236a1e15c",
      "parameters": {
        "text": "<i>Extracting web data... </i>",
        "chatId": "={{ $('📥 New Job Link via Telegram').item.json.message.chat.id }}",
        "messageId": "={{ $json.result.message_id }}",
        "operation": "editMessageText",
        "additionalFields": {
          "parse_mode": "HTML"
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "oEBplQsvCu6Hviel",
          "name": "Jon - Notodo RAG"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "9253f8fd-f3d1-46b2-a5f1-6e26e7c19b2f",
      "name": "Si",
      "type": "n8n-nodes-base.if",
      "position": [
        1344,
        808
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "31d50777-6c34-4a2a-b570-8bcd32073824",
              "operator": {
                "type": "boolean",
                "operation": "exists",
                "singleValue": true
              },
              "leftValue": "={{ $json.title }}",
              "rightValue": ""
            },
            {
              "id": "9ae85f70-c7c3-4a1a-a2c8-64c3ad388c0b",
              "operator": {
                "type": "boolean",
                "operation": "exists",
                "singleValue": true
              },
              "leftValue": "={{ $json.description }}",
              "rightValue": ""
            },
            {
              "id": "01c42779-16f4-452b-b328-b91f0f5b9a5b",
              "operator": {
                "type": "string",
                "operation": "exists",
                "singleValue": true
              },
              "leftValue": "={{ $json.url }}",
              "rightValue": ""
            },
            {
              "id": "7c6414cd-9d44-45bb-b999-30a0e1cd1993",
              "operator": {
                "type": "boolean",
                "operation": "exists",
                "singleValue": true
              },
              "leftValue": "={{ $json.content }}",
              "rightValue": ""
            }
          ]
        },
        "looseTypeValidation": true
      },
      "typeVersion": 2.2
    },
    {
      "id": "a999f748-7c08-4a02-90dc-9e3dc90f875f",
      "name": "notificar: extracción exitosa",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1568,
        712
      ],
      "webhookId": "51bfc648-4499-4f61-9aa4-61e6b7b617dc",
      "parameters": {
        "text": "Jobs Extracted! Processing input with openAI...",
        "chatId": "={{ $('notify: extracting').item.json.result.chat.id }}",
        "messageId": "={{ $('notify: extracting').item.json.result.message_id }}",
        "operation": "editMessageText",
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "oEBplQsvCu6Hviel",
          "name": "Jon - Notodo RAG"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "1f879972-2671-4e87-ad2f-e5628492ab2a",
      "name": "Nota Adhesiva",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2144,
        -16
      ],
      "parameters": {
        "width": 1400,
        "height": 620,
        "content": "## RAG DATA\n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)"
      },
      "typeVersion": 1
    },
    {
      "id": "7162669b-df55-4a22-9052-b2d7eb61edee",
      "name": "📚 Cargar Tipos y Categorías Válidas",
      "type": "n8n-nodes-base.set",
      "position": [
        0,
        984
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "5b365fce-7a88-431b-aee7-4bf5a0171a1f",
              "name": "category",
              "type": "array",
              "value": "[\n  { \"id\": 299, \"category\": \"2d\" },\n  { \"id\": 298, \"category\": \"3d\" },\n  { \"id\": 315, \"category\": \"3DFX\" },\n  { \"id\": 284, \"category\": \"Animación 2d\" },\n  { \"id\": 286, \"category\": \"Animación 3d\" },\n  { \"id\": 617, \"category\": \"Artista de color\" },\n  { \"id\": 312, \"category\": \"Audio SFX\" },\n  { \"id\": 540, \"category\": \"character artist\" },\n  { \"id\": 445, \"category\": \"Character FX (CFX)\" },\n  { \"id\": 596, \"category\": \"Cinematic Artist\" },\n  { \"id\": 462, \"category\": \"Comic\" },\n  { \"id\": 294, \"category\": \"Compositor 3d\" },\n  { \"id\": 487, \"category\": \"Compositor Digital\" },\n  { \"id\": 463, \"category\": \"Concept Art\" },\n  { \"id\": 300, \"category\": \"Creativo\" },\n  { \"id\": 537, \"category\": \"Crowd Artist\" },\n  { \"id\": 301, \"category\": \"Desarrollo de Software\" },\n  { \"id\": 316, \"category\": \"Desarrollo Visual\" },\n  { \"id\": 302, \"category\": \"Dibujante\" },\n  { \"id\": 612, \"category\": \"Dirección\" },\n  { \"id\": 292, \"category\": \"Director de Arte\" },\n  { \"id\": 317, \"category\": \"Diseño de personajes\" },\n  { \"id\": 291, \"category\": \"Diseño Gráfico\" },\n  { \"id\": 310, \"category\": \"Edición de video\" },\n  { \"id\": 533, \"category\": \"Environment Artist\" },\n  { \"id\": 620, \"category\": \"Escultura Digital\" },\n  { \"id\": 622, \"category\": \"Filmmaker\" },\n  { \"id\": 304, \"category\": \"Fotografía\" },\n  { \"id\": 314, \"category\": \"Game Artist\" },\n  { \"id\": 486, \"category\": \"Game Designer\" },\n  { \"id\": 506, \"category\": \"Game developer\" },\n  { \"id\": 482, \"category\": \"Game Producer\" },\n  { \"id\": 576, \"category\": \"Gameplay Animator\" },\n  { \"id\": 290, \"category\": \"Generalista 3d\" },\n  { \"id\": 452, \"category\": \"Grooming Hair/Fur\" },\n  { \"id\": 303, \"category\": \"Guionista\" },\n  { \"id\": 305, \"category\": \"Iluminación\" },\n  { \"id\": 288, \"category\": \"Ilustración\" },\n  { \"id\": 616, \"category\": \"Inteligencia Artificial\" },\n  { \"id\": 311, \"category\": \"Layout Artist\" },\n  { \"id\": 619, \"category\": \"Look Development\" },\n  { \"id\": 464, \"category\": \"Matte Painting\" },\n  { \"id\": 287, \"category\": \"Modelador 3d\" },\n  { \"id\": 524, \"category\": \"Motion Designer\" },\n  { \"id\": 289, \"category\": \"Motion Graphics\" },\n  { \"id\": 588, \"category\": \"Pixel Art\" },\n  { \"id\": 307, \"category\": \"Postproducción\" },\n  { \"id\": 594, \"category\": \"Previs\" },\n  { \"id\": 297, \"category\": \"Producción\" },\n  { \"id\": 483, \"category\": \"Programador\" },\n  { \"id\": 592, \"category\": \"Realidad Virtual (VR)\" },\n  { \"id\": 448, \"category\": \"Render Wrangler\" },\n  { \"id\": 313, \"category\": \"Rigger\" },\n  { \"id\": 459, \"category\": \"Shading & Texturing\" },\n  { \"id\": 295, \"category\": \"Storyboard\" },\n  { \"id\": 296, \"category\": \"Storytelling\" },\n  { \"id\": 595, \"category\": \"Technical Artist\" },\n  { \"id\": 485, \"category\": \"Technical Director (TD)\" },\n  { \"id\": 308, \"category\": \"UI / UX\" },\n  { \"id\": 309, \"category\": \"VFX\" },\n  { \"id\": 589, \"category\": \"Videojuegos\" },\n  { \"id\": 593, \"category\": \"Virtual Production\" },\n  { \"id\": 293, \"category\": \"Visualización Arquitectónica\" },\n  { \"id\": 590, \"category\": \"VR & AR\" }\n]\n"
            },
            {
              "id": "9c795618-08e9-4ae1-a1b2-f6e45d6d5bf0",
              "name": "types",
              "type": "array",
              "value": "=[\n  { \"id\": 282, \"type\": \"Freelance / Remoto / Teletrabajo\" },\n  { \"id\": 318, \"type\": \"Indiferente\" },\n  { \"id\": 283, \"type\": \"Prácticas\" },\n  { \"id\": 281, \"type\": \"Proyecto\" },\n  { \"id\": 279, \"type\": \"Tiempo completo\" },\n  { \"id\": 280, \"type\": \"Tiempo parcial\" }\n]\n\n"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "d20a6ffd-dc53-4ff5-8a67-566c24bbb253",
      "name": "notificar: error",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2192,
        1016
      ],
      "webhookId": "936a1870-5650-456a-b6bb-be70967ae64a",
      "parameters": {
        "text": "=Something went wrong \n\n<b>error:</b> <code>{{ $json.error.message }}</code>",
        "chatId": "={{ $('📥 New Job Link via Telegram').item.json.message.chat.id }}",
        "messageId": "={{ $('notify: processing job').item.json.result.message_id }}",
        "operation": "editMessageText",
        "additionalFields": {
          "parse_mode": "HTML"
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "oEBplQsvCu6Hviel",
          "name": "Jon - Notodo RAG"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "d4a14316-82c6-4d7e-a26f-e4f87ad2e49f",
      "name": "Esperar",
      "type": "n8n-nodes-base.wait",
      "position": [
        672,
        888
      ],
      "webhookId": "56532de1-7341-4ea7-b315-e1716a1c7815",
      "parameters": {
        "amount": 1.25
      },
      "typeVersion": 1.1
    },
    {
      "id": "1cddf8d0-d594-4fa5-ac12-9578622a49c6",
      "name": "¿url válida?",
      "type": "n8n-nodes-base.if",
      "position": [
        224,
        984
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "35deee67-0d08-46f8-a0e2-2f75cda4c08e",
              "operator": {
                "type": "string",
                "operation": "notEquals"
              },
              "leftValue": "={{ $('🔧 Prepare URL for Extraction').item.json.cleanUrl }}",
              "rightValue": "Invalid URL"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "bd804bd5-8b13-4435-bcf3-961969c8729c",
      "name": "notificar: url incorrecta",
      "type": "n8n-nodes-base.telegram",
      "position": [
        448,
        1080
      ],
      "webhookId": "936a1870-5650-456a-b6bb-be70967ae64a",
      "parameters": {
        "text": "=<i> thats not a valid url, please re-check your input...</i>",
        "chatId": "={{ $('📥 New Job Link via Telegram').item.json.message.chat.id }}",
        "additionalFields": {
          "parse_mode": "HTML",
          "appendAttribution": false
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "oEBplQsvCu6Hviel",
          "name": "Jon - Notodo RAG"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "7d78d355-c736-406c-99e5-249c2563b159",
      "name": "🧠 Extraer Datos del Empleo con GPT",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "onError": "continueErrorOutput",
      "position": [
        1792,
        712
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini-2025-04-14",
          "cachedResultName": "GPT-4.1-MINI-2025-04-14"
        },
        "options": {},
        "messages": {
          "values": [
            {
              "content": "=Title: {{ $('Extract').item.json.title }}\nurl: {{ $('Extract').item.json.url }}\ncontent: {{ $('Extract').item.json.content }}\n\nmetadata\nauthor: {{ $('Extract').item.json.metadata.author }}\n\nicon: {{ $('Extract').item.json.external.icon['https://sp-tools-website.s3-eu-west-1.amazonaws.com/media/static/favicon.gif'] }}\n\n"
            },
            {
              "role": "=system",
              "content": "=You are a specialized article regenerator who works exclusively with information and rules stored in the \"document\" knowledge base.\n\nExtract rigorously the following fields from the provided job-offer HTML:\n\t•\ttitle\n\t•\tjob_type\n\t•\tcategories (array)\n\t•\tlocation (search in text of offer (body), or put \"sin definir\")\n\t•\tcompany\n\t•\tlogo\n\t•\toriginal_link ({{ $('🔧 Prepare URL for Extraction').item.json.message.text }})\n\t•\thtml (only the job description)\n\nPrimary Function\nRegenerate articles strictly following the formatting, style, and structure rules defined in the RAG dataset. Do not invent your own rules or formats.\n\nWork Protocol\n1. Mandatory Consultation\nALWAYS use the \"document\" tool to search for:\n- Article formatting and structure rules\n- Writing style guides\n- Examples of correct formatting\n- Relevant information on the requested topic\n\n2. Strict Compliance\n- Follow EXACTLY the formatting rules found in the dataset\n- Respect the style guides defined in the knowledge base\n- Apply the article structure specified in the RAG\n- Maintain the tone and style established in the guidelines\n\n3. Regeneration Process\n- Search for formatting rules in the knowledge base\n- Search for information on the requested topic\n- Apply the rules found to the content\n- Regenerate the article following those specifications exactly\n\nImportant\nDO NOT create your own formatting rules\nDO NOT improvise article structure\nEVERYTHING should be based on what you find in \"document\"\nIf you don't find specific rules, ask the user for more details\n\n**HTML (DESCRIPCIÓN)**\n\n1. Al principio, escribe un resumen de dos líneas de la oferta de empleo. Menciona la disciplina, el estudio que publica la oferta, y si es remoto o presencial, incluyendo la localización. Puedes añadir otros elementos relevantes si es necesario. **No añadas un título ni encabezado H2 para este párrafo** y justifica el texto de cada párrafo completo.\n\nIncluye solo un espacio: `<p>&nbsp;</p>`\n\n2. Después, añade este código:\n\n```html\n<p style=\"text-align: center; font-size: 14pt;\"><span style=\"font-weight: 400;\">Si quieres más </span><a href=\"https://www.yourwebsite.es/ofertas-de-empleo-para-artistas-digitales/\"><span style=\"font-weight: 400;\">ofertas de empleo de Animación, 3D, VFX y Arte digital</span></a><span style=\"font-weight: 400;\">👈 ENTRA AQUÍ</span></p>\n```\n\nIncluye solo un espacio: `<p>&nbsp;</p>`\n\n3. Escribe lo siguiente:\n\n```html\n<p>[divider style=\"normal\" top=\"20\" bottom=\"20\"]</p>\n<p>&nbsp;</p>\n<p style=\"text-align: center; font-size: 14pt;\">IMPORTANTE: <a href=\"https://www.documen.es/suscripcion\">Suscríbete a nuestra página</a> 👈 Te enviaremos nuestras ofertas de empleo, todas las semanas. ❤️</p>\n<p>&nbsp;</p>\n<p>[divider style=\"normal\" top=\"20\" bottom=\"20\"]</p>\n```\n\nIncluye un espacio: `<p>&nbsp;</p>`\n\n4. AHORA ESCRIBE TODO EL CONTENIDO EN HTML.\n\n**CONTENIDO:**\n\n· Escribe SIEMPRE EN TERCERA PERSONA.\n· No traduzcas términos técnicos como Assets, technical director, senior, rigging, VFX, CGI, Motion Graphics, pipeline, etc.\n· No traduzcas nombres de programas o herramientas, como After Effects, Photoshop, Shotgun, etc.\n· **¡No escribas ningún tipo de información adicional!**\n\n**FORMATO:**\n\n· Organiza el contenido utilizando encabezados H2 para cada sección, todos centrados.\n· Justifica el texto de cada párrafo completo.\n· **SEO**: Usa negrita para los términos importantes utilizando etiquetas `<strong>` para optimizar la lectura y el SEO, siguiendo estrictamente el orden HTML.\n· Utiliza listas con viñetas siempre que sea adecuado.\n· TODOS los enlaces deben abrir en una nueva ventana.\n· Usa negrita con etiquetas `<strong>` para los términos importantes y palabras clave para optimizar el SEO.\n· Después de cada título, añade `<p>&nbsp;</p>`\n\n5. Después del contenido, añade este código:\n\n```html\n<p style=\"text-align: center; font-size: 14pt;\"><span style=\"font-weight: 400;\">Si quieres más </span><a href=\"https://www.yourwebsite.es/ofertas-de-empleo-para-artistas-digitales/\"><span style=\"font-weight: 400;\">ofertas de empleo de Animación, 3D, VFX y Arte digital</span></a><span style=\"font-weight: 400;\">👈 ENTRA AQUÍ</span></p>\n```\n\n6. En la última línea, incluye SIEMPRE un eslogan aleatorio. Usa negrita con `<strong>` y alinea el texto al centro. Elige **UNA** de estas cuatro opciones:\n\n**Bienvenido a yourwebsite.es | Tu web sobre Animación, VFX y Arte Digital en habla Hispana.**\n**Bienvenidos Artistas Digitales a notodoanimacion.es | El portal de Animación, 3D, VFX y Videojuegos que trabaja para ti.**\n**Bienvenido a notodoanimacion.es | El portal sobre animación y arte digital en español, más visitado del mundo.**\n\n\n\n-----\n\n\nCategory Selection Rules:\n\t•\tONLY select categories from this EXACT options: {{ $('📚 Load Valid Job Types & Categories').item.json.category.map(item => item.category) }}\n\t•\tMaximum 3 categories allowed\n\t•\tMust be CASE SENSITIVE - match exactly as written in the array\n\t•\tSelect the 3 MOST RELEVANT categories that best match the extracted job\n\t•\tIf fewer than 3 categories are relevant, select only the appropriate ones\n\t•\tDO NOT CREATE or ADD any categories outside the provided array\n\t•\tDO NOT MODIFY the spelling, capitalization, or format of categories\n\nGuidelines:\n\t•\tDO NOT INVENT ANYTHING\n\t•\tWrite everything in Spanish (Castilian)\n\t•\tStructure the job description using H2 headings\n\t•\tUse strategic bolding for SEO and relevance\n\t•\tIf any field is missing, leave it empty (”” or [])\n\t•\tReturn only valid JSON\n\nCategory Selection Process:\n\t1.\tRead the job description carefully\n\t2.\tIdentify the main job functions and requirements\n\t3.\tMatch these against the provided category array\n\t4.\tSelect maximum 3 categories that are MOST APPROPRIATE\n\t5.\tEnsure exact spelling and case matching from the array\n\njob_type Selection Rules:\n  • THIS Field is a MANDATORY\n  •\tONLY select job_type from this EXACT options:{{ $('📚 Load Valid Job Types & Categories').item.json.types.map(item => item.type) }}\n  • Maximum 1 Job type allowed\n  • Must be CASE SENSITIVE—match exactly as written in the array\n  • DO NOT CREATE or ADD any categories outside the provided array\n  • DO NOT MODIFY the spelling, capitalization, or format of categories\n  • IF there's no type directly stated, find on the body, find relevant details and pick the most appropriate\n\n"
            }
          ]
        },
        "simplify": false,
        "jsonOutput": true
      },
      "credentials": {
        "openAiApi": {
          "id": "OyW1NJafxSo3fljc",
          "name": "OpenAi account"
        }
      },
      "retryOnFail": true,
      "typeVersion": 1.8
    },
    {
      "id": "0a771fef-52c0-440d-8ab3-b767daf2555f",
      "name": "Memoria de Chat Postgres",
      "type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
      "disabled": true,
      "position": [
        -304,
        448
      ],
      "parameters": {
        "sessionKey": "={{ $('📥 New Job Link via Telegram').item.json.message.chat.id }}",
        "sessionIdType": "customKey"
      },
      "credentials": {
        "postgres": {
          "id": "reSHMiS64pJYqHCN",
          "name": "Postgree Supabase Khairul"
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "42775803-d440-4971-a797-44fc29f5f7e9",
      "name": "Extraer",
      "type": "n8n-nodes-base.jinaAi",
      "onError": "continueErrorOutput",
      "position": [
        1120,
        888
      ],
      "parameters": {
        "url": "={{ $('🔧 Prepare URL for Extraction').item.json.message.text }}",
        "options": {},
        "requestOptions": {}
      },
      "credentials": {
        "jinaAiApi": {
          "id": "F8QTb6UJKwRFNq3l",
          "name": "Trial aiformotu"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "9b57ddf6-a227-4948-abc7-77fb0a7009f7",
      "name": "Crear Url",
      "type": "n8n-nodes-base.code",
      "position": [
        2640,
        664
      ],
      "parameters": {
        "jsCode": "const extractData = $('Extract').first().json;\n\n// Ekstrak icon URL dengan error handling\nlet iconUrl = null;\n\ntry {\n  // Periksa apakah external dan icon ada\n  if (extractData?.external?.icon) {\n    const iconObject = extractData.external.icon;\n    \n    // Ambil key pertama (URL) dari object icon\n    const iconKeys = Object.keys(iconObject);\n    \n    if (iconKeys.length > 0) {\n      iconUrl = iconKeys[0];\n    }\n  }\n} catch (error) {\n  console.error('Error extracting icon URL:', error);\n}\n\n// Return hasil\nreturn [\n  {\n    json: {\n      iconUrl: iconUrl || '', // Return empty string jika tidak ada icon\n      // Atau bisa juga return original data + iconUrl\n      ...extractData,\n      processedIconUrl: iconUrl\n    }\n  }\n];"
      },
      "typeVersion": 2
    },
    {
      "id": "f4b0ffe5-312e-43e3-9d88-56c805cc44e5",
      "name": "notificar: éxito openai",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2416,
        664
      ],
      "webhookId": "51bfc648-4499-4f61-9aa4-61e6b7b617dc",
      "parameters": {
        "text": "<i>OpenAI Process Success... one sec...</i>",
        "chatId": "={{ $('notify: extracting').item.json.result.chat.id }}",
        "messageId": "={{ $('notify: extracting').item.json.result.message_id }}",
        "operation": "editMessageText",
        "additionalFields": {
          "parse_mode": "HTML"
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "oEBplQsvCu6Hviel",
          "name": "Jon - Notodo RAG"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "d99ee123-1452-483f-ae41-1a94e03ecb2c",
      "name": "Editar Campos",
      "type": "n8n-nodes-base.set",
      "position": [
        3760,
        1056
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "5a72ac2f-e722-4121-91ff-d758520f7fdb",
              "name": "combine trim & false url",
              "type": "string",
              "value": "={{ $('🔧 Prepare URL for Extraction').item.json.cleanUrl }}{{ $json._company_logo }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "e93ea970-9070-4490-9570-404b1691f031",
      "name": "📥 Descargar Logo de la Empresa - Alt",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        3984,
        1056
      ],
      "parameters": {
        "url": "={{ $json['combine trim & false url'] }}",
        "options": {
          "response": {
            "response": {
              "responseFormat": "file"
            }
          }
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "07f36fa1-e24c-4c6e-95ff-c7da35e7f97e",
      "name": "☁️ Subir Logo a WordPress - Alt",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        4208,
        1056
      ],
      "parameters": {
        "url": "https://yourweb.es/wp-json/wp/v2/media",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "contentType": "binaryData",
        "sendHeaders": true,
        "authentication": "predefinedCredentialType",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Disposition",
              "value": "=attachment; filename=\"logo-{{ $('🧠 Extract Job Data with GPT').item.json.choices[0].message.content.company }}.jpeg\""
            },
            {
              "name": "Content-Type",
              "value": "image/jpeg"
            }
          ]
        },
        "inputDataFieldName": "data",
        "nodeCredentialType": "wordpressApi"
      },
      "credentials": {
        "wordpressApi": {
          "id": "IMwbWCL0HxvZreh2",
          "name": "Wordpress account"
        }
      },
      "retryOnFail": true,
      "typeVersion": 4.2
    },
    {
      "id": "5d5c514f-08cc-4b47-a905-4db893a7e8a2",
      "name": "📦 Formatear Datos Finales del Anuncio - Alt",
      "type": "n8n-nodes-base.set",
      "position": [
        4432,
        1056
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "title",
              "name": "title",
              "type": "string",
              "value": "={{ $('🧠 Extract Job Data with GPT').item.json.choices[0].message.content.title }}"
            },
            {
              "id": "content",
              "name": "content",
              "type": "string",
              "value": "={{ $('🧠 Extract Job Data with GPT').item.json.choices[0].message.content.html }}\n"
            },
            {
              "id": "job_listing_type",
              "name": "job_listing_type",
              "type": "array",
              "value": "=[{{ $('🧮 Map Job Type & Category IDs').item.json.fixType[0] }}]"
            },
            {
              "id": "job_listing_category",
              "name": "job_listing_category",
              "type": "array",
              "value": "={{ $('🧮 Map Job Type & Category IDs').item.json.fixCategory }}"
            },
            {
              "id": "_job_location",
              "name": "_job_location",
              "type": "string",
              "value": "={{ $('🧠 Extract Job Data with GPT').item.json.choices[0].message.content.location }}"
            },
            {
              "id": "_company_name",
              "name": "_company_name",
              "type": "string",
              "value": "={{ $('🧠 Extract Job Data with GPT').item.json.choices[0].message.content.company }}"
            },
            {
              "id": "_company_logo",
              "name": "_company_logo",
              "type": "string",
              "value": "={{ $('🧠 Extract Job Data with GPT').item.json.choices[0].message.content.logo || \"http://www.notodoanimacion.es/wp-content/uploads/2025/06/logo-Sony-Pictures-Animation-1.png\" }}"
            },
            {
              "id": "_application",
              "name": "_application",
              "type": "string",
              "value": "={{ $('🧠 Extract Job Data with GPT').item.json.choices[0].message.content.original_link || $('🔧 Prepare URL for Extraction').item.json.text }}"
            },
            {
              "id": "7df4886d-0180-4279-9bff-f8f3ebc2961c",
              "name": "companyLogo",
              "type": "string",
              "value": "={{ $json.guid.raw }}"
            },
            {
              "id": "b9a766da-8bd6-4950-a243-8005c61c3ca9",
              "name": "status",
              "type": "string",
              "value": "publish"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "6da29c84-d020-44d8-a9ae-6b482e661e58",
      "name": "✅ ¿Todos los Campos Disponibles? - Alt",
      "type": "n8n-nodes-base.if",
      "onError": "continueErrorOutput",
      "position": [
        4656,
        1040
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "8f4efbe7-3fc1-4be3-b4c6-f2b7b1f8f00a",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.title }}",
              "rightValue": ""
            },
            {
              "id": "8194f924-3ef7-4056-a909-3499d8c116b3",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.job_listing_category }}",
              "rightValue": ""
            },
            {
              "id": "373f2081-f7ac-4313-a472-6d10770dd17a",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.job_listing_type }}",
              "rightValue": ""
            },
            {
              "id": "74166a2f-57e8-4fed-8bcf-cd240779543a",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json._job_location }}",
              "rightValue": ""
            },
            {
              "id": "bdee50a8-cdff-4570-b88a-8cf560468fa2",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json._application }}",
              "rightValue": ""
            }
          ]
        },
        "looseTypeValidation": true
      },
      "typeVersion": 2.2
    },
    {
      "id": "a52cab08-5537-4c70-a970-442531a70426",
      "name": "📊 ¿Publicación Exitosa?1",
      "type": "n8n-nodes-base.if",
      "position": [
        5104,
        1056
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "0e5d1113-a6fe-49bf-bf56-848c852875f6",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.id }}",
              "rightValue": ""
            },
            {
              "id": "d00af776-6323-4c62-84f1-30de39d256d0",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.link }}",
              "rightValue": ""
            },
            {
              "id": "0cd4f4d5-8c1c-4c98-8d7b-1995a56fcf3f",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $('🧠 Extract Job Data with GPT').item.json.choices[0].message.content.categories }}",
              "rightValue": ""
            },
            {
              "id": "2e8ab092-9500-44e9-a32f-99a00dbb7a28",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.date }}",
              "rightValue": ""
            }
          ]
        },
        "looseTypeValidation": true
      },
      "typeVersion": 2.2
    },
    {
      "id": "48d2f718-94cb-41a8-9fd0-9a4515484ade",
      "name": "📨 Notificar Éxito - Alt",
      "type": "n8n-nodes-base.telegram",
      "position": [
        5328,
        1056
      ],
      "webhookId": "4550abb4-5baa-427b-9495-9e6ea219652e",
      "parameters": {
        "text": "=Hello, {{ $('📥 New Job Link via Telegram').item.json.message.from.first_name }}\nJob successfully extracted and Posted! \nmissing value has fill with default image\n\nOriginal Url: {{ $('🔧 Prepare URL for Extraction').item.json.message.text.replace(/_/g, '\\\\_') }}\n\nTitle: {{ $('🚀 Publish to Yourweb - Alt').item.json.title.raw.replace(/_/g, '\\\\_') }}\nCategory: {{ $('🚀 Publish to Yourweb - Alt').item.json.job_listing_category }}\nJob Type: {{ $('🚀 Publish to Yourweb - Alt').item.json.job_listing_types }}\nLogo: {{ $('🚀 Publish to Yourweb - Alt').item.json.meta._company_logo.replace(/_/g, '\\\\_') }}\n\nPublished Post: {{ $json.guid.rendered.replace(/_/g, '\\\\_') }}",
        "chatId": "={{ $('📥 New Job Link via Telegram').first().json.message.chat.id }}",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "oEBplQsvCu6Hviel",
          "name": "Jon - Notodo RAG"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "649e3db4-b1e2-42b3-90dc-e515c4c7ccd5",
      "name": "📨 Notificar Fallo - Alt",
      "type": "n8n-nodes-base.telegram",
      "position": [
        5328,
        1248
      ],
      "webhookId": "4550abb4-5baa-427b-9495-9e6ea219652e",
      "parameters": {
        "text": "=Hello, {{ $('📥 New Job Link via Telegram').first().json.message.from.first_name }}\nJob Failed!\n\nPlease Check your workflow or contact khairul https://wa.me/6285155431253",
        "chatId": "={{ $('📥 New Job Link via Telegram').first().json.message.chat.id }}",
        "additionalFields": {
          "appendAttribution": true
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "oEBplQsvCu6Hviel",
          "name": "Jon - Notodo RAG"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "efda8d45-4f8c-4f69-951a-dc86e18ebbd6",
      "name": "📊 ¿Publicación Exitosa?2",
      "type": "n8n-nodes-base.if",
      "position": [
        3984,
        592
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "0e5d1113-a6fe-49bf-bf56-848c852875f6",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.id }}",
              "rightValue": ""
            },
            {
              "id": "d00af776-6323-4c62-84f1-30de39d256d0",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.link }}",
              "rightValue": ""
            },
            {
              "id": "0cd4f4d5-8c1c-4c98-8d7b-1995a56fcf3f",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $('🧠 Extract Job Data with GPT').item.json.choices[0].message.content.categories }}",
              "rightValue": ""
            },
            {
              "id": "2e8ab092-9500-44e9-a32f-99a00dbb7a28",
              "operator": {
                "type": "boolean",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.date }}",
              "rightValue": ""
            }
          ]
        },
        "looseTypeValidation": true
      },
      "typeVersion": 2.2
    },
    {
      "id": "23592260-a8db-4125-8ca0-6fac66fbb8fa",
      "name": "notificar: extracción fallida",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1568,
        912
      ],
      "webhookId": "51bfc648-4499-4f61-9aa4-61e6b7b617dc",
      "parameters": {
        "text": "=Failed in extract using Jina... please inform khairul",
        "chatId": "={{ $('notify: extracting').item.json.result.chat.id }}",
        "messageId": "={{ $('notify: extracting').item.json.result.message_id }}",
        "operation": "editMessageText",
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "oEBplQsvCu6Hviel",
          "name": "Jon - Notodo RAG"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "a88ad3d5-06be-4a1c-8aeb-5a923912b1ab",
      "name": "Error",
      "type": "n8n-nodes-base.telegram",
      "position": [
        4208,
        760
      ],
      "webhookId": "4550abb4-5baa-427b-9495-9e6ea219652e",
      "parameters": {
        "text": "=Hello, {{ $('📥 New Job Link via Telegram').first().json.message.from.first_name }}\nJob Failed!\n\nPlease Check your workflow or contact khairul https://wa.me/6285155431253",
        "chatId": "={{ $('📥 New Job Link via Telegram').first().json.message.chat.id }}",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "oEBplQsvCu6Hviel",
          "name": "Jon - Notodo RAG"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "cb91ffed-34ea-49f5-a274-a19a261e8b16",
      "name": "cambiando método",
      "type": "n8n-nodes-base.telegram",
      "position": [
        4208,
        352
      ],
      "webhookId": "033439cf-08eb-4df7-be1a-3a617027ce35",
      "parameters": {
        "text": "=Trying Second Attempt!\n<i>Filling empty field with default value...</i>",
        "chatId": "={{ $('📥 New Job Link via Telegram').first().json.message.chat.id }}",
        "messageId": "={{ $json.result.message_id }}",
        "operation": "editMessageText",
        "additionalFields": {
          "parse_mode": "HTML"
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "oEBplQsvCu6Hviel",
          "name": "Jon - Notodo RAG"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "30c485eb-b897-405f-ac93-899b1716a74c",
      "name": "Esperar1",
      "type": "n8n-nodes-base.wait",
      "position": [
        4432,
        352
      ],
      "webhookId": "20506072-3a7d-4db6-a558-736d917ca82c",
      "parameters": {
        "amount": 2
      },
      "typeVersion": 1.1
    },
    {
      "id": "6af0ea69-ea9a-4526-a261-27d8062e46e6",
      "name": "Esperar2",
      "type": "n8n-nodes-base.wait",
      "position": [
        3984,
        352
      ],
      "webhookId": "54770112-e93a-4b47-b63a-7e98fc2db80f",
      "parameters": {
        "amount": 2
      },
      "typeVersion": 1.1
    },
    {
      "id": "081bfad2-0e6d-4088-a197-b02b9b73f411",
      "name": "Nota Adhesiva2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -464,
        656
      ],
      "parameters": {
        "color": 7,
        "width": 660,
        "height": 260,
        "content": "## Monitoring - leave as it is"
      },
      "typeVersion": 1
    },
    {
      "id": "3e77dc43-ea51-4ccb-8990-5cb9e2457a34",
      "name": "Disparador de Error",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        -400,
        752
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4d52387d-a6af-488a-adfc-00e0e6ef2bb1",
      "name": "Enviar a Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        48,
        752
      ],
      "webhookId": "13c616bf-a3ad-4035-998a-1dfe6021b89f",
      "parameters": {
        "text": "={{ $json.message }}",
        "chatId": "your-chat-id",
        "additionalFields": {
          "parse_mode": "HTML"
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "u00QYyldzRUGsoHy",
          "name": "Monitoring Bot"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "3e189287-dcfe-428c-af7c-d6a5ca9fd06b",
      "name": "Código",
      "type": "n8n-nodes-base.code",
      "position": [
        -176,
        752
      ],
      "parameters": {
        "jsCode": "// Perfect error access untuk N8N v1.99.1\nconst errorData = $input.first().json;\nconst execution = errorData.execution;\nconst workflow = errorData.workflow;\nconst error = execution.error;\n\nconst message = `🚨 <b>WORKFLOW ERROR</b>\\n\\n` +\n  `📋 Workflow: <b>${workflow.name}</b>\\n` +\n  `⚙️ Node: <code>${error.node.name}</code>\\n` +\n  `❌ Error: <code>${error.message}</code>\\n` +\n  `📝 Description: <i>${error.description}</i>\\n` +\n  `🕐 Waktu: ${new Date(error.timestamp).toLocaleString('id-ID')}\\n` +\n  `🔍 Execution: <a href=\"${execution.url}\">${execution.id}</a>\\n` +\n  `⚠️ Level: ${error.level.toUpperCase()}`;\n\nreturn {\n  message: message,\n  parse_mode: 'HTML',\n  chat_id: '621412350'\n};"
      },
      "typeVersion": 2
    },
    {
      "id": "ae0a454f-a42e-4b07-841b-61f12fc11305",
      "name": "¡Publicado!",
      "type": "n8n-nodes-base.telegram",
      "position": [
        4208,
        544
      ],
      "webhookId": "4550abb4-5baa-427b-9495-9e6ea219652e",
      "parameters": {
        "text": "=Hello, {{ $('📥 New Job Link via Telegram').item.json.message.from.first_name }}\nJob successfully extracted and Posted! \n\nOriginal Url: {{ $('🔧 Prepare URL for Extraction').item.json.message.text.replace(/_/g, '\\\\_') }}\n\nTitle: {{ $('🚀 Publish to Your web').item.json.title.rendered }}\nCategory: {{ $('🧠 Extract Job Data with GPT').item.json.choices[0].message.content.categories }}\nJob Type: {{ $('🧠 Extract Job Data with GPT').item.json.choices[0].message.content.job_type }}\nLogo: {{ $('🚀 Publish to Your web').item.json.meta._company_logo }}\n\nPublished Post: {{ $json.guid.rendered.replace(/_/g, '\\\\_') }}",
        "chatId": "={{ $('📥 New Job Link via Telegram').first().json.message.chat.id }}",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "oEBplQsvCu6Hviel",
          "name": "Jon - Notodo RAG"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "52a9de35-97a9-4cd7-9bef-3a2423c205bc",
      "name": "🚀 Publicar en Tu web",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3760,
        592
      ],
      "parameters": {
        "url": "https://www.yourweb.es/wp-json/wp/v2/job-listings",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"title\": {{ JSON.stringify($('📦 Format Final Job Post Data').item.json.title) }},\n  \"content\": {{ JSON.stringify($('📦 Format Final Job Post Data').item.json.content) }},\n  \"status\": {{ JSON.stringify($('📦 Format Final Job Post Data').item.json.status) }},\n  \"job_listing_types\": {{ JSON.stringify($('📦 Format Final Job Post Data').item.json.job_listing_type) }},\n  \"job_listing_category\": {{ JSON.stringify($('📦 Format Final Job Post Data').item.json.job_listing_category) }},\n  \"meta\": {\n    \"_job_location\": {{ JSON.stringify($('📦 Format Final Job Post Data').item.json._job_location) }},\n    \"_company_name\": {{ JSON.stringify($('📦 Format Final Job Post Data').item.json._company_name) }},\n    \"_company_logo\": {{ JSON.stringify($json.companyLogo) }},\n    \"_application\": {{ JSON.stringify($('📦 Format Final Job Post Data').item.json._application) }}\n  }\n}",
        "sendBody": true,
        "specifyBody": "json",
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "wordpressApi"
      },
      "credentials": {
        "wordpressApi": {
          "id": "IMwbWCL0HxvZreh2",
          "name": "Wordpress account"
        }
      },
      "retryOnFail": true,
      "typeVersion": 4.2
    },
    {
      "id": "533b7f45-5895-4d24-aad8-b7aefc322788",
      "name": "🚀 Publicar en Tuweb - Alt",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4880,
        1056
      ],
      "parameters": {
        "url": "https://www.yourweb.es/wp-json/wp/v2/job-listings",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"title\": {{ JSON.stringify($('📦 Format Final Job Post Data').item.json.title) }},\n  \"content\": {{ JSON.stringify($('📦 Format Final Job Post Data').item.json.content) }},\n  \"status\": {{ JSON.stringify($('📦 Format Final Job Post Data').item.json.status) }},\n  \"job_listing_types\": {{ JSON.stringify($('📦 Format Final Job Post Data').item.json.job_listing_type) }},\n  \"job_listing_category\": {{ JSON.stringify($('📦 Format Final Job Post Data').item.json.job_listing_category) }},\n  \"meta\": {\n    \"_job_location\": {{ JSON.stringify($('📦 Format Final Job Post Data').item.json._job_location) }},\n    \"_company_name\": {{ JSON.stringify($('📦 Format Final Job Post Data').item.json._company_name) }},\n    \"_company_logo\": {{ JSON.stringify($json._company_logo) }},\n    \"_application\": {{ JSON.stringify($('📦 Format Final Job Post Data').item.json._application) }}\n  }\n}",
        "sendBody": true,
        "specifyBody": "json",
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "wordpressApi"
      },
      "credentials": {
        "wordpressApi": {
          "id": "IMwbWCL0HxvZreh2",
          "name": "Wordpress account"
        }
      },
      "retryOnFail": true,
      "typeVersion": 4.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "c9db7d58-c7ef-48d3-b89b-0c4750e91441",
  "connections": {
    "9253f8fd-f3d1-46b2-a5f1-6e26e7c19b2f": {
      "main": [
        [
          {
            "node": "a999f748-7c08-4a02-90dc-9e3dc90f875f",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "23592260-a8db-4125-8ca0-6fac66fbb8fa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3e189287-dcfe-428c-af7c-d6a5ca9fd06b": {
      "main": [
        [
          {
            "node": "4d52387d-a6af-488a-adfc-00e0e6ef2bb1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d4a14316-82c6-4d7e-a26f-e4f87ad2e49f": {
      "main": [
        [
          {
            "node": "a822fcdb-7108-4e61-a598-9865a48d5c5d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6af0ea69-ea9a-4526-a261-27d8062e46e6": {
      "main": [
        [
          {
            "node": "cb91ffed-34ea-49f5-a274-a19a261e8b16",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "42775803-d440-4971-a797-44fc29f5f7e9": {
      "main": [
        [
          {
            "node": "9253f8fd-f3d1-46b2-a5f1-6e26e7c19b2f",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "d20a6ffd-dc53-4ff5-8a67-566c24bbb253",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1b5a91cc-2f72-493c-af97-1bea742b16d0": {
      "main": [
        []
      ]
    },
    "a4dfb8b2-5732-42af-baf4-86f1606df581": {
      "main": [
        [
          {
            "node": "7c4a7a53-bd2e-4679-baff-672154184510",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9b57ddf6-a227-4948-abc7-77fb0a7009f7": {
      "main": [
        [
          {
            "node": "8570e5e6-fb1c-4569-a698-a5cfcb07d72b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1cddf8d0-d594-4fa5-ac12-9578622a49c6": {
      "main": [
        [
          {
            "node": "8ed0eb9b-30f3-4aea-b8fd-2531faf10fd1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "bd804bd5-8b13-4435-bcf3-961969c8729c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d99ee123-1452-483f-ae41-1a94e03ecb2c": {
      "main": [
        [
          {
            "node": "e93ea970-9070-4490-9570-404b1691f031",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a208fdb8-2e05-4da7-ba56-1ff523229ab6": {
      "main": [
        [
          {
            "node": "a4dfb8b2-5732-42af-baf4-86f1606df581",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "137e0f4e-ebce-4750-b77d-da23973aa738": {
      "main": [
        [
          {
            "node": "6af0ea69-ea9a-4526-a261-27d8062e46e6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3e77dc43-ea51-4ccb-8990-5cb9e2457a34": {
      "main": [
        [
          {
            "node": "3e189287-dcfe-428c-af7c-d6a5ca9fd06b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7c4a7a53-bd2e-4679-baff-672154184510": {
      "main": [
        [],
        [
          {
            "node": "79cdc892-5fc1-4c5f-a5f1-a8d79634bc26",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "cb91ffed-34ea-49f5-a274-a19a261e8b16": {
      "main": [
        [
          {
            "node": "30c485eb-b897-405f-ac93-899b1716a74c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4686a9c5-ba78-4876-aabf-ce9ad184379a": {
      "ai_embedding": [
        [
          {
            "node": "79cdc892-5fc1-4c5f-a5f1-a8d79634bc26",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "05932e2f-3351-497e-b7a9-0369e292e5d8": {
      "ai_languageModel": [
        [
          {
            "node": "1b5a91cc-2f72-493c-af97-1bea742b16d0",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "14f9f406-cd18-492d-9133-fabef16f16a0": {
      "ai_embedding": [
        [
          {
            "node": "92521215-724c-4dc8-b39c-2b25fc69febc",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "a822fcdb-7108-4e61-a598-9865a48d5c5d": {
      "main": [
        [
          {
            "node": "42775803-d440-4971-a797-44fc29f5f7e9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ded5a80a-e888-4910-ab72-242aa17ab0af": {
      "ai_document": [
        [
          {
            "node": "79cdc892-5fc1-4c5f-a5f1-a8d79634bc26",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "04f81336-d1db-43ba-82b0-d10b9119ac61": {
      "main": [
        [
          {
            "node": "a208fdb8-2e05-4da7-ba56-1ff523229ab6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0a771fef-52c0-440d-8ab3-b767daf2555f": {
      "ai_memory": [
        [
          {
            "node": "1b5a91cc-2f72-493c-af97-1bea742b16d0",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "79cdc892-5fc1-4c5f-a5f1-a8d79634bc26": {
      "main": [
        [
          {
            "node": "7c4a7a53-bd2e-4679-baff-672154184510",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "92521215-724c-4dc8-b39c-2b25fc69febc": {
      "ai_tool": [
        [
          {
            "node": "7d78d355-c736-406c-99e5-249c2563b159",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "f4b0ffe5-312e-43e3-9d88-56c805cc44e5": {
      "main": [
        [
          {
            "node": "9b57ddf6-a227-4948-abc7-77fb0a7009f7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8ed0eb9b-30f3-4aea-b8fd-2531faf10fd1": {
      "main": [
        [
          {
            "node": "d4a14316-82c6-4d7e-a26f-e4f87ad2e49f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a999f748-7c08-4a02-90dc-9e3dc90f875f": {
      "main": [
        [
          {
            "node": "7d78d355-c736-406c-99e5-249c2563b159",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "52a9de35-97a9-4cd7-9bef-3a2423c205bc": {
      "main": [
        [
          {
            "node": "efda8d45-4f8c-4f69-951a-dc86e18ebbd6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f748d354-f0d6-40d4-b2f6-3aceb4931961": {
      "main": [
        [
          {
            "node": "52a9de35-97a9-4cd7-9bef-3a2423c205bc",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "137e0f4e-ebce-4750-b77d-da23973aa738",
            "type": "main",
            "index": 0
          },
          {
            "node": "d99ee123-1452-483f-ae41-1a94e03ecb2c",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "a88ad3d5-06be-4a1c-8aeb-5a923912b1ab",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a52cab08-5537-4c70-a970-442531a70426": {
      "main": [
        [
          {
            "node": "48d2f718-94cb-41a8-9fd0-9a4515484ade",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "649e3db4-b1e2-42b3-90dc-e515c4c7ccd5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "efda8d45-4f8c-4f69-951a-dc86e18ebbd6": {
      "main": [
        [
          {
            "node": "ae0a454f-a42e-4b07-841b-61f12fc11305",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "a88ad3d5-06be-4a1c-8aeb-5a923912b1ab",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8570e5e6-fb1c-4569-a698-a5cfcb07d72b": {
      "main": [
        [
          {
            "node": "841489b8-d59c-46dd-a9c0-81bacea2e6de",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "533b7f45-5895-4d24-aad8-b7aefc322788": {
      "main": [
        [
          {
            "node": "a52cab08-5537-4c70-a970-442531a70426",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "017345a5-2108-405a-b095-9502f8dd0b39": {
      "main": [
        [
          {
            "node": "be51de9b-f915-4925-97be-008217a5eb53",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7d78d355-c736-406c-99e5-249c2563b159": {
      "main": [
        [
          {
            "node": "c7478a71-075f-404e-a470-16665b318554",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "d20a6ffd-dc53-4ff5-8a67-566c24bbb253",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "841489b8-d59c-46dd-a9c0-81bacea2e6de": {
      "main": [
        [
          {
            "node": "54969f5d-ef4e-42c0-ba31-0606dd029e3a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6da29c84-d020-44d8-a9ae-6b482e661e58": {
      "main": [
        [
          {
            "node": "533b7f45-5895-4d24-aad8-b7aefc322788",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "649e3db4-b1e2-42b3-90dc-e515c4c7ccd5",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "649e3db4-b1e2-42b3-90dc-e515c4c7ccd5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "54969f5d-ef4e-42c0-ba31-0606dd029e3a": {
      "main": [
        [
          {
            "node": "f748d354-f0d6-40d4-b2f6-3aceb4931961",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "be51de9b-f915-4925-97be-008217a5eb53": {
      "main": [
        [
          {
            "node": "7162669b-df55-4a22-9052-b2d7eb61edee",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e93ea970-9070-4490-9570-404b1691f031": {
      "main": [
        [
          {
            "node": "07f36fa1-e24c-4c6e-95ff-c7da35e7f97e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c7478a71-075f-404e-a470-16665b318554": {
      "main": [
        [
          {
            "node": "f4b0ffe5-312e-43e3-9d88-56c805cc44e5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "474a9a6a-35a6-460b-bae6-0e30c5140bae": {
      "ai_textSplitter": [
        [
          {
            "node": "ded5a80a-e888-4910-ab72-242aa17ab0af",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "07f36fa1-e24c-4c6e-95ff-c7da35e7f97e": {
      "main": [
        [
          {
            "node": "5d5c514f-08cc-4b47-a905-4db893a7e8a2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5d5c514f-08cc-4b47-a905-4db893a7e8a2": {
      "main": [
        [
          {
            "node": "6da29c84-d020-44d8-a9ae-6b482e661e58",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7162669b-df55-4a22-9052-b2d7eb61edee": {
      "main": [
        [
          {
            "node": "1cddf8d0-d594-4fa5-ac12-9578622a49c6",
            "type": "main",
            "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 - Recursos Humanos, RAG de IA

¿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 nodos56
Categoría2
Tipos de nodos21
Descripción de la dificultad

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

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34