# saket-saurabh-07/n8n-resumatch-project- architecture

> Architecture diagram of the GitHub repository saket-saurabh-07/n8n-resumatch-project-, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-07). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/saket-saurabh-07/n8n-resumatch-project-
- Repository: https://github.com/saket-saurabh-07/n8n-resumatch-project-

## Overview

ResuMatch is an n8n workflow for comparing one resume with multiple job-description PDFs. A form submission feeds in-memory extraction, per-document validation and guarded LLM analysis; per-JD failures are recovered and merged into a Markdown comparison report. The README documents Groq inference, schema-constrained output, Docker/SQLite hosting, a Cloudflare tunnel and optional MCP access. The workflow JSON is the only implementation file shown in the tree; node-level paths therefore point to it. Relationships below follow the README, not inspected workflow source.

Main entry points: [`workflow/resumatch.json`](https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json) (LLM Analysis Chain)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ingestion["PDF Ingestion"]
  node_form["Submission Form<br/>[resumatch.json]"]
  node_resume_extract["Extract Resume<br/>[resumatch.json]"]
  node_resume_store["Store Resume Text<br/>[resumatch.json]"]
  node_split_jds["Split Job PDFs<br/>[resumatch.json]"]
end

subgraph group_guardrails["Validation &amp; Recovery"]
  node_jd_extract["Extract JD Text<br/>[resumatch.json]"]
  node_validate["Validate Text<br/>[resumatch.json]"]
  node_extract_error["Extraction Fallback<br/>[resumatch.json]"]
end

subgraph group_analysis["Matching &amp; Reporting"]
  node_prepare["Prepare Match Data<br/>[resumatch.json]"]
  node_llm_chain["LLM Analysis Chain<br/>[resumatch.json]"]
  node_schema["Structured Output Parser<br/>[resumatch.json]"]
  node_normalize["Normalize Success<br/>[resumatch.json]"]
  node_llm_error["LLM Error Handler<br/>[resumatch.json]"]
  node_merge["Combine Results<br/>[resumatch.json]"]
  node_report["Markdown Briefing<br/>[resumatch.json]"]
end

subgraph group_runtime["Runtime &amp; Access"]
  node_n8n["n8n Runtime"]
  node_sqlite[("Persistent SQLite Volume")]
  node_tunnel["Cloudflare Tunnel"]
  node_mcp["MCP Interface"]
end

node_recruiter(("Recruiter / Candidate"))
node_groq["Groq Inference"]
node_assistant(("AI Assistant"))

node_recruiter -->|"uploads PDFs"| node_form
node_form -->|"submits resume"| node_resume_extract
node_resume_extract -->|"extracts text"| node_resume_store
node_resume_store -->|"provides resume"| node_split_jds
node_split_jds -->|"dispatches each JD"| node_jd_extract
node_jd_extract -->|"provides JD text"| node_validate
node_jd_extract -.->|"routes extraction errors"| node_extract_error
node_validate -->|"routes valid text"| node_prepare
node_validate -->|"routes invalid text"| node_extract_error
node_prepare -->|"submits match data"| node_llm_chain
node_llm_chain -->|"requests analysis"| node_groq
node_llm_chain -->|"parses structured output"| node_schema
node_llm_chain -->|"routes success"| node_normalize
node_llm_chain -.->|"routes errors"| node_llm_error
node_normalize -->|"contributes result"| node_merge
node_extract_error -->|"contributes fallback"| node_merge
node_llm_error -->|"contributes fallback"| node_merge
node_merge -->|"builds briefing"| node_report
node_recruiter -->|"uploads through"| node_tunnel
node_tunnel -->|"proxies requests"| node_n8n
node_n8n -->|"persists state"| node_sqlite
node_n8n -->|"sends inference request"| node_groq
node_assistant -->|"inspects tools"| node_mcp
node_mcp -->|"connects through"| node_tunnel

click node_form "https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json"
click node_resume_extract "https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json"
click node_resume_store "https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json"
click node_split_jds "https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json"
click node_jd_extract "https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json"
click node_validate "https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json"
click node_extract_error "https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json"
click node_prepare "https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json"
click node_llm_chain "https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json"
click node_schema "https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json"
click node_normalize "https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json"
click node_llm_error "https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json"
click node_merge "https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json"
click node_report "https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_form,node_resume_extract,node_resume_store,node_split_jds toneBlue
class node_jd_extract,node_validate,node_extract_error toneAmber
class node_prepare,node_llm_chain,node_schema,node_normalize,node_llm_error,node_merge,node_report toneMint
class node_n8n,node_sqlite,node_tunnel,node_mcp toneRose
class node_recruiter,node_groq,node_assistant toneIndigo
```

## Components

### PDF Ingestion

- [Submission Form](https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json): `workflow/resumatch.json`
- [Extract Resume](https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json): `workflow/resumatch.json`
- [Store Resume Text](https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json): `workflow/resumatch.json`
- [Split Job PDFs](https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json): `workflow/resumatch.json`

### Validation & Recovery

- [Extract JD Text](https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json): `workflow/resumatch.json`
- [Validate Text](https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json): `workflow/resumatch.json`
- [Extraction Fallback](https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json): `workflow/resumatch.json`

### Matching & Reporting

- [Prepare Match Data](https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json): `workflow/resumatch.json`
- [LLM Analysis Chain](https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json): `workflow/resumatch.json`
- [Structured Output Parser](https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json): `workflow/resumatch.json`
- [Normalize Success](https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json): `workflow/resumatch.json`
- [LLM Error Handler](https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json): `workflow/resumatch.json`
- [Combine Results](https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json): `workflow/resumatch.json`
- [Markdown Briefing](https://github.com/saket-saurabh-07/n8n-resumatch-project-/blob/main/workflow/resumatch.json): `workflow/resumatch.json`

### Runtime & Access

- **n8n Runtime**
- **Persistent SQLite Volume**
- **Cloudflare Tunnel**
- **MCP Interface**

### Other components

- **Recruiter / Candidate**
- **Groq Inference**
- **AI Assistant**

## Connections

- Recruiter / Candidate → Submission Form: uploads PDFs (evidence: `README.md`)
- Submission Form → Extract Resume: submits resume (evidence: `README.md`)
- Extract Resume → Store Resume Text: extracts text (evidence: `README.md`)
- Store Resume Text → Split Job PDFs: provides resume (evidence: `README.md`)
- Split Job PDFs → Extract JD Text: dispatches each JD (evidence: `README.md`)
- Extract JD Text → Validate Text: provides JD text (evidence: `README.md`)
- Extract JD Text → Extraction Fallback: routes extraction errors (evidence: `README.md`)
- Validate Text → Prepare Match Data: routes valid text (evidence: `README.md`)
- Validate Text → Extraction Fallback: routes invalid text (evidence: `README.md`)
- Prepare Match Data → LLM Analysis Chain: submits match data (evidence: `README.md`)
- LLM Analysis Chain → Groq Inference: requests analysis (evidence: `README.md`)
- LLM Analysis Chain → Structured Output Parser: parses structured output (evidence: `README.md`)
- LLM Analysis Chain → Normalize Success: routes success (evidence: `README.md`)
- LLM Analysis Chain → LLM Error Handler: routes errors (evidence: `README.md`)
- Normalize Success → Combine Results: contributes result (evidence: `README.md`)
- Extraction Fallback → Combine Results: contributes fallback (evidence: `README.md`)
- LLM Error Handler → Combine Results: contributes fallback (evidence: `README.md`)
- Combine Results → Markdown Briefing: builds briefing (evidence: `README.md`)
- Recruiter / Candidate → Cloudflare Tunnel: uploads through (evidence: `README.md`)
- Cloudflare Tunnel → n8n Runtime: proxies requests (evidence: `README.md`)
- n8n Runtime → Persistent SQLite Volume: persists state (evidence: `README.md`)
- n8n Runtime → Groq Inference: sends inference request (evidence: `README.md`)
- AI Assistant → MCP Interface: inspects tools (evidence: `README.md`)
- MCP Interface → Cloudflare Tunnel: connects through (evidence: `README.md`)
