# milhaniq/powerautomate-candidatescoring architecture

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

- Interactive diagram: https://gitdiagram.com/milhaniq/powerautomate-candidatescoring
- Repository: https://github.com/milhaniq/powerautomate-candidatescoring

## Overview

This repository is a document-and-prompt kit for a Power Automate candidate-scoring workflow, not an implementation of the automation itself. The documented workflow uses the custom prompts and working files, then Power BI templates visualize results. Prompt names indicate CV extraction, job-description extraction, and CV/JD analysis stages; their runtime ordering and data transfers are not documented here. The README points to an external blog for flow details, so the graph omits unverified calls and stage-to-stage links.

Main entry points: [`Prompts/CV Extraction.txt`](https://github.com/milhaniq/powerautomate-candidatescoring/blob/main/Prompts/CV%20Extraction.txt) (CV extraction), [`Prompts/JD Extraction.txt`](https://github.com/milhaniq/powerautomate-candidatescoring/blob/main/Prompts/JD%20Extraction.txt) (JD extraction), [`Prompts/CV and JD Analysis.txt`](https://github.com/milhaniq/powerautomate-candidatescoring/blob/main/Prompts/CV%20and%20JD%20Analysis.txt) (CV/JD analysis), [`WorkingFiles`](https://github.com/milhaniq/powerautomate-candidatescoring/tree/main/WorkingFiles) (Working files)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Scoring workflow"]
  node_power_automate["Power Automate flow"]
end

subgraph group_prompts["Analysis prompts"]
  node_cv_extract["CV extraction<br/>[CV Extraction.txt]"]
  node_jd_extract["JD extraction<br/>[JD Extraction.txt]"]
  node_cv_jd_analysis["CV/JD analysis"]
end

subgraph group_assets["Workflow assets"]
  node_working_files["Working files"]
  node_candidate_analysis["Candidate analysis data"]
end

subgraph group_visualization["Visualization"]
  node_power_bi["Power BI template<br/>[CVAnalysis.pbix]"]
end

node_user(("Workflow author"))

node_user -->|"replicates flow"| node_power_automate
node_cv_extract -->|"used in flow"| node_power_automate
node_jd_extract -->|"used in flow"| node_power_automate
node_cv_jd_analysis -->|"used in flow"| node_power_automate
node_working_files -->|"used in flow"| node_power_automate
node_power_automate -->|"provides results"| node_power_bi

click node_cv_extract "https://github.com/milhaniq/powerautomate-candidatescoring/blob/main/Prompts/CV%20Extraction.txt"
click node_jd_extract "https://github.com/milhaniq/powerautomate-candidatescoring/blob/main/Prompts/JD%20Extraction.txt"
click node_cv_jd_analysis "https://github.com/milhaniq/powerautomate-candidatescoring/blob/main/Prompts/CV%20and%20JD%20Analysis.txt"
click node_working_files "https://github.com/milhaniq/powerautomate-candidatescoring/tree/main/WorkingFiles"
click node_candidate_analysis "https://github.com/milhaniq/powerautomate-candidatescoring/blob/main/WorkingFiles/CandidateAnalysis.json"
click node_power_bi "https://github.com/milhaniq/powerautomate-candidatescoring/blob/main/Visualization/CVAnalysis.pbix"

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_power_automate toneBlue
class node_cv_extract,node_jd_extract,node_cv_jd_analysis toneAmber
class node_working_files,node_candidate_analysis toneMint
class node_power_bi toneRose
class node_user toneIndigo
```

## Components

### Scoring workflow

- **Power Automate flow**

### Analysis prompts

- [CV extraction](https://github.com/milhaniq/powerautomate-candidatescoring/blob/main/Prompts/CV%20Extraction.txt): `Prompts/CV Extraction.txt`
- [JD extraction](https://github.com/milhaniq/powerautomate-candidatescoring/blob/main/Prompts/JD%20Extraction.txt): `Prompts/JD Extraction.txt`
- [CV/JD analysis](https://github.com/milhaniq/powerautomate-candidatescoring/blob/main/Prompts/CV%20and%20JD%20Analysis.txt): `Prompts/CV and JD Analysis.txt`

### Workflow assets

- [Working files](https://github.com/milhaniq/powerautomate-candidatescoring/tree/main/WorkingFiles): `WorkingFiles`
- [Candidate analysis data](https://github.com/milhaniq/powerautomate-candidatescoring/blob/main/WorkingFiles/CandidateAnalysis.json): `WorkingFiles/CandidateAnalysis.json`

### Visualization

- [Power BI template](https://github.com/milhaniq/powerautomate-candidatescoring/blob/main/Visualization/CVAnalysis.pbix): `Visualization/CVAnalysis.pbix`

### Other components

- **Workflow author**

## Connections

- Workflow author → Power Automate flow: replicates flow (evidence: `README.md`)
- CV extraction → Power Automate flow: used in flow (evidence: `README.md`)
- JD extraction → Power Automate flow: used in flow (evidence: `README.md`)
- CV/JD analysis → Power Automate flow: used in flow (evidence: `README.md`)
- Working files → Power Automate flow: used in flow (evidence: `README.md`)
- Power Automate flow → Power BI template: provides results (evidence: `README.md`)
