{
  "name": "Automate candidate creation in Recrutei with GPT-4 vacancy matching & resume parsing",
  "nodes": [
    {
      "id": "a3f36a51-3315-4e82-a1bb-75d622c90fca",
      "name": "On Form Submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        400,
        224
      ]
    },
    {
      "id": "834651b7-adb1-41c2-bc9b-89d81bce622d",
      "name": "Create Prospect in Recrutei",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1520,
        224
      ]
    },
    {
      "id": "cbabd885-7609-424c-baad-830b5d43d5ec",
      "name": "Get Pipe Stages",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1312,
        224
      ]
    },
    {
      "id": "416ed197-fa3f-4bc4-8ae9-0f8081727c9c",
      "name": "Get Vacancy ID from AI",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        672,
        224
      ]
    },
    {
      "id": "a89cba85-6181-4801-bb04-87d0ae27568e",
      "name": "Set Vacancy ID",
      "type": "n8n-nodes-base.set",
      "position": [
        1008,
        224
      ]
    },
    {
      "id": "97426226-6ddd-4ce7-8dd2-88ae3da09980",
      "name": "Recrutei's MCP",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        816,
        432
      ]
    },
    {
      "id": "2d200089-8760-4fb2-8914-578b0f8c5e64",
      "name": "Add Curriculum as Observation",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2224,
        240
      ]
    },
    {
      "id": "f13824be-23ec-4914-a7c7-a41d9db3cf67",
      "name": "Extract Text from PDF Resume",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        1984,
        240
      ]
    },
    {
      "id": "192f481f-b99e-4a21-965d-5b3d4e4fd883",
      "name": "Merge Candidate Data",
      "type": "n8n-nodes-base.merge",
      "position": [
        1776,
        240
      ]
    },
    {
      "id": "53927426-ac46-416e-b709-46eadaccae45",
      "name": "Main Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        32,
        -320
      ],
      "parameters": {
        "width": 1072,
        "height": 304,
        "content": "## How it works\nThis workflow starts when a user submits an application form. It uses an AI tool (connected to your Recrutei MCP) to accurately find the correct Vacancy ID based on the title provided."
      }
    },
    {
      "id": "f95d0b32-4ff3-472d-a5f2-1b1c68490167",
      "name": "Section 1: Capture & Enrich",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        352,
        112
      ],
      "parameters": {
        "width": 828,
        "height": 450,
        "content": "### 1. Capture & Enrich Data\nCaptures form data and uses AI + MCP to find the internal Vacancy ID."
      }
    },
    {
      "id": "b5317708-19d5-4bd1-9464-094dda807980",
      "name": "Section 2: Create Candidate",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1216,
        112
      ],
      "parameters": {
        "width": 510,
        "height": 450,
        "content": "### 2. Create Candidate\nUses the Recrutei API to get the correct pipeline and create the new candidate."
      }
    },
    {
      "id": "c120d515-6dcc-46d0-96a2-c2e0787d5d9c",
      "name": "Section 3: Process Resume",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1760,
        112
      ],
      "parameters": {
        "width": 700,
        "height": 450,
        "content": "### 3. Process Resume\nMerges the data, extracts text from the PDF, and adds it as an observation to the candidate."
      }
    }
  ],
  "connections": {
    "Recrutei's MCP": {
      "ai_tool": [
        [
          {
            "node": "Get Vacancy ID from AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Set Vacancy ID": {
      "main": [
        [
          {
            "node": "Get Pipe Stages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Pipe Stages": {
      "main": [
        [
          {
            "node": "Create Prospect in Recrutei",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On Form Submission": {
      "main": [
        [
          {
            "node": "Get Vacancy ID from AI",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge Candidate Data",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Merge Candidate Data": {
      "main": [
        [
          {
            "node": "Extract Text from PDF Resume",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Vacancy ID from AI": {
      "main": [
        [
          {
            "node": "Set Vacancy ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Prospect in Recrutei": {
      "main": [
        [
          {
            "node": "Merge Candidate Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Text from PDF Resume": {
      "main": [
        [
          {
            "node": "Add Curriculum as Observation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}