Building a Job Application Tracker with n8n, Ollama, and Notion
Self-hosting an automation that reads Gmail, classifies applications with a local LLM, and logs them to Notion.
By Akshay More · 2026-06-16 · 6 min read · Automation
Building a Job Application Tracker with n8n, Ollama, and Notion
I was applying to enough roles that manually tracking status in a spreadsheet stopped working. So I built a self hosted n8n workflow: Gmail in, a local LLM to classify, Notion out.
The stack
n8n running in Docker, self hosted on port 5680. Gmail OAuth2 to pull application related emails. Ollama running qwen2.5:7b locally for classification. Notion as the tracker database.
Where it broke
The Basic LLM Chain node in n8n wraps calls through LangChain internally, and that wrapper silently overrode the custom JSON prompt I was sending. The model kept returning conversational text instead of structured output.
If a node abstracts away the request, it can also abstract away the part of the request you actually needed.
The fix
I dropped the Basic LLM Chain node entirely and used a plain HTTP Request node pointed directly at Ollama's API. That gave me full control over the prompt and the response format.
{
"model": "qwen2.5:7b",
"prompt": "Classify this email as: applied, interview, rejected, offer. Return JSON only.",
"stream": false
}
Status
Gmail ingestion and classification are working end to end. Notion write back is the piece I'm finishing next.