n8nflow.net logo

Automated CV Screening and Scoring with AI, Gmail, GoogleDrive & Airtable

by usamaahmedβ€’Updated: Last update 6 days agoβ€’Source: n8n.io

Getting Started

πŸš€ HR Resume Screening Workflow β€” Smart Hiring on Autopilot πŸ€–

🎯 Overview:

"This workflow builds an AI-powered resume screening system inside n8n. It begins with Gmail and Form triggers that capture incoming resumes, then uploads each file to Google Drive for storage. The resume is downloaded and converted into plain text, where two branches run in parallel: one extracts structured contact details, and the other uses an AI agent to summarize education, job history, and skills while assigning a suitability score. A cleanup step normalizes the data before merging both outputs, and the final candidate record is saved into Google Sheets and Airtable, giving recruiters a centralized dashboard to identify top talent quickly and consistently.”

πŸ”‘ Prerequisites:

To run this workflow successfully, you’ll need:

  • Gmail OAuth β†’ to read incoming resumes.
  • Google Drive OAuth β†’ to upload and download resume files.
  • Google Sheets OAuth β†’ to save structured candidate records.
  • Airtable Personal Access Token β†’ for dashboards and record-keeping.
  • OpenAI / OpenRouter API Key β†’ to run the AI summarizer and evaluator.

βš™οΈ Setup Instructions:

  1. Import the Workflow
    • Clone or import the workflow into your n8n instance.
  2. Add Credentials
    • Go to n8n β†’ Credentials and connect Gmail, Google Drive, Google Sheets, Airtable, and OpenRouter/OpenAI.
  3. Configure Key Nodes
    • Gmail Trigger β†’ Update filters.q with the job title you are hiring for (e.g., "Senior Software Engineer").
    • Google Drive Upload β†’ Set the folderId where resumes will be stored.
    • Google Sheets Node β†’ Link to your HR spreadsheet (e.g., β€œCandidates 2025”).
    • Airtable Node β†’ Select the correct base & table schema for candidate records.
  4. Test the Workflow
    • Send a test resume (via email or form).
    • Check Google Sheets & Airtable for structured candidate data.
  5. Go Live
    • Enable the workflow. It will now run continuously and process new resumes as they arrive.

πŸ“Š End-to-End Workflow Walkthrough:

🟒 Section 1 – Entry & Intake

Nodes:

  • πŸ“§ Gmail Trigger β†’ Polls inbox every minute, captures job application emails, and downloads resume attachments (CV0, CV1, …).
  • 🌐 Form Trigger β†’ Alternate entry for resumes submitted via a careers page or job portal.

βœ… Quick Understanding: Think of this section as the front desk of recruitment - resumes received either by email or online form, and the system immediately grabs them for processing.


πŸ“‚ Section 2 – File Management

Nodes:

  • ☁️ Upload File (Google Drive) β†’ Saves the incoming resume into a structured Google Drive folder, naming it after the applicant.
  • ⬇️ Download File (Google Drive) β†’ Retrieves the stored resume file for further processing.
  • πŸ”Ž Extract from File β†’ Converts the resume (PDF/DOC) into plain text so the AI and extractors can work with it.

βœ… Quick Understanding: This is your digital filing room. Every resume is safely stored, then converted into a readable format for the hiring system.


πŸ€– Section 3 – AI Processing (Parallel Analysis)

Nodes:

  • 🧾 Information Extractor β†’ Pulls structured contact information (candidate name, candidate email and candidate phone number) using regex validation and schema rules.
  • πŸ€– AI Agent (LangChain + OpenRouter) β†’ Reads the full CV and outputs:
    • πŸŽ“ Educational Qualifications
    • πŸ’Ό Job History
    • πŸ›  Skills Set
    • πŸ“Š Candidate Evaluation Score (1–10)
    • πŸ“ Justification for the score

βœ… Quick Understanding: Imagine having two assistants working in parallel, one quickly extracts basic contact info, while the other deeply reviews the CV and gives an evaluation.


πŸ› οΈ Section 4 – Data Cleanup & Merging

Nodes:

  • ✏️ Edit Fields β†’ Standardizes the AI Agent’s output into a consistent field (output).
  • πŸ›  Code (JS Parsing & Cleanup) β†’ Converts the AI’s free-text summary into clean JSON fields (education, jobHistory, skills, score, justification).
  • πŸ”— Merge β†’ Combines the structured contact info with the AI’s evaluation into a single candidate record.

βœ… Quick Understanding: This is like the data cleaning and reporting team, making sure all details are neat, structured, and merged into one complete candidate profile.


πŸ“Š Section 5 – Persistence & Dashboards

Nodes:

  • πŸ“‘ Google Sheets (Append Row) β†’ Saves candidate details into a Google Sheet for quick team access.
  • πŸ—„ Airtable (Create Record) β†’ Stores the same structured data into Airtable, enabling dashboards, analytics, and ATS-like tracking.

βœ… Quick Understanding: Think of this as your HR dashboard and database. Every candidate record is logged in both Google Sheets and Airtable, ready for filtering, reporting, or further action.


πŸ“Š Workflow Overview Table:

SectionKey Roles / NodesModel / ServicePurposeBenefit
πŸ“₯ Entry & IntakeGmail Trigger, Form TriggerGmail API / WebhookCapture resumes from email or formsResumes collected instantly from multiple sources
πŸ“‚ File ManagementGoogle Drive Upload, Google Drive Download, Extract from FileGoogle Drive + n8n ExtractStore resumes & convert to plain textCentralized storage + text extraction for processing
πŸ€– AI ProcessingInformation Extractor, AI Agent (LangChain + OpenRouter)Regex + OpenRouter AI {gpt-oss-20b (free)}Extract contact info + AI CV analysisCandidate details + score + justification generated automatically
πŸ›  Data Cleanup & MergeEdit Fields, Code (JS Parsing & Cleanup), Mergen8n native + Regex ParsingStandardize and merge outputsClean, structured JSON record with all candidate info
πŸ“Š Persistence LayerGoogle Sheets Append Row, Airtable Create RecordGoogle Sheets + Airtable APIsStore structured candidate dataHR dashboards & ATS-ready records for easy review and analytics
πŸ”„ Execution FlowAll connectedGmail + Drive + Sheets + Airtable + AIEnd-to-end automationAutomated resume β†’ structured record β†’ recruiter dashboards

πŸ“‚ Workflow Output Overview:

Each candidate’s data is standardized into the following fields:

  • Candidate Name
  • Candidate Email
  • Contact Number
  • Educational Qualifications
  • Job History
  • Skills Set
  • AI Score (1–10)
  • Justification

πŸ“Œ Example (Google Sheet row):

HR_Resume_Screening_Excel_Row.png

πŸ“Š Benefits of This Workflow at a Glance:

  • ⏱️ Lightning-Fast Screening β†’ Processes hundreds of resumes in minutes instead of hours.
  • πŸ€– AI-Powered Evaluation β†’ Automatically summarizes candidate education, work history, skills, and gives a suitability score (1–10) with justification.
  • πŸ“‚ Centralized Storage β†’ Every resume is securely saved in Google Drive for easy access and record-keeping.
  • πŸ“Š Data-Ready Outputs β†’ Structured candidate profiles go straight into Google Sheets and Airtable, ready for dashboards and analytics.
  • βœ… Consistency & Fairness β†’ Standardized AI scoring ensures every candidate is evaluated on the same criteria, reducing human bias.
  • πŸ› οΈ Flexible Intake β†’ Works with both Gmail (email applications) and Form submissions (job portals or career pages).
  • πŸš€ Recruiter Productivity Boost β†’ Frees HR teams from manual extraction and data entry, allowing them to focus on interviewing and hiring the best talent.

πŸ‘‰ Practical HR Use Case:

β€œScreen resumes for a Senior Software Engineer role and shortlist top candidates.”

  • Gmail Trigger β†’ Captures incoming job applications with CVs attached.
  • Google Drive β†’ Stores resumes for record-keeping.
  • Extract from File β†’ Converts CVs into plain text.
  • Information Extractor β†’ Pulls candidate name, email, and phone number.
  • AI Agent β†’ Summarizes education, job history, skills, and assigns a suitability score (1–10).
  • Code & Merge β†’ Cleans and combines outputs into a structured candidate profile.
  • Google Sheets β†’ Logs candidate data for quick HR review.
  • Airtable β†’ Builds dashboards to filter and identify top-scoring candidates.

βœ… Result: HR instantly sees structured candidate records, filters by score, and focuses interviews on the best talent.