{
  "name": "Cv resume PDF parsing with multimodal vision AI",
  "nodes": [
    {
      "id": "38da57b7-2161-415d-8473-783ccdc7b975",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -260,
        840
      ]
    },
    {
      "id": "2cd46d91-105d-4b5e-be43-3343a9da815d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -780,
        540
      ],
      "parameters": {
        "width": 365.05232558139534,
        "height": 401.24529475392126,
        "content": "## Try me out!\n\n### This workflow converts a Candidate Resume PDF to an image which is then \"read\" by a Vision Language Model (VLM). The VLM assesses if the candidate's CV is a fit for the desired rol"
      }
    },
    {
      "id": "40bab53a-fcbc-4acc-8d59-c20b3e1b2697",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1200,
        980
      ]
    },
    {
      "id": "d75fb7ab-cfbc-419d-b803-deb9e99114ba",
      "name": "Should Proceed To Stage 2?",
      "type": "n8n-nodes-base.if",
      "position": [
        1360,
        820
      ]
    },
    {
      "id": "a0f56270-67c2-4fab-b521-aa6f06b0b0fd",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -380,
        540
      ],
      "parameters": {
        "width": 543.5706868577606,
        "height": 563.6162790697684,
        "content": "## 1. Download Candidate Resume\n[Read more about using Google Drive](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googledrive)\n\nFor this demonstration, we'll pull the candidate's "
      }
    },
    {
      "id": "d21fe4dd-0879-4e5a-a70d-10f09b25eee2",
      "name": "Download Resume",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -80,
        840
      ]
    },
    {
      "id": "ea904365-d9d2-4f15-b7c3-7abfeb4c8c50",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        200,
        540
      ],
      "parameters": {
        "width": 605.0267171444024,
        "height": 595.3148729042731,
        "content": "## 2. Convert PDF to Image(s)\n[Read more about using Stirling PDF](https://github.com/Stirling-Tools/Stirling-PDF)\n\nAI vision models can only accept images (and sometimes videos!) as non-text inputs b"
      }
    },
    {
      "id": "cd00a47f-1ab9-46bf-8ea1-46ac899095e7",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        840,
        540
      ],
      "parameters": {
        "width": 747.8139534883712,
        "height": 603.1395348837208,
        "content": "## 3. Parse Resume with Multimodal LLM\n[Read more about using Basic LLM Chain](https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.chainllm/)\n\nMultimodal LLMs are LLM"
      }
    },
    {
      "id": "d60214c6-c67e-4433-9121-4d54f782b19d",
      "name": "PDF-to-Image API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        340,
        880
      ]
    },
    {
      "id": "847de537-ad8f-47f5-a1c1-d207c3fc15ef",
      "name": "Resize Converted Image",
      "type": "n8n-nodes-base.editImage",
      "position": [
        530,
        880
      ]
    },
    {
      "id": "5fb6ac7e-b910-4dce-bba7-19b638fd817a",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1000,
        980
      ]
    },
    {
      "id": "2580b583-544a-47ee-b248-9cca528c9866",
      "name": "Candidate Resume Analyser",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1000,
        820
      ]
    },
    {
      "id": "694669c2-9cf5-43ec-8846-c0ecbc5a77ee",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        840
      ],
      "parameters": {
        "width": 225.51725256895617,
        "height": 418.95152406706313,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n### Data Privacy Warning!\nFor demo purposes, we're using the public online version of Stirling PDF. It is recommended to setup your own private instance of Stirling PDF before using"
      }
    }
  ],
  "connections": {
    "Download Resume": {
      "main": [
        [
          {
            "node": "PDF-to-Image API",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "PDF-to-Image API": {
      "main": [
        [
          {
            "node": "Resize Converted Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Resize Converted Image": {
      "main": [
        [
          {
            "node": "Candidate Resume Analyser",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Candidate Resume Analyser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Candidate Resume Analyser",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Candidate Resume Analyser": {
      "main": [
        [
          {
            "node": "Should Proceed To Stage 2?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Download Resume",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}