{
  "name": "Screen CVs and score candidates with Gmail, Google Drive, OpenAI, and Sheets",
  "nodes": [
    {
      "id": "130af06a-81ea-4060-8380-8c29b23a6043",
      "name": "Standardize",
      "type": "n8n-nodes-base.set",
      "position": [
        1344,
        0
      ]
    },
    {
      "id": "4c14070b-a0ba-4bc3-9be6-58f9fe6efbd2",
      "name": "Recruiter Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2032,
        0
      ]
    },
    {
      "id": "ac444c92-b7b7-4cc8-9e4e-4d9b5b7f934a",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2288,
        208
      ]
    },
    {
      "id": "a9b5c2e8-b948-476a-b1aa-2a0de813677b",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2032,
        208
      ]
    },
    {
      "id": "f1e076c5-cdfd-4ad6-a401-009987213e46",
      "name": "Information Extractor",
      "type": "@n8n/n8n-nodes-langchain.informationExtractor",
      "position": [
        2384,
        0
      ]
    },
    {
      "id": "4bfec478-524a-4696-a9ee-8a3e4752773d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1152,
        -1680
      ],
      "parameters": {
        "width": 1072,
        "height": 1168,
        "content": "## Who this template is for\n\nThis workflow is designed for HR teams, recruiters, and companies that receive job applications via email and want to automatically analyze and evaluate candidates using A"
      }
    },
    {
      "id": "9cdbdfae-665c-4ac6-9fef-96408c8bd1b8",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -128,
        -448
      ],
      "parameters": {
        "width": 544,
        "height": 896,
        "content": "## A. Application intake & CV storage\n\nThis section monitors incoming job applications through Gmail.\n\nWhen a candidate sends an email containing a CV attachment, the workflow triggers automatically a"
      }
    },
    {
      "id": "30a709e5-d674-41fd-97d2-395ae458f855",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        416,
        -448
      ],
      "parameters": {
        "width": 960,
        "height": 896,
        "content": "## B. File type detection\n\nThis step identifies the type of CV file received.\n\nDepending on whether the resume is a PDF, Word document, or text file, the workflow routes the file to the appropriate ex"
      }
    },
    {
      "id": "ba13b0ac-ebaf-46a4-85c1-ccba7ffec8ee",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1376,
        -448
      ],
      "parameters": {
        "width": 576,
        "height": 896,
        "content": "## C. CV text extraction & standardization\n\nIn this section, the workflow extracts the full textual content of the resume and standardizes the format.\n\nThis ensures the AI agent receives a clean, stru"
      }
    },
    {
      "id": "87204d66-bf9d-44da-a0fa-faee8cb7bbb3",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1952,
        -448
      ],
      "parameters": {
        "width": 704,
        "height": 896,
        "content": "## D. AI recruiter evaluation\n\nThis is the core of the workflow.\n\nThe AI recruiter agent analyzes the candidate profile and evaluates:\n- Professional strengths\n- Weaknesses\n- Skills and experience\n- P"
      }
    },
    {
      "id": "828dd500-51ec-4124-a766-51145efaa1cf",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2656,
        -448
      ],
      "parameters": {
        "width": 352,
        "height": 896,
        "content": "## E. Candidate data storage\n\nFinally, the structured evaluation results are saved to Google Sheets.\n\nThis creates a searchable database of candidate profiles and AI evaluations that recruiters can ea"
      }
    },
    {
      "id": "c8676ca5-fae4-4199-add4-04364ae063c7",
      "name": "New CV",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        224,
        0
      ]
    },
    {
      "id": "8e0c9990-7db7-490c-9749-25d3e18067bd",
      "name": "saves CV in folder",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1568,
        0
      ]
    },
    {
      "id": "24a7e52b-53b2-4357-835c-b55d75a5a6e7",
      "name": "new candidate created",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2752,
        0
      ]
    },
    {
      "id": "a9e6653e-dba4-4102-ace0-43acd08cfd74",
      "name": "On New Candidate Email",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "2e47db0c-e923-4cd6-be65-80ec25908022",
      "name": "Extract Text from Docx",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        672,
        -176
      ]
    },
    {
      "id": "39d3c368-256f-4fe9-9570-311c40d60b64",
      "name": "Download Word File",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        880,
        -176
      ]
    },
    {
      "id": "7788e1b9-b8aa-4a98-bd5d-ff8a69fea2e0",
      "name": "Download PDF File",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        672,
        0
      ]
    },
    {
      "id": "8bfa3150-6d0c-473c-a711-8206704c2dfb",
      "name": "Download TXT File",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        672,
        208
      ]
    },
    {
      "id": "f4aab73d-95e7-4ca7-8b1d-6c2ebb0e3d54",
      "name": "Parse Word Content",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        1104,
        -176
      ]
    },
    {
      "id": "dfee4951-2835-482e-ac82-b63fa3851252",
      "name": "Parse PDF Content",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        880,
        0
      ]
    },
    {
      "id": "7e5ec95c-7c8e-49d2-ace3-34498eacca62",
      "name": "Parse Text Content",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        1104,
        208
      ]
    },
    {
      "id": "dd315439-2488-4023-9255-4f2ff58aeba3",
      "name": "Route by File Type",
      "type": "n8n-nodes-base.switch",
      "position": [
        448,
        -16
      ]
    },
    {
      "id": "c25a48b6-5900-4332-8ea3-c219267a5967",
      "name": "Extract Final Text",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        1808,
        0
      ]
    }
  ],
  "connections": {
    "New CV": {
      "main": [
        [
          {
            "node": "Route by File Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Standardize": {
      "main": [
        [
          {
            "node": "saves CV in folder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Recruiter Agent": {
      "main": [
        [
          {
            "node": "Information Extractor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download PDF File": {
      "main": [
        [
          {
            "node": "Parse PDF Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download TXT File": {
      "main": [
        [
          {
            "node": "Parse Text Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Recruiter Agent",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Information Extractor",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Parse PDF Content": {
      "main": [
        [
          {
            "node": "Standardize",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Word File": {
      "main": [
        [
          {
            "node": "Parse Word Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Final Text": {
      "main": [
        [
          {
            "node": "Recruiter Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Text Content": {
      "main": [
        [
          {
            "node": "Standardize",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Word Content": {
      "main": [
        [
          {
            "node": "Standardize",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by File Type": {
      "main": [
        [
          {
            "node": "Extract Text from Docx",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Download PDF File",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Download TXT File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "saves CV in folder": {
      "main": [
        [
          {
            "node": "Extract Final Text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Information Extractor": {
      "main": [
        [
          {
            "node": "new candidate created",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Text from Docx": {
      "main": [
        [
          {
            "node": "Download Word File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On New Candidate Email": {
      "main": [
        [
          {
            "node": "New CV",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Recruiter Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}