This workflow corresponds to n8n.io template #6696 — we link there as the canonical source.
This workflow follows the Chainllm → Google Drive recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "7wkmOQEEUAJIwFEP",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "cv-tool",
"tags": [],
"nodes": [
{
"id": "0cae9383-b4da-43ec-9962-afc97d56ddad",
"name": "Loop Over Items",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-280,
160
],
"parameters": {
"options": {}
},
"executeOnce": false,
"typeVersion": 3
},
{
"id": "c027ca47-5415-4f7a-9028-a0637acc195f",
"name": "Merge",
"type": "n8n-nodes-base.merge",
"position": [
380,
360
],
"parameters": {
"mode": "chooseBranch"
},
"typeVersion": 3
},
{
"id": "2bd255ee-e3d8-46a6-9112-14b348852eae",
"name": "Aggregate",
"type": "n8n-nodes-base.aggregate",
"position": [
600,
360
],
"parameters": {
"options": {},
"aggregate": "aggregateAllItemData"
},
"typeVersion": 1
},
{
"id": "ae51c305-87e4-4404-816e-4f2b30b80c6d",
"name": "Ollama Model",
"type": "@n8n/n8n-nodes-langchain.lmOllama",
"position": [
920,
840
],
"parameters": {
"model": "llama3.1:latest",
"options": {
"temperature": 0.1
}
},
"credentials": {
"ollamaApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "42fd32cf-1787-45c5-a2df-08955534ae64",
"name": "Auto-fixing Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
"position": [
1020,
660
],
"parameters": {
"options": {}
},
"typeVersion": 1
},
{
"id": "097e8558-2a30-4c1e-a7bd-4620bc9d22a6",
"name": "Structured Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1060,
1100
],
"parameters": {
"schemaType": "manual",
"inputSchema": "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"Evaluation Form\",\n \"type\": \"object\",\n \"properties\": {\n \"candidate_file_name\": {\"$ref\": \"#/definitions/candidateFileName\"},\n \"candidate_name\": {\"$ref\": \"#/definitions/candidateName\"},\n \"questions\": {\"$ref\": \"#/definitions/questions\"},\n \"overall_points\": {\"$ref\": \"#/definitions/overallPoints\"}\n },\n \"required\": [\"candidate_file_name\", \"candidate_name\", \"questions\", \"overall_points\"],\n \"definitions\": {\n \"candidateFileName\": {\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"Candidate File Name\",\n \"type\": \"string\"\n },\n \"candidateName\": {\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"Candidate Name\",\n \"type\": \"string\"\n },\n \"questions\": {\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"Questions\",\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/question\"\n }\n },\n \"question\": {\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"Question\",\n \"type\": \"object\",\n \"properties\": {\n \"question\": {\"$ref\": \"#/definitions/questionText\"},\n \"answer\": {\"$ref\": \"#/definitions/candidateAnswer\"}\n },\n \"required\": [\"question\", \"answer\"]\n },\n \"questionText\": {\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"Question Text\",\n \"type\": \"string\"\n },\n \"candidateAnswer\": {\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"Candidate Answer\",\n \"type\": \"string\"\n },\n \"overallPoints\": {\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"Overall Points\",\n \"type\": \"string\"\n }\n }\n}"
},
"typeVersion": 1.2
},
{
"id": "79957386-3e4b-4650-9490-8a29f948d5f0",
"name": "Code",
"type": "n8n-nodes-base.code",
"position": [
1260,
360
],
"parameters": {
"jsCode": "// Extract input data\nconst items = $input.all();\nlet results = [];\nlet allQuestions = new Set();\n\n// Collect all possible question fields dynamically\nitems.forEach(item => {\n let output = item.json.output;\n let questions = output.questions;\n \n Object.keys(questions).forEach(q => allQuestions.add(q));\n});\n\n// Convert to array format\nitems.forEach(item => {\n let output = item.json.output;\n let row = {\n \"Candidate File Name\": output.candidate_file_name,\n \"Candidate Name\": output.candidate_name\n };\n\n // Add all dynamically available question scores\n allQuestions.forEach(question => {\n row[question] = output.questions[question] || \"\";\n });\n\n // Add overall points\n row[\"Overall Points\"] = output.overall_points;\n results.push(row);\n});\n\nreturn results.map(row => ({ json: row }));"
},
"executeOnce": false,
"typeVersion": 2
},
{
"id": "b0c56e05-f929-496d-9482-ff2f61a6e544",
"name": "Download-file",
"type": "n8n-nodes-base.googleDrive",
"position": [
-100,
380
],
"parameters": {
"fileId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.id }}"
},
"options": {
"googleFileConversion": {
"conversion": {
"docsToFormat": "application/pdf",
"slidesToFormat": "application/pdf",
"drawingsToFormat": "application/pdf"
}
}
},
"operation": "download"
},
"credentials": {
"googleDriveOAuth2Api": {
"name": "<your credential>"
}
},
"typeVersion": 3
},
{
"id": "5dc07e0a-900f-407e-be7e-da4db4168e30",
"name": "Input-criteria",
"type": "n8n-nodes-base.googleSheets",
"position": [
20,
180
],
"parameters": {
"options": {},
"sheetName": {
"__rl": true,
"mode": "list",
"value": 714429904,
"cachedResultUrl": "",
"cachedResultName": "Search_Criteria_t2"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1VoJbCMXbgQm8lO37h1kAp-wFo_7rC_xthL7H4PXCNxg",
"cachedResultUrl": "",
"cachedResultName": "Criteria-sheet"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"name": "<your credential>"
}
},
"typeVersion": 4.5
},
{
"id": "e917b4e5-ca96-4d08-b43c-bf832710b1f4",
"name": "Extract from PDF",
"type": "n8n-nodes-base.extractFromFile",
"position": [
140,
380
],
"parameters": {
"options": {},
"operation": "pdf"
},
"typeVersion": 1
},
{
"id": "fbee4bec-65af-4017-98b7-9074c4fd5770",
"name": "Output-sheet",
"type": "n8n-nodes-base.googleSheets",
"position": [
1500,
360
],
"parameters": {
"columns": {
"value": {},
"schema": [
{
"id": "Candidate File Name",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Candidate File Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Candidate Name",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Candidate Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Business Analysis",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Business Analysis",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Project Management (PMO)",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Project Management (PMO)",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Banking",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Banking",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Communication Skills",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Communication Skills",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Overall Points",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Overall Points",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "autoMapInputData",
"matchingColumns": []
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "list",
"value": 1534129230,
"cachedResultUrl": "",
"cachedResultName": "Sheet2"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1TvYZwuCeTVImsXdd3cNh6zYf7neJbHvCkqLjNzsCk5w",
"cachedResultUrl": "",
"cachedResultName": "Output-sheet"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"name": "<your credential>"
}
},
"typeVersion": 4.5
},
{
"id": "1d77e98d-20fa-4301-93ea-175881cac1dc",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
-880,
160
],
"parameters": {
"path": "6751c9a2-4bf9-416e-8e98-905498867431",
"options": {},
"httpMethod": "POST",
"responseMode": "responseNode"
},
"typeVersion": 2
},
{
"id": "d7644e7c-2abb-4bb2-ac81-7595cc918a9b",
"name": "Respond to Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
20,
-60
],
"parameters": {
"options": {},
"respondWith": "json",
"responseBody": "{\n \"Status\": \"Workflow Completed!\"\n}"
},
"typeVersion": 1.1,
"alwaysOutputData": false
},
{
"id": "14869643-9588-42de-a238-195f47875d78",
"name": "Folder-search",
"type": "n8n-nodes-base.googleDrive",
"position": [
-580,
160
],
"parameters": {
"filter": {
"folderId": {
"__rl": true,
"mode": "list",
"value": "1z0DTQL4nfB7lQFETQw8-fnxg1YaOpgoL",
"cachedResultUrl": "",
"cachedResultName": "test"
}
},
"options": {},
"resource": "fileFolder"
},
"credentials": {
"googleDriveOAuth2Api": {
"name": "<your credential>"
}
},
"typeVersion": 3
},
{
"id": "8f920f78-86d3-45ed-b59c-4a74e6fb108b",
"name": "Basic LLM Chain",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
860,
360
],
"parameters": {
"text": "=%Candidate_Profile%: \n{{ $('Extract from PDF').first().json.text}}\n\nAnalyze the %Candidate_Profile% against the %Questions%:{{ $json.data.map(item => item.Matching_Criteria + \" - Output Type:\" + item.Output_Type) + \"\\n\" }}. \n\nUse this question format as input to the AI-Model : How do you rate your experiance in {{ $json.data.map(item => item.Matching_Criteria + \"Output Type:\" + item.Output_Type) + \"\\n\" }}\n\nTake candidate_file_name as {{ $('Download-file').first().json.name }} and fetch the candidate_name from the %Candidate_Profile%\n\nFor each question output format should be : {{ $json.data[0].Output_Type}}\n\nAt the end please calculate overall point(Total Point = sum({{ $json.data[0].Output_Type}} for each criteria)).\n\n\nIf he or she didn't have any experiance under specific area please mark rating as 0.\n",
"messages": {
"messageValues": [
{
"message": "Output should be a one specific format for all outputs"
}
]
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 1.5
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "3a4961eb-24af-44a3-b727-9e11b39ee823",
"connections": {
"Code": {
"main": [
[
{
"node": "Output-sheet",
"type": "main",
"index": 0
}
]
]
},
"Merge": {
"main": [
[
{
"node": "Aggregate",
"type": "main",
"index": 0
}
]
]
},
"Webhook": {
"main": [
[
{
"node": "Folder-search",
"type": "main",
"index": 0
}
]
]
},
"Aggregate": {
"main": [
[
{
"node": "Basic LLM Chain",
"type": "main",
"index": 0
}
]
]
},
"Ollama Model": {
"ai_languageModel": [
[
{
"node": "Basic LLM Chain",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Auto-fixing Output Parser",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Output-sheet": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Download-file": {
"main": [
[
{
"node": "Extract from PDF",
"type": "main",
"index": 0
}
]
]
},
"Folder-search": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Input-criteria": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"Basic LLM Chain": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
],
[
{
"node": "Download-file",
"type": "main",
"index": 0
},
{
"node": "Input-criteria",
"type": "main",
"index": 0
}
]
]
},
"Extract from PDF": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "Auto-fixing Output Parser",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Auto-fixing Output Parser": {
"ai_outputParser": [
[
{
"node": "Basic LLM Chain",
"type": "ai_outputParser",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
googleDriveOAuth2ApigoogleSheetsOAuth2ApiollamaApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This visual workflow represents an AI-powered automated CV filtering system created using tools like n8n, Google Drive, Google Sheets, and Ollama (LLM) ### 📂 Google Drive Integration – Automatically searches and downloads CVs (PDF/DOCX/PPTX) from a shared folder. ### 📋 Criteria…
Source: https://n8n.io/workflows/6696/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Resume Screening & Behavioral Interviews with Gemini, Elevenlabs, & Notion ATS copy. Uses outputParserStructured, chainLlm, googleDrive, stickyNote. Webhook trigger; 67 nodes.
Candidate Engagement | Resume Screening | AI Voice Interviews | Applicant Insights
Tired of grinding out YouTube content? This n8n workflow turns AI into your personal video factory—creating engaging, faceless shorts on autopilot. Perfect for creators, marketers, or side-hustlers lo
Transform your WhatsApp group conversations into actionable business intelligence through automated AI analysis and daily reporting. This workflow eliminates manual conversation monitoring by capturin
Faceless YouTube Generator. Uses httpRequest, limit, googleDrive, googleSheets. Webhook trigger; 49 nodes.