File size: 1,889 Bytes
363cda9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# **Application Flow**
## **MVP Version #2**
```mermaid
flowchart TD
A[CV Upload] --> B[Store & Parse CV]
B --> C[Trigger: CV Screening]
C --> D[Supervisor Delegates<br/>Screening to Subagent]
D --> E[Write Results to DB]
E --> F[Supervisor Receives Screening Results]
F --> G{Did Candidate Pass<br/>CV Screening?}
G -- No --> H[Notify Candidate & HR:<br/>Application Rejected]
G -- Yes --> I[Notify Candidate & HR:<br/>Passed Screening]
I --> J[Request Candidate's<br/>Available Time Slots]
J --> K[Check HR Calendar<br/>Availability]
K --> L[Schedule Person-Person<br/>Interview]
L --> M[Notify HR & Candidate<br/>Interview Confirmed]
```
The first goal is to ensure the application flows and works autonomously as follows:
### **1) CV Submission**
- Applicant submits CV
- CV is parsed and stored
### **2) CV Screening**
- Supervisor agent becomes aware that a CV was uploaded
- A **“CV was uploaded” signal** triggers the supervisor to delegate **CV screening** to a sub-agent
- Results are written to the database & candidate status is updated
- A **“CV was screened” signal** notifies the supervisor that results are available and is able to read the results from db
### **3) Success / Failure Notification**
Based on CV screening results that the supervisor injected into its context, it decides:
#### **a) Not Passed**
- Trigger sub-agent to notify candidate *and* HR via email that the candidate did not meet requirements
#### **b) Passed**
- Trigger sub-agent to:
- Notify candidate and HR of the successful CV screening
- Ask candidate to provide several available time slots
- Check HR’s available time slots in their calendar
- Schedule a meeting based on overlapping availability
- Notify HR that candidate X passed CV screening and that an interview was scheduled on **`dd-mm-yyyy`**
## **Final**
*(To be defined)*
|