Automated candidate screening & response using GPT-4, Mistral OCR and Slack notifications
Ready for 3.0What this workflow does
This AI workflow has 19 nodes and runs on Gmail events. Along the way it connects Gmail, Google Sheets, OpenAI Chat Model and Slack. It also calls api.mistral.ai over HTTP.
How it runs
Trigger: On Gmail events.
- Parse Email Metadata (Edit Fields (Set)): sets 4 fields: Email Content, Subject, Senders Email…
- Check for Resume Attachment (If): checks a condition and branches into true / false
- Merge: merges the data from its input branches
- Upload Resume (Mistral OCR) (HTTP Request): calls api.mistral.ai (POST)
- AI Agent: runs an AI agent, with model: AI Model: GPT-4 Screening Engine; 1 tool (Fetch HR Job Requirements); memory: AI Memory: Candidate Context; output parser: Parse AI Output (Structured JSON)
- Fetch Signed Resume URL (HTTP Request): calls an HTTP API
- Map AI Results to Fields (Edit Fields (Set)): sets 10 fields: Candidate Name, Email, Applied Role…
- Extract Resume Text (Mistral OCR) (HTTP Request): calls api.mistral.ai (POST)
- Filter by AI Score / Recommendation (If): checks a condition and branches into true / false
- Store Resume Text (Edit Fields (Set)): sets 1 field: Resume Details
…plus 4 more steps. See the full node list below.
Services it uses
HTTP calls to: api.mistral.ai
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Trigger: New Candidate Email (Gmail)).
Nodes used (13)
- Gmail
n8n-nodes-base.gmail - Gmail Trigger
n8n-nodes-base.gmailTrigger - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack
From the author
📊 Description Streamline your HR recruitment process with this intelligent automation that reads candidate emails and resumes, analyzes them using GPT-4, and automatically shortlists or rejects applicants based on skill and experience match. 📩🤖 The…