{
  "name": "Automatic job listings extraction and publishing template",
  "nodes": [
    {
      "id": "27e265ef-0178-463c-894f-638b05f36ab6",
      "name": "Search File",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -1568,
        1328
      ]
    },
    {
      "id": "40108440-f928-4550-b7f9-7777ccbee4e8",
      "name": "Get Data",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -1344,
        1328
      ]
    },
    {
      "id": "b47daf1e-f98e-4039-a521-e18117df50cd",
      "name": "Supabase Vector Store",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
      "position": [
        -880,
        1328
      ]
    },
    {
      "id": "6e83958d-7e39-4459-8045-6db75f0d1d61",
      "name": "Embeddings OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        -896,
        1552
      ]
    },
    {
      "id": "0ce8cdb8-a132-47bc-ad1b-7bc4e3f0a1df",
      "name": "Default Data Loader",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        -768,
        1552
      ]
    },
    {
      "id": "21666edf-7e66-4953-bd0e-1fb5b5882428",
      "name": "Recursive Character Text Splitter",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        -656,
        1680
      ]
    },
    {
      "id": "4d4d3aab-982c-4a68-ba74-a13cd37b946c",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -1120,
        1328
      ]
    },
    {
      "id": "1ba1fb98-be3f-4fca-b145-920b02609c8b",
      "name": "Supabase Vector Store1",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
      "position": [
        416,
        2000
      ]
    },
    {
      "id": "9dabf5f6-2789-4cc3-ad1f-1ae0503f3f90",
      "name": "Embeddings OpenAI1",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        512,
        2208
      ]
    },
    {
      "id": "0318eb86-0df5-4552-9ed4-6d3e11b5d346",
      "name": "Google Drive Trigger",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        -1792,
        1328
      ]
    },
    {
      "id": "efb7fdfc-6506-481a-9c2c-0ff690416fa1",
      "name": "📥 New Job Link via Telegram",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -1824,
        2048
      ]
    },
    {
      "id": "8053e182-b9aa-4273-a82b-cbc9cd2cb415",
      "name": "🔧 Prepare URL for Extraction",
      "type": "n8n-nodes-base.set",
      "position": [
        -1600,
        2032
      ]
    },
    {
      "id": "2f11c954-c6cb-46b3-916d-ddb6df220b9f",
      "name": "🧮 Map Job Type & Category IDs",
      "type": "n8n-nodes-base.code",
      "position": [
        816,
        1728
      ]
    },
    {
      "id": "122181aa-b26a-426a-875d-93bb2ff7b05f",
      "name": "📥 Download Company Logo",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1472,
        1728
      ]
    },
    {
      "id": "bb8acbf0-9f1b-4866-8771-3ae7c727d693",
      "name": "☁️ Upload Logo to WordPress",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1712,
        1728
      ]
    },
    {
      "id": "d7704688-f15b-4869-acd8-2067a36f5dfc",
      "name": "📦 Format Final Job Post Data",
      "type": "n8n-nodes-base.set",
      "position": [
        1936,
        1728
      ]
    },
    {
      "id": "9885c9df-0835-466b-a6af-41806f868ecc",
      "name": "✅ All Fields Available?",
      "type": "n8n-nodes-base.if",
      "position": [
        2160,
        1712
      ]
    },
    {
      "id": "2d4d5a37-785c-488e-9698-95d4c4acc220",
      "name": "if not valid",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2384,
        1408
      ]
    },
    {
      "id": "2b937eed-2ee2-42d6-897b-75d67e865bbb",
      "name": "notify: processing job",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -928,
        1952
      ]
    },
    {
      "id": "53185894-2a97-45df-ad7f-2295ba60e55f",
      "name": "notify: extracting",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -480,
        1952
      ]
    },
    {
      "id": "b0c5d81e-1524-42f7-a951-e1615674ede6",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -32,
        1872
      ]
    },
    {
      "id": "19eda755-411f-4c05-aaef-1f1bed9bc10a",
      "name": "notify: success extract",
      "type": "n8n-nodes-base.telegram",
      "position": [
        192,
        1776
      ]
    },
    {
      "id": "9b0a33d2-59be-40dd-80a4-60ba3c9cb10a",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1840,
        1216
      ],
      "parameters": {
        "width": 1400,
        "height": 620,
        "content": "## RAG DATA\n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)"
      }
    },
    {
      "id": "a9a62b30-7ab6-48da-9ea6-0d0f2026b03b",
      "name": "📚 Load Valid Job Types & Categories",
      "type": "n8n-nodes-base.set",
      "position": [
        -1376,
        2048
      ]
    },
    {
      "id": "c0295bdb-d2d3-4988-9b8f-09ea94f3b772",
      "name": "notify: error",
      "type": "n8n-nodes-base.telegram",
      "position": [
        944,
        1968
      ]
    },
    {
      "id": "d986c7c1-edcb-4b84-a7a5-321b6df8d562",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        -704,
        1952
      ]
    },
    {
      "id": "ea1fbbb2-b0dc-4ab8-b0c9-6d993bb95d81",
      "name": "valid url?",
      "type": "n8n-nodes-base.if",
      "position": [
        -1152,
        2048
      ]
    },
    {
      "id": "e8169ac9-8b39-487c-a190-353127378cb7",
      "name": "notify: wrong url",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -928,
        2144
      ]
    },
    {
      "id": "e6a7aa5b-6d04-49d4-b920-3895e935baf6",
      "name": "🧠 Extract Job Data with GPT",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        416,
        1776
      ]
    },
    {
      "id": "00ca2cca-7747-4266-a733-2deb390c86ae",
      "name": "Create Url",
      "type": "n8n-nodes-base.code",
      "position": [
        1264,
        1728
      ]
    },
    {
      "id": "dbade535-86ce-4c7e-a58e-db7f67ad9032",
      "name": "notify: openai success",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1040,
        1728
      ]
    },
    {
      "id": "166012da-838d-4b35-ae9a-4903b5879f20",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        2384,
        2112
      ]
    },
    {
      "id": "492ef5dd-2637-4059-b403-4ac742dcab75",
      "name": "📥 Download Company Logo - Alt",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2608,
        2112
      ]
    },
    {
      "id": "25c6286c-dd0e-49f2-a544-d11d1121bf1c",
      "name": "☁️ Upload Logo to WordPress - Alt",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2832,
        2112
      ]
    },
    {
      "id": "c1a7c69b-fb9f-4026-8984-ffd64349b63f",
      "name": "📦 Format Final Job Post Data - Alt",
      "type": "n8n-nodes-base.set",
      "position": [
        3056,
        2112
      ]
    },
    {
      "id": "da72df6d-de32-401e-94d2-2f29581114c4",
      "name": "✅ All Fields Available? - Alt",
      "type": "n8n-nodes-base.if",
      "position": [
        3280,
        2096
      ]
    },
    {
      "id": "5796ee20-2946-4897-a014-095c4ca8c41d",
      "name": "📊 Did Publish Succeed?1",
      "type": "n8n-nodes-base.if",
      "position": [
        3728,
        2080
      ]
    },
    {
      "id": "b8067d7e-0647-4394-9662-734547fe6386",
      "name": "📨 Notify Success - Alt",
      "type": "n8n-nodes-base.telegram",
      "position": [
        3952,
        2112
      ]
    },
    {
      "id": "bd6a58c8-af17-49e4-b9dc-6a575f07ebe2",
      "name": "📨 Notify Failed - Alt",
      "type": "n8n-nodes-base.telegram",
      "position": [
        3952,
        2304
      ]
    },
    {
      "id": "3305ba40-106a-4177-b851-17946afe6c64",
      "name": "📊 Did Publish Succeed?2",
      "type": "n8n-nodes-base.if",
      "position": [
        2608,
        1648
      ]
    },
    {
      "id": "669df126-b486-401a-9f14-3dd7e4c25d2d",
      "name": "notify: failed extract",
      "type": "n8n-nodes-base.telegram",
      "position": [
        192,
        1968
      ]
    },
    {
      "id": "94f124f9-287e-4ab9-8c85-3c923d862a4b",
      "name": "Error",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2832,
        1824
      ]
    },
    {
      "id": "520bf6db-cfda-42fb-98c0-8293187b4bd7",
      "name": "changing method",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2832,
        1408
      ]
    },
    {
      "id": "b42a3aac-3457-477a-b4e0-789ae7f0c4f9",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        3056,
        1408
      ]
    },
    {
      "id": "e7fd2055-f045-455f-a348-0ded7bceaa5a",
      "name": "Wait2",
      "type": "n8n-nodes-base.wait",
      "position": [
        2608,
        1408
      ]
    },
    {
      "id": "ae89562c-fc6c-46b4-841c-a6d2d2b3d6d7",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -384,
        1232
      ],
      "parameters": {
        "width": 660,
        "height": 260,
        "content": "## Monitoring - leave as it is"
      }
    },
    {
      "id": "fe6b5ed7-6a7f-4b1c-a876-ef79566e8b6f",
      "name": "Error Trigger",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        -336,
        1328
      ]
    },
    {
      "id": "5c6f710e-2901-407b-920c-46d0d9f2a3b9",
      "name": "Kirim ke Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        112,
        1328
      ]
    },
    {
      "id": "c732088d-cce6-4e26-b113-bd9249182737",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        -112,
        1328
      ]
    },
    {
      "id": "6f7c3c18-e606-44c8-9fe7-1efa43f7bc81",
      "name": "Publiched!",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2832,
        1600
      ]
    },
    {
      "id": "62ca52b1-a939-43de-94bd-e2d41cc5aeb9",
      "name": "🚀 Publish to Your web",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2384,
        1648
      ]
    },
    {
      "id": "5fb4a7bf-741a-40f9-a0b5-b9e10e34403d",
      "name": "🚀 Publish to Yourweb - Alt",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3504,
        2080
      ]
    },
    {
      "id": "7cf031e8-56cb-4894-be0a-1eaf63c4d81a",
      "name": "Extract",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -256,
        1952
      ]
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "notify: success extract",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "notify: failed extract",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code": {
      "main": [
        [
          {
            "node": "Kirim ke Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "notify: extracting",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait2": {
      "main": [
        [
          {
            "node": "changing method",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "notify: error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Data": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Url": {
      "main": [
        [
          {
            "node": "📥 Download Company Logo",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "valid url?": {
      "main": [
        [
          {
            "node": "notify: processing job",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "notify: wrong url",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "📥 Download Company Logo - Alt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search File": {
      "main": [
        [
          {
            "node": "Get Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "if not valid": {
      "main": [
        [
          {
            "node": "Wait2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Error Trigger": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Supabase Vector Store",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "changing method": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI": {
      "ai_embedding": [
        [
          {
            "node": "Supabase Vector Store",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI1": {
      "ai_embedding": [
        [
          {
            "node": "Supabase Vector Store1",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "notify: extracting": {
      "main": [
        [
          {
            "node": "Extract",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Default Data Loader": {
      "ai_document": [
        [
          {
            "node": "Supabase Vector Store",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive Trigger": {
      "main": [
        [
          {
            "node": "Search File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Supabase Vector Store": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Supabase Vector Store1": {
      "ai_tool": [
        [
          {
            "node": "🧠 Extract Job Data with GPT",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "notify: openai success": {
      "main": [
        [
          {
            "node": "Create Url",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "notify: processing job": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "notify: success extract": {
      "main": [
        [
          {
            "node": "🧠 Extract Job Data with GPT",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🚀 Publish to Your web": {
      "main": [
        [
          {
            "node": "📊 Did Publish Succeed?2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "✅ All Fields Available?": {
      "main": [
        [
          {
            "node": "🚀 Publish to Your web",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "if not valid",
            "type": "main",
            "index": 0
          },
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📊 Did Publish Succeed?1": {
      "main": [
        [
          {
            "node": "📨 Notify Success - Alt",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "📨 Notify Failed - Alt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📊 Did Publish Succeed?2": {
      "main": [
        [
          {
            "node": "Publiched!",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📥 Download Company Logo": {
      "main": [
        [
          {
            "node": "☁️ Upload Logo to WordPress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🚀 Publish to Yourweb - Alt": {
      "main": [
        [
          {
            "node": "📊 Did Publish Succeed?1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📥 New Job Link via Telegram": {
      "main": [
        [
          {
            "node": "🔧 Prepare URL for Extraction",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🧠 Extract Job Data with GPT": {
      "main": [
        [
          {
            "node": "🧮 Map Job Type & Category IDs",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "notify: error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "☁️ Upload Logo to WordPress": {
      "main": [
        [
          {
            "node": "📦 Format Final Job Post Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "✅ All Fields Available? - Alt": {
      "main": [
        [
          {
            "node": "🚀 Publish to Yourweb - Alt",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "📨 Notify Failed - Alt",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "📨 Notify Failed - Alt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📦 Format Final Job Post Data": {
      "main": [
        [
          {
            "node": "✅ All Fields Available?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🔧 Prepare URL for Extraction": {
      "main": [
        [
          {
            "node": "📚 Load Valid Job Types & Categories",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📥 Download Company Logo - Alt": {
      "main": [
        [
          {
            "node": "☁️ Upload Logo to WordPress - Alt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🧮 Map Job Type & Category IDs": {
      "main": [
        [
          {
            "node": "notify: openai success",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Recursive Character Text Splitter": {
      "ai_textSplitter": [
        [
          {
            "node": "Default Data Loader",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "☁️ Upload Logo to WordPress - Alt": {
      "main": [
        [
          {
            "node": "📦 Format Final Job Post Data - Alt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📦 Format Final Job Post Data - Alt": {
      "main": [
        [
          {
            "node": "✅ All Fields Available? - Alt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📚 Load Valid Job Types & Categories": {
      "main": [
        [
          {
            "node": "valid url?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}