{
  "name": "📑 Anonymize & reformat CVs with Gemini AI, Google Sheets & Apps Script",
  "nodes": [
    {
      "id": "af8c5794-092e-4ad4-95a9-e1925ffe230a",
      "name": "Compare Datasets",
      "type": "n8n-nodes-base.compareDatasets",
      "position": [
        -480,
        24
      ]
    },
    {
      "id": "09c69c98-d663-4c5f-9acf-7990307f5107",
      "name": "Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -200,
        40
      ]
    },
    {
      "id": "3814fbaa-4107-47b2-8029-b84e1250f249",
      "name": "Extract from File",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        -20,
        40
      ]
    },
    {
      "id": "73e58014-0646-4d22-a761-367af5621411",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        640,
        80
      ]
    },
    {
      "id": "07889e21-d9f2-4e11-8e11-b0c1019154a0",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        240,
        40
      ]
    },
    {
      "id": "3f2c758c-c309-4d32-9092-3dc943a9986e",
      "name": "Update CV Fields",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1160,
        -80
      ]
    },
    {
      "id": "1367384a-fba8-40e8-80c3-3817030f408c",
      "name": "Clean output",
      "type": "n8n-nodes-base.code",
      "position": [
        940,
        -80
      ]
    },
    {
      "id": "853cb321-9822-47da-a7a2-7b10be2825d9",
      "name": "Log the processing of the doc",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1360,
        60
      ]
    },
    {
      "id": "ea6e2058-dd6b-4fdd-a03d-b8efa4f62a8a",
      "name": "Cleans output",
      "type": "n8n-nodes-base.code",
      "position": [
        -700,
        -55
      ]
    },
    {
      "id": "d0e2c477-21c5-4fa0-aa75-469a94e746b2",
      "name": "Get list of pdf files",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -920,
        -55
      ]
    },
    {
      "id": "7ef3be8f-ec44-458b-8f18-407918e55192",
      "name": "Read processed docs",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -800,
        100
      ]
    },
    {
      "id": "24184f2a-203c-4a7e-9afa-581b7dfcd73a",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -980,
        -140
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "ba91f3d2-2702-49dc-93d2-a81e511b01a2",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        -140
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "01fe0834-6818-44ca-a03a-69f6cc8eee63",
      "name": "AI Agent - get targeted elements from text",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        580,
        -80
      ]
    },
    {
      "id": "c61c9a31-f508-454c-ba0c-dd825b1433cb",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        -140
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "a27542cf-7065-4449-bee8-2d5e697e6350",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        520,
        -380
      ]
    },
    {
      "id": "2008e58f-4c0b-4738-a18a-56c470594d2c",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        -580
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "116cf775-e28b-405d-bea5-6970e517caf3",
      "name": "Google Drive Trigger",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        -1220,
        20
      ]
    }
  ],
  "connections": {
    "Clean output": {
      "main": [
        [
          {
            "node": "Update CV Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive": {
      "main": [
        [
          {
            "node": "Extract from File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Cleans output": {
      "main": [
        [
          {
            "node": "Compare Datasets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "AI Agent - get targeted elements from text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Compare Datasets": {
      "main": [
        [
          {
            "node": "Google Drive",
            "type": "main",
            "index": 0
          }
        ],
        [],
        [],
        []
      ]
    },
    "Update CV Fields": {
      "main": [
        [
          {
            "node": "Log the processing of the doc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract from File": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read processed docs": {
      "main": [
        [
          {
            "node": "Compare Datasets",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Google Drive Trigger": {
      "main": [
        [
          {
            "node": "Get list of pdf files",
            "type": "main",
            "index": 0
          },
          {
            "node": "Read processed docs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get list of pdf files": {
      "main": [
        [
          {
            "node": "Cleans output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent - get targeted elements from text",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Log the processing of the doc": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent - get targeted elements from text": {
      "main": [
        [
          {
            "node": "Clean output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}