{ "name": "Automate LinkedIn job discovery and AI matching", "nodes": [ { "parameters": { "rule": { "interval": [ { "triggerAtHour": 17, "triggerAtMinute": 30 } ] } }, "type": "n8n-nodes-base.scheduleTrigger", "typeVersion": 1.3, "position": [ -96, 96 ], "id": "4284e7d5-f614-4592-8c4a-fcbff95680db", "name": "Run daily at 17:30" }, { "parameters": {}, "type": "n8n-nodes-base.manualTrigger", "typeVersion": 1, "position": [ -96, -128 ], "id": "1ed13ed1-e073-42e2-bc7d-84d0be480a54", "name": "Run manually" }, { "parameters": { "assignments": { "assignments": [ { "id": "9c881664-f9f3-4956-ada2-270b552d0932", "name": "title", "value": "={{ $json.title }}", "type": "string" }, { "id": "3f364f09-606a-4c32-86a9-c3eaacbb9963", "name": "companyName", "value": "={{ $json.companyName }}", "type": "string" }, { "id": "1011bcb7-de16-4d83-8375-781a558ae5da", "name": "location", "value": "={{ $json.location }}", "type": "string" }, { "id": "9ab91ecc-f930-4c16-9fe4-db8bcc40fe67", "name": "postedTime", "value": "={{ $json.postedTime }}", "type": "string" }, { "id": "94dfeee7-be50-4f05-a4b4-d0322c2b5b91", "name": "contractType", "value": "={{ $json.contractType }}", "type": "string" }, { "id": "eb0728ed-be81-404d-a9d2-ee6e22d962bf", "name": "experienceLevel", "value": "={{ $json.experienceLevel }}", "type": "string" }, { "id": "aa77ba1a-5a88-48cf-b2a0-afd4112ec879", "name": "applyUrl", "value": "={{ $json.applyUrl }}", "type": "string" }, { "id": "bd6b31d2-f558-4f3d-9dc3-a6e8e77acc94", "name": "jobUrl", "value": "={{ $json.jobUrl }}", "type": "string" }, { "id": "419d9947-1494-4588-a667-bc8b7c8febf0", "name": "description", "value": "={{ $json.description }}", "type": "string" } ] }, "options": {} }, "type": "n8n-nodes-base.set", "typeVersion": 3.4, "position": [ 480, 96 ], "id": "cb421294-9067-4299-8515-a3424ef8ab07", "name": "Normalize job fields" }, { "parameters": { "operation": "Run actor and get dataset", "actorId": { "__rl": true, "mode": "id", "value": "BHzefUZlZRKWxkTck" }, "customBody": "{\n \"contractType\": \"F\",\n \"location\": \"New York\",\n \"proxy\": {\n \"useApifyProxy\": true,\n \"apifyProxyGroups\": [\n \"RESIDENTIAL\"\n ]\n },\n \"rows\": 50,\n \"title\": \"Data Analyst\",\n \"workType\": \"3\"\n}", "timeout": 300, "build": "latest" }, "type": "@apify/n8n-nodes-apify.apify", "typeVersion": 1, "position": [ 272, 96 ], "id": "f8f20871-9a40-4eb8-b944-fc80e525dd96", "name": "Fetch LinkedIn jobs with Apify", "retryOnFail": true, "maxTries": 3, "waitBetweenTries": 5000 }, { "parameters": { "mergeByFields": { "values": [ { "field1": "jobUrl", "field2": "jobUrl" } ] }, "options": {} }, "type": "n8n-nodes-base.compareDatasets", "typeVersion": 2.3, "position": [ 800, -32 ], "id": "1c9f9ea6-6a08-4cb7-aed5-f18eb900d74c", "name": "Find unseen jobs" }, { "parameters": { "documentId": { "__rl": true, "value": "", "mode": "id" }, "sheetName": { "__rl": true, "value": "gid=0", "mode": "list", "cachedResultName": "Jobs" }, "options": {} }, "type": "n8n-nodes-base.googleSheets", "typeVersion": 4.7, "position": [ 480, -128 ], "id": "ee6a87e2-4a60-4130-aa51-5d133ddd8b78", "name": "Load stored jobs", "retryOnFail": true, "maxTries": 3, "waitBetweenTries": 5000 }, { "parameters": { "conditions": { "options": { "caseSensitive": true, "leftValue": "", "typeValidation": "strict", "version": 3 }, "conditions": [ { "id": "9b2dc99a-9af4-4fad-978f-9796ea078835", "leftValue": "={{ $json.title }}", "rightValue": "Data", "operator": { "type": "string", "operation": "contains" } }, { "id": "b8f37270-369b-4a9b-a995-502f71e9a823", "leftValue": "={{ $json.title }}", "rightValue": "Engineer", "operator": { "type": "string", "operation": "contains" } }, { "id": "1e686244-708e-4de7-9bea-d97d2fd32365", "leftValue": "={{ $json.title }}", "rightValue": "Analytics", "operator": { "type": "string", "operation": "contains" } }, { "id": "dc420bbf-8370-4c22-a0d1-c717a1609227", "leftValue": "={{ $json.title }}", "rightValue": "Analyst", "operator": { "type": "string", "operation": "contains" } } ], "combinator": "or" }, "options": {} }, "type": "n8n-nodes-base.filter", "typeVersion": 2.3, "position": [ 1040, 176 ], "id": "10339542-472f-4371-a0ef-54bd2af64f5b", "name": "Keep target job families" }, { "parameters": { "promptType": "define", "text": "={{ $json.description }}", "hasOutputParser": true, "options": { "systemMessage": "=Проанализируй описание вакансии из сообщения пользователя и сравни его с профилем кандидата.\n\nДОПОЛНИТЕЛЬНЫЕ ДАННЫЕ О ВАКАНСИИ:\n\n- Название: {{ $json.title }}\n- Компания: {{ $json.companyName }}\n- Описание: {{ $json.description }}\n- Ссылка для отклика: {{ $json.applyUrl }}\n- Ссылка на вакансию: {{ $json.jobUrl }}\n- Вакансия опубликована: {{ $json.postedTime }}\n\n\nПРОФИЛЬ КАНДИДАТА:\n\n- Навыки: Python, SQL, Risk, Underwriting, AML, Machine Learning, Data Visualization, n8n, Assess candidate fits, Prompt Engineering\n- Опыт: 5 лет\n\n---\n\nВыведи только `Yes` или `No`.\n\nВыводи `Yes`, если считаешь, что кандидат подходит для этой вакансии.\nЕсли сомневаешься, по умолчанию выводи `No`.\n\nНиже приведены примеры на основе профиля кандидата.\n\n--------------------------------------------\n\nПРИМЕР 1\n\n- Название: Compliance Data Analyst\n- Компания: Coinbase\n- Описание: Присоединитесь к команде Compliance и анализируйте транзакционные модели, создавайте SQL-дашборды для мониторинга KYC и помогайте в расследованиях AML. Необходимы хорошие знания SQL и понимание финансового регулирования. Опыт работы с Python будет преимуществом.\n- Ссылка для отклика: https://coinbase.com/careers/apply/67890\n- Ссылка на вакансию: https://coinbase.com/careers/67890\n- Вакансия опубликована: 1 неделю назад\n\nПРОФИЛЬ КАНДИДАТА:\n\n- Навыки: Python, SQL, Risk, Underwriting, AML, Machine Learning, Data Visualization, n8n, Assess candidate fits, Prompt Engineering\n- Опыт: 5 лет\n\njob_fit: Yes\n\n--------------------------------------------\n\nПРИМЕР 2\n\n- Название: Frontend React Developer\n- Компания: Vercel\n- Описание: Мы ищем Frontend Developer с опытом работы более 5 лет с React, TypeScript и Next.js. Вы будете создавать пользовательские интерфейсы, оптимизировать производительность и сотрудничать с дизайнерами. Требуются знания современных CSS-фреймворков и библиотек компонентов.\n- Ссылка для отклика: https://vercel.com/careers/apply/11111\n- Ссылка на вакансию: https://vercel.com/careers/11111\n- Вакансия опубликована: 3 дня назад\n\nПРОФИЛЬ КАНДИДАТА:\n\n- Навыки: Python, SQL, Risk, Underwriting, AML, Machine Learning, Data Visualization, n8n, Assess candidate fits, Prompt Engineering\n- Опыт: 5 лет\n\njob_fit: No\n\n--------------------------------------------\n\nПРИМЕР 3\n\n- Название: AI Automation Engineer\n- Компания: Zapier\n- Описание: Создание интеллектуальных рабочих процессов автоматизации с использованием AI-агентов и LLM. Разработка решений в области prompt engineering для корпоративных клиентов. Требуется опыт работы с инструментами автоматизации рабочих процессов, такими как n8n, Zapier и Make, а также навыки написания скриптов на Python.\n- Ссылка для отклика: https://zapier.com/jobs/apply/22222\n- Ссылка на вакансию: https://zapier.com/jobs/22222\n- Вакансия опубликована: 5 дней назад\n\nПРОФИЛЬ КАНДИДАТА:\n\n- Навыки: Python, SQL, Risk, Underwriting, AML, Machine Learning, Data Visualization, n8n, Assess candidate fits, Prompt Engineering\n- Опыт: 5 лет\n\njob_fit: Yes\n\n--------------------------------------------\n\nДОПОЛНИТЕЛЬНЫЕ ДАННЫЕ О ВАКАНСИИ:\n\n- Название: Senior Database Administrator\n- Компания: MongoDB\n- Описание: Управление крупномасштабной инфраструктурой баз данных в облачных средах. Требуется более 5 лет опыта работы с базами данных MongoDB, PostgreSQL или MySQL. Необходимы глубокие знания оптимизации производительности баз данных, репликации, шардирования и аварийного восстановления.\n- Ссылка для отклика: https://mongodb.com/careers/apply/33333\n- Ссылка на вакансию: https://mongodb.com/careers/33333\n- Вакансия опубликована: 1 день назад\n\nПРОФИЛЬ КАНДИДАТА:\n\n- Навыки: Python, SQL, Risk, Underwriting, AML, Machine Learning, Data Visualization, n8n, Assess candidate fits, Prompt Engineering\n- Опыт: 5 лет\n\njob_fit: No" } }, "type": "@n8n/n8n-nodes-langchain.agent", "typeVersion": 3.1, "position": [ 1312, 176 ], "id": "e72cb9f7-2fab-4b59-acb9-70511dd741a3", "name": "Assess candidate fit" }, { "parameters": { "conditions": { "options": { "caseSensitive": true, "leftValue": "", "typeValidation": "strict", "version": 3 }, "conditions": [ { "id": "fa743be1-f035-4036-9117-2a2056f57671", "leftValue": "={{ $json.output.job_fit }}", "rightValue": "Yes", "operator": { "type": "string", "operation": "equals" } } ], "combinator": "and" }, "options": {} }, "type": "n8n-nodes-base.if", "typeVersion": 2.3, "position": [ 1664, 176 ], "id": "835bd55d-93c3-4456-b762-4c67985be4c7", "name": "Continue if candidate fits" }, { "parameters": {}, "type": "n8n-nodes-base.noOp", "typeVersion": 1, "position": [ 1808, 560 ], "id": "3f353bc4-76cf-4362-a51e-15ea320eb5d9", "name": "Skip low-fit job" }, { "parameters": { "jsonSchemaExample": "{\n \"job_fit\": \"No\"\n}" }, "type": "@n8n/n8n-nodes-langchain.outputParserStructured", "typeVersion": 1.3, "position": [ 1488, 384 ], "id": "3d444fc4-563d-454f-803a-2c74e1a49b95", "name": "Parse fit decision" }, { "parameters": { "model": "mistral-medium", "options": {} }, "type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud", "typeVersion": 1, "position": [ 1232, 400 ], "id": "43c78a57-1494-409c-a657-5ab29cc55f65", "name": "Evaluate fit with Mistral" }, { "parameters": { "promptType": "define", "text": "={{ $('Keep target job families').item.json.description }}", "hasOutputParser": true, "options": { "systemMessage": "=Пожалуйста, проанализируйте следующее описание вакансии в сообщении пользователя относительно кандидата.\n\nДополнительные ДАННЫЕ О ВАКАНСИИ:\n- Title: {{ $('Keep target job families').item.json.title }}\n- Company: {{ $('Keep target job families').item.json.companyName }}\n- applyUrl: {{ $('Keep target job families').item.json.applyUrl }}\n- jobUrl: {{ $('Keep target job families').item.json.jobUrl }}\n- postedTime: {{ $('Keep target job families').item.json.postedTime }}\n\nПРОФИЛЬ КАНДИДАТА:\n- Skills: Python, SQL, Risk, Underwriting, AML, Machine Learning, Data Visualization, n8n, Ai Agents, Prompt Engineering\n- Experience: 5 years\n\n---\n\nВыведите JSON с полями missing_skills, fit_summary и cover_letter_draft.\n\nmissing_skills -> Всё, что есть в описании вакансии, но отсутствует в разделе навыков кандидата\n\nfit_summary -> 1 предложение, описывающее соответствие на основе профиля\n\ncover_letter_draft -> короткий абзац для использования в заявке. То, что кандидат использует для подачи заявки." } }, "type": "@n8n/n8n-nodes-langchain.agent", "typeVersion": 3.1, "position": [ 1920, 160 ], "id": "4518a810-a15a-4c28-bb45-b09b212ebdde", "name": "Generate application brief" }, { "parameters": { "jsonSchemaExample": "{\n \"job_analysis\": {\n \"job_title\": \"Senior DevOps Engineer\",\n \"fit_summary\": \"Candidate has 6 years of experience with Kubernetes and AWS which aligns with the core requirements.\",\n \"missing_skills\": [\n \"Azure DevOps\",\n \"Istio\"\n ],\n \"application_materials\": {\n \"tailored_cover_letter\": \"...\",\n \"linkedin_dm\": \"...\"\n },\n \"metadata\": {\n \"apply_url\": \"https://linkedin.com/apply/...\",\n \"job_url\": \"https://linkedin.com/jobs/view/...\",\n \"posted_time\": \"2 hours ago\"\n }\n }\n}" }, "type": "@n8n/n8n-nodes-langchain.outputParserStructured", "typeVersion": 1.3, "position": [ 2096, 384 ], "id": "fb1c845d-886a-41e8-b9a8-ac50b5f5059e", "name": "Parse application brief" }, { "parameters": { "model": "mistral-medium", "options": {} }, "type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud", "typeVersion": 1, "position": [ 1920, 368 ], "id": "dbb69ba7-bbce-4774-9a74-e53a11ceee33", "name": "Draft materials with Mistral" }, { "parameters": { "operation": "append", "documentId": { "__rl": true, "value": "", "mode": "id" }, "sheetName": { "__rl": true, "value": "gid=0", "mode": "list", "cachedResultName": "Jobs" }, "columns": { "mappingMode": "defineBelow", "value": { "title": "={{ $json.output.job_analysis.job_title }}", "jobUrl": "={{ $json.output.job_analysis.metadata.job_url }}", "postedTime": "={{ $json.output.job_analysis.metadata.posted_time }}", "applyUrl": "={{ $json.output.job_analysis.metadata.apply_url }}", "description": "={{ $('Keep target job families').item.json.description }}", "location": "={{ $('Keep target job families').item.json.location }}", "companyName": "={{ $('Keep target job families').item.json.companyName }}", "experienceLevel": "={{ $('Keep target job families').item.json.experienceLevel }}", "contactType": "={{ $('Keep target job families').item.json.contractType }}", "fit summary": "={{ $json.output.job_analysis.fit_summary }}", "skills missing": "={{ $json.output.job_analysis.missing_skills }}", "Cover Letter": "={{ $json.output.job_analysis.application_materials.tailored_cover_letter }}" }, "matchingColumns": [], "schema": [ { "id": "title", "displayName": "title", "required": false, "defaultMatch": false, "display": true, "type": "string", "canBeUsedToMatch": true }, { "id": "companyName", "displayName": "companyName", "required": false, "defaultMatch": false, "display": true, "type": "string", "canBeUsedToMatch": true }, { "id": "location", "displayName": "location", "required": false, "defaultMatch": false, "display": true, "type": "string", "canBeUsedToMatch": true }, { "id": "postedTime", "displayName": "postedTime", "required": false, "defaultMatch": false, "display": true, "type": "string", "canBeUsedToMatch": true }, { "id": "contactType", "displayName": "contactType", "required": false, "defaultMatch": false, "display": true, "type": "string", "canBeUsedToMatch": true }, { "id": "experienceLevel", "displayName": "experienceLevel", "required": false, "defaultMatch": false, "display": true, "type": "string", "canBeUsedToMatch": true }, { "id": "applyUrl", "displayName": "applyUrl", "required": false, "defaultMatch": false, "display": true, "type": "string", "canBeUsedToMatch": true }, { "id": "jobUrl", "displayName": "jobUrl", "required": false, "defaultMatch": false, "display": true, "type": "string", "canBeUsedToMatch": true }, { "id": "description", "displayName": "description", "required": false, "defaultMatch": false, "display": true, "type": "string", "canBeUsedToMatch": true }, { "id": "Cover Letter", "displayName": "Cover Letter", "required": false, "defaultMatch": false, "display": true, "type": "string", "canBeUsedToMatch": true, "removed": false }, { "id": "skills missing", "displayName": "skills missing", "required": false, "defaultMatch": false, "display": true, "type": "string", "canBeUsedToMatch": true, "removed": false }, { "id": "fit summary", "displayName": "fit summary", "required": false, "defaultMatch": false, "display": true, "type": "string", "canBeUsedToMatch": true, "removed": false }, { "id": "Applied", "displayName": "Applied", "required": false, "defaultMatch": false, "display": true, "type": "string", "canBeUsedToMatch": true } ], "attemptToConvertTypes": false, "convertFieldsToString": false }, "options": {} }, "type": "n8n-nodes-base.googleSheets", "typeVersion": 4.7, "position": [ 2336, -80 ], "id": "3b7705d2-386c-4a0d-8207-674e9f9ca8a2", "name": "Store matched job", "disabled": false, "retryOnFail": true, "maxTries": 3, "waitBetweenTries": 5000 }, { "parameters": { "chatId": "", "text": "=✨New High-Match Job Found!✨\n➡️Role: {{ $json.output.job_analysis.job_title }}\n➡️Experience Level: {{ $('Keep target job families').item.json.experienceLevel }}\n\n⚠️Missing Skills: {{ $json.output.job_analysis.missing_skills }}\n🔗Apply link: {{ $json.output.job_analysis.metadata.apply_url }}\n🔗Job link: {{ $json.output.job_analysis.metadata.job_url }}", "additionalFields": { "appendAttribution": false } }, "type": "n8n-nodes-base.telegram", "typeVersion": 1.2, "position": [ 2736, 368 ], "id": "28a4a74e-4b52-4be7-a655-f9ae6e8dfdb6", "name": "Notify via Telegram", "webhookId": "f4982401-715f-409a-b023-f8c87a155074", "retryOnFail": true, "maxTries": 3, "waitBetweenTries": 5000 }, { "parameters": { "options": {} }, "type": "n8n-nodes-base.splitInBatches", "typeVersion": 3, "position": [ 2336, 160 ], "id": "ab9b7ed9-1613-45ed-bf15-ac1f8d362a5d", "name": "Rate-limit notifications" }, { "parameters": { "amount": 15 }, "type": "n8n-nodes-base.wait", "typeVersion": 1.1, "position": [ 2512, 368 ], "id": "46e2d45c-e61e-4650-a104-2a0e195e3a82", "name": "Pause between messages", "webhookId": "e1c5f72f-a317-4900-821d-c2990360ba25" } ], "connections": { "Run daily at 17:30": { "main": [ [ { "node": "Fetch LinkedIn jobs with Apify", "type": "main", "index": 0 }, { "node": "Load stored jobs", "type": "main", "index": 0 } ] ] }, "Run manually": { "main": [ [ { "node": "Fetch LinkedIn jobs with Apify", "type": "main", "index": 0 }, { "node": "Load stored jobs", "type": "main", "index": 0 } ] ] }, "Fetch LinkedIn jobs with Apify": { "main": [ [ { "node": "Normalize job fields", "type": "main", "index": 0 } ] ] }, "Normalize job fields": { "main": [ [ { "node": "Find unseen jobs", "type": "main", "index": 1 } ] ] }, "Find unseen jobs": { "main": [ [], [], [], [ { "node": "Keep target job families", "type": "main", "index": 0 } ] ] }, "Load stored jobs": { "main": [ [ { "node": "Find unseen jobs", "type": "main", "index": 0 } ] ] }, "Keep target job families": { "main": [ [ { "node": "Assess candidate fit", "type": "main", "index": 0 } ] ] }, "Assess candidate fit": { "main": [ [ { "node": "Continue if candidate fits", "type": "main", "index": 0 } ] ] }, "Continue if candidate fits": { "main": [ [ { "node": "Generate application brief", "type": "main", "index": 0 } ], [ { "node": "Skip low-fit job", "type": "main", "index": 0 } ] ] }, "Parse fit decision": { "ai_outputParser": [ [ { "node": "Assess candidate fit", "type": "ai_outputParser", "index": 0 } ] ] }, "Evaluate fit with Mistral": { "ai_languageModel": [ [ { "node": "Assess candidate fit", "type": "ai_languageModel", "index": 0 } ] ] }, "Parse application brief": { "ai_outputParser": [ [ { "node": "Generate application brief", "type": "ai_outputParser", "index": 0 } ] ] }, "Draft materials with Mistral": { "ai_languageModel": [ [ { "node": "Generate application brief", "type": "ai_languageModel", "index": 0 } ] ] }, "Generate application brief": { "main": [ [ { "node": "Store matched job", "type": "main", "index": 0 }, { "node": "Rate-limit notifications", "type": "main", "index": 0 } ] ] }, "Rate-limit notifications": { "main": [ [], [ { "node": "Pause between messages", "type": "main", "index": 0 } ] ] }, "Pause between messages": { "main": [ [ { "node": "Notify via Telegram", "type": "main", "index": 0 } ] ] }, "Notify via Telegram": { "main": [ [ { "node": "Rate-limit notifications", "type": "main", "index": 0 } ] ] } }, "active": false, "settings": { "executionOrder": "v1", "binaryMode": "separate", "timezone": "Europe/Moscow" } }