Smart Interview Assistant: Tailored Question Generation - n8n Workflow

Generate highly relevant interview questions tailored to candidate CVs, job descriptions, and interview rounds using this powerful n8n workflow featuring GPT-4 agents. This n8n workflow optimizes HR preparation.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Recruiters and TA Specialists: Those needing to quickly prepare customized interview guides.
Hiring Managers: Professionals conducting technical and behavioral rounds who require highly relevant question sets.
Automation Developers: Users looking for advanced examples of using LangChain AI agents within an n8n workflow structure.
HR Operations Teams: Groups seeking powerful, repeatable n8n templates for scaling recruitment processes.

Overview

Recruiting top talent requires tailored, relevant interviews, but manually crafting questions based on a CV, JD, and interview stage is time-consuming. This powerful n8n workflow solves this by creating a completely automated 'Smart Interview Assistant.'

Starting with an n8n trigger form, this solution processes a candidate's CV and the relevant Job Description (pulled from Google Sheets and Drive). It then employs two separate GPT-4 LangChain agents within the n8n node structure: one to analyze and structure the profile data, and a second 'Interview Expert Agent' to generate a detailed preparation report. This report includes tailored questions and expected answers, all contextualized by the chosen interview round (e.g., Screening vs. Technical). This specific n8n workflow drastically reduces prep time while enhancing interview quality. It's a perfect example of leveraging AI inside an n8n automation framework.

How it Works

This comprehensive n8n workflow is initiated by an Application Form n8n trigger which collects the candidate's CV (PDF), the applied 'Job Role,' and the 'Interview Round.'


  1. Input Processing: The n8n workflow splits the incoming data. The CV file is sent to the Extract profile n8n node for text extraction. Simultaneously, the 'Job Role' is used by the Google Sheets n8n node to retrieve the corresponding Job Description (JD) file URL.

  2. JD Retrieval: A Google Drive n8n node downloads the JD PDF, and an Extract Job Description n8n node parses its content.

  3. Profile Structuring: The raw CV text feeds into the Profile Analyzer Agent n8n node. This specialized AI LangChain agent uses GPT-4 and a Structured Output Parser n8n node to reliably convert the unstructured CV text into a standardized JSON object.

  4. Data Aggregation: The Merge n8n node combines the structured candidate profile and the raw JD text. A subsequent Code n8n node (Transform output) prepares a single payload for the final AI step, injecting the job role and interview round details.

  5. Contextual Generation: The Interview round metadata n8n node provides descriptive context for the chosen round (Initial, Technical, Managerial, Final). This context, along with the merged profile and JD, is fed into the final Interview Expert Agent n8n node.

  6. AI Generation: The Expert Agent, using another GPT-4 instance and a specific output structure, generates 5–8 tailored questions and expected answers.

  7. Delivery: A final Code n8n node formats the structured report into a rich HTML body, which is then delivered to the hiring team via the Send interview prep report n8n node (Email Send). This advanced n8n workflow ensures a personalized report every time the n8n trigger is activated.

Installation Guide

To deploy this advanced n8n workflow template, follow these steps:


  1. Import: Import this n8n workflow JSON into your n8n instance.

  2. OpenAI Credential Setup: Configure the required OpenAI credentials (for GPT-4 access) in the Langchain nodes (gpt4-1 model and gpt-4-1 model 2). Ensure your API key supports the specified model (e.g., gpt-4.1-mini).

  3. Google Service Credentials:

Set up Google Sheets credentials to allow the Get position JD n8n node to read your job role mapping sheet.
Set up Google Drive credentials to allow the Download file n8n node to access and download the JD files.

  1. SMTP Setup: Configure the SMTP credentials for the final Send interview prep report n8n node to ensure email delivery.

  2. Data Source Configuration: Update the Get position JD n8n node with the Document ID and Sheet Name of your 'Positions' Google Sheet.

  3. Form Activation: Activate the Application form n8n trigger to receive the webhook URL. You can then embed or use this form URL to start the n8n workflow execution.

Node Details

Application form (n8n trigger): The starting point of the n8n workflow. It acts as the user interface for hiring managers, collecting the candidate's CV (PDF), Job Role, and Interview Round selection.
Extract profile & Extract Job Description (n8n node): Utilizes the native n8n file processing capabilities (PDF operation) to reliably extract text content from the binary CV and JD files.
Google Sheets & Google Drive (n8n nodes): These nodes work in tandem. Google Sheets retrieves the JD file link based on the selected role, and Google Drive downloads the corresponding binary file.
Profile Analyzer Agent (LangChain Agent n8n node): This is the first AI component. It takes the raw CV text and, using a GPT-4 Language Model and a specific JSON schema, structures the messy resume data into clean, machine-readable JSON (skills, experience, contact).
Interview round metadata (Set n8n node): A critical core logic n8n node that holds detailed, context-rich descriptions for different interview stages. This descriptive text is crucial for guiding the final AI agent's output.
Interview Expert Agent (LangChain Chain n8n node): The main intelligence engine of this n8n workflow. It receives the candidate profile, JD content, job title, and detailed round context. It follows a system message to generate 5–8 custom interview questions and their expected answers, ensuring the questions align with the round's purpose and the candidate's background.
Build interview prep report (Code n8n node): A utility n8n node that transforms the structured JSON output from the AI agent into a formatted HTML string, ready for email delivery.
Send interview prep report to hiring team (Email Send n8n node): The final action, using SMTP credentials to send the highly personalized preparation guide to the relevant hiring personnel.

Related n8n Workflows

Free

Nodes: 13 Nodes
Updated: December 26 2025
View all
Created by

Helps small and medium businesses grow with intelligent automation and practical AI tools, no heavy tech team needed.

Featured*