Skip to main content

Automatic workflow to categorise your job status

Workflow preview

Workflow preview
100%
Automatic workflow to categorise your job status preview
Open on n8n.io

1. Workflow Overview

Job Application Status Analyser An automated n8n workflow that monitors your Gmail inbox, classifies job application emails using a local AI (Ollama) , and logs every application — with company, ro...

Best for

  • Personal Productivity automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.gmail, n8n-nodes-base.gmailtrigger, n8n-nodes-base.function, n8n-nodes-base.if, n8n-nodes-base.httprequest, n8n-nodes-base.googlesheets, n8n-nodes-base.scheduletrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Rishi.

Original n8n.io source

1.1 Workflow description

Title
Automatic workflow to categorise your job status
Workflow name
Automatic workflow to categorise your job status

Job Application Status Analyser

An automated n8n workflow that monitors your Gmail inbox, classifies job application emails using a local AI (Ollama), and logs every application — with company, role, and status — to a Google Sheet in real-time.

No cloud AI APIs. No rate limits. Fully local, fully private.


How It Works

Gmail ➜ Preprocess ➜ Filter Spam ➜ AI Classify (Ollama) ➜ Parse ➜ Merge ➜ Judge ➜ Google Sheets
  1. Email Ingestion — Gmail Trigger polls for new emails every minute from Primary/Updates categories. A manual backfill trigger lets you process the last 150 emails on demand.

  2. Preprocessing — Extracts subject, sender, body text, date, and application links (ATS portals like Greenhouse, Lever, Workday, etc.) from raw email data.

  3. Spam Filter — Drops newsletters, promotional digests, and sale emails via regex before they hit the AI.

  4. AI Classification — Sends each email to a local Ollama instance (Llama 3.1 8B) with a structured prompt. The AI extracts:

  • Company name
  • Role / job title
  • Statusapplied | rejected | interview | offer
  1. Smart Fallbacks — If the AI returns unknown:
  • Status → 100+ keyword normalization map + regex body scan (e.g., "unfortunately" → rejected, "interview scheduled" → interview)
  • Role → Regex extraction from email body (e.g., "apply for the Software Engineer 3, AMP role")
  • Company → Sender display name → domain extraction (with generic domain blocklist) → body scan patterns ("team at X", "your application to X")
  1. Override Rules — The word "unfortunately" in any email body forces status to rejected, regardless of AI output.

  2. AI Judging Gate — A second Ollama pass validates each result, filtering out any remaining spam or false positives.

  3. Google Sheets Upsert — Clean data is written to your Google Sheet with columns: company, role, status, Application Link, Last Update Date, Applied Date.

  4. Daily Summary — An hourly scheduled trigger reads the sheet and generates application stats (applied/interview/rejected/offer counts).


Setup Steps

Prerequisites

1. Clone & Start Services

git clone <repo-url> && cd job-status-analyser
docker compose up -d

This spins up two containers:

Service Port Purpose
n8n localhost:5679 Workflow automation engine
Ollama localhost:11434 Local LLM inference server

2. Pull the AI Model

docker exec -it job-status-analyser-ollama-1 ollama pull llama3.1:8b

3. Import the Workflow

  1. Open n8n at http://localhost:5679
  2. Go to Workflows → Import from File
  3. Select text.json

4. Connect Credentials

Node Credential Needed
Gmail Trigger / Backfill Gmail OAuth2
Upsert Row in Sheets Google Sheets OAuth2

> Follow the n8n prompts to authorize both accounts.

5. Configure Google Sheet

  1. Create a new Google Sheet with these column headers:
company | role | status | Application Link | Last Update Date | Applied Date
  1. Copy the Sheet URL and update it in the Upsert Row in Sheets and Read All Applications nodes.

6. Activate & Run

  • Click Active toggle to enable the Gmail trigger (polls every minute)
  • Or click Backfill Trigger manually to process your last 150 emails immediately

Tech Stack

Component Technology
Workflow Engine n8n (self-hosted)
AI/LLM Ollama + Llama 3.1 8B
Email Source Gmail API (OAuth2)
Data Store Google Sheets
Infrastructure Docker Compose

> Tip: If specific company emails are still misclassified, add keywords to the STATUS_NORM map or BODY_PATTERNS array in the Final Merge Logic node.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Backfill Trigger

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Gmail Backfill

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2

Block 3 - Gmail Trigger

Type / Role
n8n-nodes-base.gmailTrigger - gmailTrigger
Config choices
Version 1

Block 4 - Preprocess Email

Type / Role
n8n-nodes-base.function - function
Config choices
Version 1

Block 5 - Filter Non-Job Emails

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 6 - Build AI Payload

Type / Role
n8n-nodes-base.function - function
Config choices
Version 1

Block 7 - AI Classification

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 3

Block 8 - Parse AI Response (Groq)

Type / Role
n8n-nodes-base.function - function
Config choices
Version 1

Block 9 - Final Merge Logic

Type / Role
n8n-nodes-base.function - function
Config choices
Version 1

Block 10 - Build Judging Payload

Type / Role
n8n-nodes-base.function - function
Config choices
Version 1

Block 11 - Judging AI Request

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 3

Block 12 - Parse Final Judging

Type / Role
n8n-nodes-base.function - function
Config choices
Version 1

Block 13 - Upsert Row in Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 14 - Daily Summary Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1

Block 15 - Read All Applications

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 16 - Summarize Applications

Type / Role
n8n-nodes-base.function - function
Config choices
Version 1

Block 17 - Write Summary to Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 18 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Overview1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automatic workflow to categorise your job status
Complexity advanced
Nodes 22
Categories Personal Productivity, AI Summarization
Author Rishi
Published 26 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15299/15299.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automatic workflow to categorise your job status do?

Job Application Status Analyser An automated n8n workflow that monitors your Gmail inbox, classifies job application emails using a local AI (Ollama) , and logs every application — with company, ro...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity, AI Summarization use case.