Automate Candidate Screening with LlamaIndex & GPT for Email Responses
This **n8n workflow** - **HRMate** - streamlines your entire recruitment process by automatically parsing incoming job applications, evaluating candidate fit using **AI**, and sending personalized acceptance or rejection emails - all without manual intervention. It triggers on every new email application, extracts candidate info and attachments (PDF resumes), leverages **LlamaIndex AI** for content parsing, then scores candidates against job requirements via OpenAI. Finally, it sends tailored emails and updates candidate status automatically. ## Why Use HRMate? - **Save hours** of manual CV screening and email replies - **Never ghost applicants again** - automatic, polite rejections with AI-generated growth suggestions - **Increase hiring accuracy** with AI-assisted candidate scoring - **Centralize communication** with auto-acceptance invites including Calendly scheduling links - Fully customizable and scalable for multiple job openings ## Who Is This For? - HR teams overwhelmed with incoming applications - Small businesses wanting professional recruitment automation - Recruiters seeking data-driven candidate assessments - Companies aiming to improve applicant experience and speed ## What Problem Does It Solve? Screening candidates manually is slow, inconsistent, and often leads to candidates being ignored (ghosted). HRMate automates parsing, evaluation, and personalized email communication, drastically reducing workload and improving candidate engagement. ## What This Workflow Does - **Trigger:** On every new incoming email application via Gmail trigger (polls every minute) - **Attachment Check:** Detects and uploads PDF resumes to LlamaIndex AI for parsing - **Parsing:** Waits and retrieves clean markdown text of candidate documents - **AI Evaluation:** Matches candidate profile against job criteria using GPT-4-mini, scoring fit from 1 to 100 - **Email Communication:** - If score ≥ 80 sends acceptance email with Calendly interview scheduling link - If score < 80 sends rejection email with professional, motivational feedback generated by AI - **Status Update:** Marks candidate as accepted/rejected and optionally updates Google Sheets ## Setup Instructions 1. Import `.json` workflow into n8n 2. Add credentials: - Gmail OAuth2 (trigger & email sending) - LlamaIndex API key (for PDF parsing) - OpenAI API key (GPT-4-mini model for evaluation) 3. Customize job criteria in Set Job Criteria ext node 4. Update email templates and Calendly links as needed 5. Test workflow with real incoming applications ## Pre-Requirements - [n8n instance](https://n8n.partnerlinks.io/khaisastudio) (self-hosted or cloud) - Gmail account with API credentials - LlamaIndex API access - OpenAI API key - Google Sheets (optional, for status tracking) ## Customize It Further - Add new job positions by replicating job criteria and subject filters - Modify evaluation criteria or prompts in OpenAI node - Integrate Slack or other notification nodes - Adjust email content and branding for acceptance/rejection messages ## Nodes Used - Gmail trigger - HTTP Request (LlamaIndex API) - Wait node (poll parsing status) - Code node (markdown cleaning) - OpenAI GPT-4-mini node (candidate evaluation) - IF nodes (conditional email flow) - Gmail node (send acceptance/rejection emails) - Set nodes (data preparation & status marking) - Google Sheets (optional update) - Sticky Notes for documentation ## Support Made by: [Khmuhtadin](https://khmuhtadin.com) Tag: YouTube, summarizer, Telegram, OpenAI Category: AI Automation, Video Tools Need a custom? [Contact Me](https://khmuhtadin.com/contact)
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
HR & Recruitment Pipeline
7 hand-picked workflows for $39.00.
That is $5.57 each, vs $14.99 for this one alone.
View bundleSecure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related HR & Operations workflows
- Automate CV Screening with AI-Powered Analysis$14.99
- Automate Candidate Evaluation with AI and Slack Integration$14.99
- Automated AI Resume Screening and Evaluation with Google Sheets and Drive$14.99
- Automate HR Processes via WhatsApp with AI and Google Workspace$19.99
- AI-Automated HR Workflow for CV Analysis and Candidate Evaluation$14.99
- Customer Onboarding Automation with HubSpot, Email Sequences, and Team Alerts$14.99
More from Khairul Muhtadin
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.