n8nflow.net logo

Generate Tailored Interview Questions with GPT-4 Based on CV, JD, and Round

by Trung Tranβ€’Updated: Last update 16 days agoβ€’Source: n8n.io
Loading workflow viewer...

Getting Started

πŸ€– Smart Interview Assistant: Tailored Questions Based on CV, JD, and Round

Watch the demo video below:

Watch the video

πŸ“Œ Who’s it for

This workflow is designed for:

  • Recruiters and Talent Acquisition Specialists who want to automate candidate interview prep.
  • Hiring Managers conducting multiple interviews and needing personalized question sets.
  • Technical Interviewers who want to save time and be well-prepared with relevant questions.

βš™οΈ How it works / What it does

The Smart Interview Assistant automates the interview preparation process in a few clicks:

  1. Accepts:
    • Multiple resumes (PDFs)
    • Selected job role
    • Chosen interview round
  2. Extracts structured data from:
    • The candidate’s CV
    • The corresponding Job Description (JD)
  3. Uses GPT-4 to analyze:
    • Candidate profile
    • Role requirements
    • Interview round context
  4. Generates:
    • Tailored interview questions
    • Expected answers
    • A summarized interview prep report
  5. Sends the report directly to the hiring team via email (SMTP)

πŸ“ Google Drive Structure

πŸ“‚ Root Folder
β”œβ”€β”€ πŸ“ jd/                          # Stores all job descriptions in PDF format
β”‚   β”œβ”€β”€ Backend_Engineer.pdf
β”‚   β”œβ”€β”€ Azure_DevOps_Lead.pdf
β”‚   └── ...
└── πŸ“„ Positions (Google Sheet)    # Maps Job Role ↔ JD File Link

πŸ“ Sample Mapping Sheet :
Positions Sheet

Columns:

  • Job Role
  • Job Description File URL (pointing to PDF in jd/ folder)

πŸ› οΈ How to Set Up

Step 1: Configure API Integrations

  • βœ… Connect your OpenAI GPT-4 API Key
  • βœ… Enable Google Cloud APIs :
    • Google Sheets API (to read job roles)
    • Google Drive API (to access CV and JD files)
  • βœ… Set up SMTP credentials (for email delivery)

Step 2: Prepare Google Drive & Mapping Sheet

  1. Create a root folder on Google Drive
  2. Inside the root folder:
    • Create a folder named /jd/ and upload all job descriptions (PDFs)
  3. Create a Google Sheet named Positions with the following format:
| Job Role                     | Job Description File URL                   |
|-----------------------------|--------------------------------------------|
| Azure DevOps Engineer        | https://drive.google.com/xxx/jd1.pdf       |
| Full-Stack Developer (.NET)  | https://drive.google.com/xxx/jd2.pdf       |

Step 3: Build the Application Form

Use any form tool (e.g., Typeform, Tally, or custom HTML) that collects:

  • πŸ“Ž Resume file (PDF)
  • 🧾 Job Role (dropdown)
  • πŸ”„ Interview Round (dropdown)

Step 4: Resume & JD Extraction

  • πŸ” Use Extract from PDF to parse the resume content
  • πŸ“„ Retrieve the JD link from the Positions sheet based on the selected Job Role
  • πŸ”— Use Download file to pull the PDF for processing

Step 5: Analyze with GPT-4

  • Run both Resume and JD through a Profile Analyzer Agent (GPT-4 with JSON output)
  • Merge results
  • Add manual input or mapping for the Interview Round metadata

Step 6: Generate Interview Report

  • Use a second GPT-4 agent (e.g., HR Expert Agent) to:
    • Generate 6–8 tailored interview questions
    • Include expected answers and rationale

Step 7: Deliver Final Report

  • Format the content as:
    • πŸ“„ PDF (optional)
    • πŸ“¨ Email body
  • Send the report to the recruiter, hiring manager, or interviewer via SMTP

βœ… Requirements

  • πŸ”‘ OpenAI GPT-4 API Key
  • πŸ“ Google Drive (for resume and JD storage)
  • πŸ“Š Google Sheet (job role mapping)
  • πŸ“¬ SMTP credentials (host, username, password)
  • 🧰 n8n self-hosted or cloud instance with:
    • PDF Parser
    • Google Sheets node
    • HTTP Download node
    • Email node

✏️ How to Customize the Workflow

PartCustomization Options
Form UIModify the design, dropdown options, or input validations
Job Description SourceReplace Google Sheet with Notion, Airtable, or database
Interview MetadataAdd job level, region, or language preference
AI Prompt TuningAdjust prompt phrasing or temperature in GPT nodes
Report FormatGenerate PDF instead of email body using PDF node
Delivery MethodAdd internal HR portal webhook or generate downloadable link