n8n AI Agent for Job Applications With Local Review
Overview & Architecture
Tailoring every application takes time, and it is easy to miss a requirement you never mentioned on your resume. This blueprint checks each application for you. A job description and a resume go in through an n8n form or a watched folder, Apache Tika pulls the text out of the documents, and a local Ollama model lists every qualification the job asks for and whether your resume shows it.
A Code node turns that list into a score out of 100. The same local model then drafts a short follow-up email that is only allowed to use the strengths it found, so it cannot claim skills the resume does not show. Scores under 70 are flagged for manual review. Every application gets its own Google Doc and a row in a Google Sheet, and nothing is ever sent automatically.
The Pipeline
- Two ways in: An n8n Form takes a job title, company, the pasted job description and a resume (PDF, Word or text). A watched folder takes a job description
.txtwhose first lines sayTitle:andCompany:, and pairs it with a master resume PDF saved on the server. Both run at the same time. - Extract with Tika: HTTP Request nodes send the files to Apache Tika in its own container, which returns plain text. A Code node cleans it up and stops the run if the resume came back almost empty (a scanned PDF, for example).
- Analyze Requirements:
qwen2.5:14b-instruct-q5_K_Mon Ollama lists each qualification as required, preferred or implied and marks it met, partial or missing, with evidence quoted from the resume. It returns JSON. - Score Coverage: A Code node weights required at 3, preferred at 2 and implied at 1, gives full credit for met, half for partial and none for missing, and turns the total into a 0 to 100 score. It also lists the missing and partial qualifications.
- Draft Follow-Up: The same model writes a follow-up email under 170 words using only the matched evidence, with
[Hiring Manager]and[Your Name]placeholders. - Review and Save: An IF node flags scores below 70 for manual review. The Google Drive node creates a Google Doc with the score, gaps and draft, and a Google Sheets node logs the application with a link to the doc.
What You Need
- n8n (tested on version 2.45.5) with the Form Trigger, Local File Trigger, Read/Write Files from Disk, HTTP Request, Code, Basic LLM Chain, Ollama Chat Model, If, Edit Fields, Google Drive and Google Sheets nodes
- A local Ollama server with an instruct model such as
qwen2.5:14b-instruct-q5_K_M - Apache Tika running in Docker on the same network as n8n
- Google Drive and Google Sheets OAuth2 credentials in n8n, and a Google Sheet with an Applications tab
- For the folder path: an inbox folder and your master resume PDF mounted into the n8n container
Key Deployment Hurdles & Solutions
- Tika Joined the Lines: The first folder test stopped with “The job description is empty or too short to review.” Tika returned the job
.txtas one long line, so a line-by-line parser put the whole posting into the job title. The fix matchesTitle:up toCompany:with patterns instead of reading lines. - A Good Analysis That Scored 0: With JSON format on the Ollama model, the Basic LLM Chain handed back an already-parsed object instead of a text string. The scorer only read the text, so a correct analysis scored 0 with “Unexpected end of JSON input”. The Code node now accepts either shape. That same run showed that a draft written with no matched evidence invents things, so drafts from a 0 score should be thrown away.
- Expired Google Credential: A run failed at the follow-up doc because the Google Docs credential needed to be reconnected. The final build creates the doc with the Google Drive node’s “Create file from text” option, converted to a Google Doc, which writes the content in a single step.
- Slow but Hands-Off: In the test runs the analysis step took about 5 to 7 minutes and the draft about 12 seconds. The form confirms right away and the doc and sheet row show up when the run finishes.
- Tested Path: A sample full-stack fintech job dropped in the watched folder scored 78 against a sample resume. All five required qualifications were met, AWS and compliance were missing and Kubernetes was partial, so it went to the strong-match branch. The form path is built the same way but the successful test run used the folder.
Download the Workflow (.json)
The import-ready 19-node workflow. In n8n choose Import from file, then select your own Ollama, Google Drive and Google Sheets credentials and a Basic Auth credential for the form. Replace YOUR_GOOGLE_SHEET_ID on the Google Sheets node, and change the folder paths if yours are different.
Download the job application review workflow (.json)
Download the Companion System Prompt (.md)
Enter your first name to personalize the job application review assistant prompt so your AI helper can walk you through Ollama, Apache Tika and Google setup step by step. Add your email optionally to get notified when new home lab blueprints drop.