Skip to main content

AI-powered CV filtering with Llama3.1 LLM, Google Drive & Sheets

Workflow preview

Workflow preview
100%
AI-powered CV filtering with Llama3.1 LLM, Google Drive & Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This visual workflow represents an AI powered automated CV filtering system created using tools like n8n, Google Drive, Google Sheets, and Ollama (LLM) ️ Key Features Google Drive Integration –...

Best for

  • HR automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.splitinbatches, n8n-nodes-base.merge, n8n-nodes-base.aggregate, @n8n/n8n-nodes-langchain.lmollama, @n8n/n8n-nodes-langchain.outputparserautofixing, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.code, n8n-nodes-base.googledrive

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Lakindu Siriwardana.

Original n8n.io source

1.1 Workflow description

Title
AI-powered CV filtering with Llama3.1 LLM, Google Drive & Sheets
Workflow name
AI-powered CV filtering with Llama3.1 LLM, Google Drive & Sheets

This visual workflow represents an AI-powered automated CV filtering system created using tools like n8n, Google Drive, Google Sheets, and Ollama (LLM)

⚙️ Key Features

  • 📂 Google Drive Integration – Automatically searches and downloads CVs (PDF/DOCX/PPTX) from a shared folder.

  • 📋 Criteria Matching – Reads and applies filtering rules from a Google Sheet.

  • 🧠 LLM-Based Analysis – Uses a Large Language Model (Ollama) to assess and interpret CV content.

  • 🧪 Smart Parsing – Includes structured and auto-fixing output parsers to ensure data accuracy.

  • 📊 Automated Results Output – Writes matching candidates and analysis to a Google Sheet.

  • 🔁 Loop and Aggregate Logic – Handles multiple CVs with iterative processing and aggregation.

  • 🚀 No-Code Automation with n8n – Fully visual, modifiable without programming.

🛠️ How It Works

Trigger: Workflow is initiated via a Webhook (from a UI “Start Workflow” button).

CV Search: Searches for CV files in a designated Google Drive folder. Loop Over Files: Each file is downloaded. Text is extracted (from PDFs or other formats). Criteria Input: Matching rules are fetched from a predefined Google Sheet. Merge & Aggregate: Combines file text and criteria for unified processing.

LLM Processing: Text + criteria are sent to the Basic LLM Chain.

Utilizes Ollama Model for advanced language understanding.

Structured or auto-fixing output parsers enhance reliability.

Custom Code Execution: Optionally enriches or reformats the data.

Output: Results are appended to a shared Google Sheet (the output sheet).

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 2 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 3 - Aggregate

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 4 - Ollama Model

Type / Role
@n8n/n8n-nodes-langchain.lmOllama - lmOllama
Config choices
Version 1

Block 5 - Auto-fixing Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserAutofixing - outputParserAutofixing
Config choices
Version 1

Block 6 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 7 - Code

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Download-file

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 9 - Input-criteria

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 10 - Extract from PDF

Type / Role
n8n-nodes-base.extractFromFile - extractFromFile
Config choices
Version 1

Block 11 - Output-sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 12 - Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 13 - Respond to Webhook

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 14 - Folder-search

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 15 - Basic LLM Chain

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.5

3. Summary Table

Workflow AI-powered CV filtering with Llama3.1 LLM, Google Drive & Sheets
Complexity advanced
Nodes 15
Categories HR, AI Summarization
Author Lakindu Siriwardana
Published 30 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6696/6696.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does AI-powered CV filtering with Llama3.1 LLM, Google Drive & Sheets do?

This visual workflow represents an AI powered automated CV filtering system created using tools like n8n, Google Drive, Google Sheets, and Ollama (LLM) ️ Key Features Google Drive Integration –...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your HR, AI Summarization use case.