/ certification_request.md
certification_request.md
 1  # SGOC Certification Requests
 2  
 3  ## Features
 4  
 5  ### Request PDF reading
 6  
 7  SGOC is equipped to read certification request PDFs sent by applicants via email. By configuring email integration with specific subject requirements, SGOC automatically retrieves the request PDFs for further processing. This feature ensures a centralized and organized approach to managing certification requests.
 8  
 9  ### Initial Analysis and Email Notifications
10  
11  Upon receiving a certification request PDF, SGOC performs an initial analysis to determine if it has been correctly filled out. If the request is found to be incomplete or improperly filled, SGOC sends an email notification to the applicant, requesting them to resend the request with the missing or corrected information. This proactive approach minimizes delays and ensures that only properly completed requests proceed for further evaluation.
12  
13  ### Request validation
14  
15  When a certification request is deemed complete and accurate, SGOC stores the request PDF for later validation.
16  
17  Once validated by a certifier, SGOC allows for the creation of a dossier based on the information extracted from the request PDF. SGOC automatically extracts relevant data from the PDF, populating the dossier with details such as applicant information, project scope, and requested certifications. This automation simplifies the process of creating dossiers, reducing manual effort and potential errors.
18  
19  ## Getting started
20  
21  -   Make sure the docker image has been built, so that Grype is installed.
22  -   Configure the IMAP_USERNAME and IMAP_PASSWORD in the .env file, with the email address and the password ("application password" in case of using a Google account)
23  -   Have an unread email with the subject "Certification Request", with a pdf attached.
24  -   Automatically, SGOC will create a file pending for validation if the request is correctly filled, or answer the mail to let know the applicant that the request did not go through.