Rank resumes by job description similarity using OpenRouter embeddings
Ready for 3.0What this workflow does
This workflow has 14 nodes and runs when someone submits an n8n form (“Sort Resumes by Job Description Similarity”). It uses only n8n's built-in nodes. It also calls openrouter.ai over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Sort Resumes by Job Description Similarity”).
- Split Resume PDFs (Code): runs custom JavaScript code
- Create Job Description Embedding (HTTP Request): calls openrouter.ai (POST)
- Process Each Resume (Loop Over Items (Split in Batches)): loops over the items in batches
- Generate Ranking (Code): runs custom JavaScript code
- Convert PDF to Base (Extract from File): extracts data from a file (binary to propery)
- Show Results (n8n Form): shows the next form page
- Restore PDF Binary (Code): runs custom JavaScript code
- Extract PDF Text (Extract from File): extracts data from a file (pdf)
- Is Scanned PDF? (If): checks a condition and branches into true / false
- OCR Scanned PDF (HTTP Request): calls openrouter.ai (POST)
…plus 3 more steps. See the full node list below.
HTTP calls to: openrouter.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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- n8n Form Trigger
n8n-nodes-base.formTrigger - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Extract from File
n8n-nodes-base.extractFromFile - If
n8n-nodes-base.if - n8n Form
n8n-nodes-base.form
From the author
Quick overview This workflow collects resume PDFs and a job description through an n8n form, extracts text (with OCR for scanned PDFs), generates embeddings via OpenRouter, and ranks the resumes by cosine similarity to the job description, returning a…