Automate HR recruitment with OpenAI resume screening & interview QnA generator
<br> <div>
Build an AI HR Assistant to Screen Resumes and Send Telegram Alerts
A step-by-step guide to creating a fully automated recruitment pipeline that screens candidates, generates interview questions, and notifies your team.
This template provides a complete, step-by-step guide to building an AI-powered HR assistant from scratch in n8n. You will learn how to connect a web form to an intelligent screening agent that reads resumes, evaluates candidates against your job criteria, and prepares unique interview questions for the most promising applicants.
<br>| Services Used | Features | | :---------------------------------------------- | :----------------------------------------------------------------------------- | | π€ OpenAI / LangChain | Uses AI Agents to screen, score, and analyze candidates. | | π Google Drive & Google Sheets | Stores resumes and manages a database of open positions and applicants. | | π₯ n8n Form Trigger | Provides a public-facing web form to capture applications. | | π¬ Telegram | Sends real-time alerts to the hiring team for qualified candidates. |
How It Works βοΈ
- π₯ Application Submitted: The workflow starts when a candidate fills out the n8n Form Trigger with their details and uploads their CV.
- π File Processing: The CV is automatically uploaded to a specific Google Drive folder for record-keeping, and the Extract from File node reads its text content.
- π§ AI Screening Agent: A LangChain Agent analyzes the resume text. It uses the Google Sheets Tool to look up the requirements for the applied role, then scores the candidate and decides if they should be shortlisted.
- π Log Results: The agent's decision (name, score, shortlisted status) is logged in your master "Applications" Google Sheet.
- β Qualification Check: An IF node checks if the candidate was shortlisted.
- β AI Question Generator: If shortlisted, a second LangChain Agent generates three unique, relevant interview questions based on the candidate's resume and the job description.
- βοΈ Update Sheet: The generated questions are added to the candidate's row in the Google Sheet.
- π Notify Team: A final alert is sent via Telegram to notify the HR team that a new candidate has been qualified and is ready for review.
π οΈ How to Build This Workflow
Follow these steps to build the recruitment assistant from a blank canvas.
Step 1: Set Up the Application Intake
- Add a Form Trigger node. Configure it with fields for
Name,Email,Phone Number, aFile Uploadfor the CV, and aDropdownfor the "Job Role". - Connect a Google Drive node. Set the Operation to
Uploadand connect your credentials. Set it to upload the CV file from the Form Trigger into a specific folder. - Add an Extract from File node. Set it to extract text from the PDF CV file provided by the trigger.
Step 2: Build the AI Screening Agent
- Add a Langchain Agent node. This will be your main screening agent.
- In its prompt, instruct the AI to act as a resume screener. Tell it to use the input text from the Extract from File node and the tools you will provide to score and shortlist candidates.
- Add an OpenAI Chat Model node and connect it to the Agent's
Language Modelinput. - Add a Google Sheets Tool node. Point it to a sheet with your open positions and their requirements. Connect this to the Agent's
Toolinput. - Add a Structured Output Parser node and define the JSON structure you want the agent to return (e.g.,
candidate_name,score,shortlisted). Connect this to the Agent'sOutput Parserinput.
Step 3: Log Results & Check for a Match
- Connect a Google Sheets node after the Agent. Set its operation to
Append or Update. Use it to add the structured output from the agent into your main "Applications" sheet. - Add an IF node. Set the condition to continue only if the
shortlistedfield equals "yes".
Step 4: Generate Interview Questions
- On the 'true' path of the IF node, add a second Langchain Agent node.
- Write a prompt telling this agent to generate 3 interview questions based on the candidate's resume and the job requirements.
- Connect the same OpenAI Model and Google Sheets Tool to this agent.
- Add another Google Sheets node. Set it to
Updatethe existing row for the candidate, adding the newly generated questions.
π¬ Need Help or Want to Learn More?
Join my Skool community for n8n + AI automation tutorials, live Q&A sessions, and exclusive workflows:
π https://www.skool.com/n8n-ai-automation-champions
Template Author: Sandeep Patharkar
Category: Website Chatbots / AI Automation
Difficulty: Beginner
Estimated Setup Time: β±οΈ 15 minutes
n8n HR Recruitment Automation Workflow
This n8n workflow automates key aspects of the HR recruitment process, specifically focusing on resume screening and interview question generation using AI. It streamlines the initial candidate evaluation by extracting information from resumes, scoring them against job descriptions, and then generating tailored interview questions for promising candidates.
What it does
This workflow automates the following steps:
- Triggers on Form Submission: The workflow starts when a new candidate application is submitted via an n8n form.
- Uploads Resume to Google Drive: The submitted resume file is uploaded to a designated folder in Google Drive for storage.
- Extracts Text from Resume: The content of the uploaded resume (PDF, DOCX, etc.) is extracted into plain text.
- Screens Resume with AI: An AI Agent (powered by OpenAI) analyzes the extracted resume text against a provided job description (likely from the form submission) to score the candidate's suitability.
- Generates Interview Questions with AI: For suitable candidates, the AI Agent then generates a set of personalized interview questions based on the resume and job description.
- Parses AI Output: The AI-generated output (resume score and interview questions) is parsed into a structured format (JSON).
- Conditionally Notifies HR:
- If Candidate is Suitable: The workflow sends a Telegram message to the HR team with the resume score and generated interview questions, and logs the details to a Google Sheet.
- If Candidate is Not Suitable: The workflow logs the candidate's details (and potentially a lower score) to a Google Sheet, indicating they did not meet the initial criteria.
Prerequisites/Requirements
To use this workflow, you will need:
- n8n Instance: A running n8n instance.
- OpenAI API Key: For the AI Agent and OpenAI Chat Model nodes to process and generate text.
- Google Drive Account: Configured with credentials to upload resume files.
- Google Sheets Account: Configured with credentials to log candidate data.
- Telegram Account: Configured with a bot token and chat ID to send notifications to HR.
Setup/Usage
- Import the Workflow:
- Download the provided JSON file.
- In your n8n instance, go to "Workflows" and click "New".
- Click the "Import from JSON" button and paste the workflow JSON or upload the file.
- Configure Credentials:
- For the
Google Sheets,Google Drive,OpenAI Chat Model, andTelegramnodes, you will need to set up or select your existing credentials. Follow the n8n documentation for each node to correctly configure them.
- For the
- Configure the "On form submission" Trigger:
- Define the fields for your recruitment form (e.g., candidate name, email, resume file upload, job description).
- Activate the workflow to get the webhook URL for your form.
- Configure AI Agent and Output Parser:
- AI Agent: Ensure the prompt within the
AI Agentnode is tailored to your specific resume screening criteria and job description input. - Structured Output Parser: Verify the schema matches the expected JSON output from your AI Agent (e.g.,
{"score": number, "interview_questions": string[]}).
- AI Agent: Ensure the prompt within the
- Configure Google Sheets Nodes:
- Specify the Google Sheet ID and sheet name where candidate data should be logged.
- Map the incoming data from the AI and form to the correct columns in your Google Sheet.
- Configure Telegram Node:
- Enter the
Chat IDof the HR Telegram group or individual. - Customize the message content to include relevant candidate information, score, and interview questions.
- Enter the
- Activate the Workflow: Once all configurations are complete, activate the workflow.
This workflow provides a robust foundation for automating initial recruitment tasks, saving HR teams significant time and effort in candidate evaluation.
Related Templates
Generate song lyrics and music from text prompts using OpenAI and Fal.ai Minimax
Spark your creativity instantly in any chatβturn a simple prompt like "heartbreak ballad" into original, full-length lyrics and a professional AI-generated music track, all without leaving your conversation. π What This Template Does This chat-triggered workflow harnesses AI to generate detailed, genre-matched song lyrics (at least 600 characters) from user messages, then queues them for music synthesis via Fal.ai's minimax-music model. It polls asynchronously until the track is ready, delivering lyrics and audio URL back in chat. Crafts original, structured lyrics with verses, choruses, and bridges using OpenAI Submits to Fal.ai for melody, instrumentation, and vocals aligned to the style Handles long-running generations with smart looping and status checks Returns complete song package (lyrics + audio link) for seamless sharing π§ Prerequisites n8n account (self-hosted or cloud with chat integration enabled) OpenAI account with API access for GPT models Fal.ai account for AI music generation π Required Credentials OpenAI API Setup Go to platform.openai.com β API keys (sidebar) Click "Create new secret key" β Name it (e.g., "n8n Songwriter") Copy the key and add to n8n as "OpenAI API" credential type Test by sending a simple chat completion request Fal.ai HTTP Header Auth Setup Sign up at fal.ai β Dashboard β API Keys Generate a new API key β Copy it In n8n, create "HTTP Header Auth" credential: Name="Fal.ai", Header Name="Authorization", Header Value="Key [Your API Key]" Test with a simple GET to their queue endpoint (e.g., /status) βοΈ Configuration Steps Import the workflow JSON into your n8n instance Assign OpenAI API credentials to the "OpenAI Chat Model" node Assign Fal.ai HTTP Header Auth to the "Generate Music Track", "Check Generation Status", and "Fetch Final Result" nodes Activate the workflowβchat trigger will appear in your n8n chat interface Test by messaging: "Create an upbeat pop song about road trips" π― Use Cases Content Creators: YouTubers generating custom jingles for videos on the fly, streamlining production from idea to audio export Educators: Music teachers using chat prompts to create era-specific folk tunes for classroom discussions, fostering interactive learning Gift Personalization: Friends crafting anniversary R&B tracks from shared memories via quick chats, delivering emotional audio surprises Artist Brainstorming: Songwriters prototyping hip-hop beats in real-time during sessions, accelerating collaboration and iteration β οΈ Troubleshooting Invalid JSON from AI Agent: Ensure the system prompt stresses valid JSON; test the agent standalone with a sample query Music Generation Fails (401/403): Verify Fal.ai API key has minimax-music access; check usage quotas in dashboard Status Polling Loops Indefinitely: Bump wait time to 45-60s for complex tracks; inspect fal.ai queue logs for bottlenecks Lyrics Under 600 Characters: Tweak agent prompt to enforce fuller structures like [V1][C][V2][B][C]; verify output length in executions
AI-powered code review with linting, red-marked corrections in Google Sheets & Slack
Advanced Code Review Automation (AI + Lint + Slack) Whoβs it for For software engineers, QA teams, and tech leads who want to automate intelligent code reviews with both AI-driven suggestions and rule-based linting β all managed in Google Sheets with instant Slack summaries. How it works This workflow performs a two-layer review system: Lint Check: Runs a lightweight static analysis to find common issues (e.g., use of var, console.log, unbalanced braces). AI Review: Sends valid code to Gemini AI, which provides human-like review feedback with severity classification (Critical, Major, Minor) and visual highlights (red/orange tags). Formatter: Combines lint and AI results, calculating an overall score (0β10). Aggregator: Summarizes results for quick comparison. Google Sheets Writer: Appends results to your review log. Slack Notification: Posts a concise summary (e.g., number of issues and average score) to your teamβs channel. How to set up Connect Google Sheets and Slack credentials in n8n. Replace placeholders (<YOURSPREADSHEETID>, <YOURSHEETGIDORNAME>, <YOURSLACKCHANNEL_ID>). Adjust the AI review prompt or lint rules as needed. Activate the workflow β reviews will start automatically whenever new code is added to the sheet. Requirements Google Sheets and Slack integrations enabled A configured AI node (Gemini, OpenAI, or compatible) Proper permissions to write to your target Google Sheet How to customize Add more linting rules (naming conventions, spacing, forbidden APIs) Extend the AI prompt for project-specific guidelines Customize the Slack message formatting Export analytics to a dashboard (e.g., Notion or Data Studio) Why itβs valuable This workflow brings realistic, team-oriented AI-assisted code review to n8n β combining the speed of automated linting with the nuance of human-style feedback. It saves time, improves code quality, and keeps your teamβs review history transparent and centralized.
Auto-reply & create Linear tickets from Gmail with GPT-5, gotoHuman & human review
This workflow automatically classifies every new email from your linked mailbox, drafts a personalized reply, and creates Linear tickets for bugs or feature requests. It uses a human-in-the-loop with gotoHuman and continuously improves itself by learning from approved examples. How it works The workflow triggers on every new email from your linked mailbox. Self-learning Email Classifier: an AI model categorizes the email into defined categories (e.g., Bug Report, Feature Request, Sales Opportunity, etc.). It fetches previously approved classification examples from gotoHuman to refine decisions. Self-learning Email Writer: the AI drafts a reply to the email. It learns over time by using previously approved replies from gotoHuman, with per-classification context to tailor tone and style (e.g., different style for sales vs. bug reports). Human Review in gotoHuman: review the classification and the drafted reply. Drafts can be edited or retried. Approved values are used to train the self-learning agents. Send approved Reply: the approved response is sent as a reply to the email thread. Create ticket: if the classification is Bug or Feature Request, a ticket is created by another AI agent in Linear. Human Review in gotoHuman: How to set up Most importantly, install the gotoHuman node before importing this template! (Just add the node to a blank canvas before importing) Set up credentials for gotoHuman, OpenAI, your email provider (e.g. Gmail), and Linear. In gotoHuman, select and create the pre-built review template "Support email agent" or import the ID: 6fzuCJlFYJtlu9mGYcVT. Select this template in the gotoHuman node. In the "gotoHuman: Fetch approved examples" http nodes you need to add your formId. It is the ID of the review template that you just created/imported in gotoHuman. Requirements gotoHuman (human supervision, memory for self-learning) OpenAI (classification, drafting) Gmail or your preferred email provider (for email trigger+replies) Linear (ticketing) How to customize Expand or refine the categories used by the classifier. Update the prompt to reflect your own taxonomy. Filter fetched training data from gotoHuman by reviewer so the writer adapts to their personalized tone and preferences. Add more context to the AI email writer (calendar events, FAQs, product docs) to improve reply quality.