How infominergroup-develops/pd-automation works
Infominer PD Automator supports credit and field staff through login, company/client selection, applicant assessment, field evidence capture, and report printing. Its main product is the PD underwriting workflow, with separate authentication, credit-bureau extraction, and client-specific reporting capabilities. The README documents AI summaries and QnA autofill, but the sampled source does not show their implementation or wiring. The README describes MongoDB, while the sampled backend imports Firestore; the graph avoids asserting a specific database relationship.
Main entry points: PDToolView.tsx PD assessment · App.tsx App workflow · index.ts API routes · api.ts API client
Components 31
Access and setup
- App workflow
src/App.tsx - Authentication view
src/components/AuthView.tsx - Company selection
src/components/CompanySelectionView.tsx - Client selection
src/components/ClientSelectionView.tsx - Client configuration
src/data/clientBanksData.ts - Employee management
src/components/EmployeeManagementView.tsx
PD underwriting
- PD assessment
src/components/PDToolView.tsx - Field investigation
src/components/pd/fieldInvestigation/FieldInvestigationSection.tsx - Photo evidence
src/components/pd/fieldInvestigation/usePhotoEvidence.ts - Saved PD values
src/components/pd/savedValues.ts - Business details
src/components/pd/coApplicantBusiness/CoApplicantBusinessSection.tsx - Customer supplier details
src/components/pd/customerSupplier/CustomerSupplierSection.tsx - Credit decision
src/components/pd/DecisionSection.tsx - AI summary
- QnA autofill
Credit reports
- Credit report extraction
src/services/clientPdfExtractor.ts - Parser selection
api/parsers/ParserFactory.ts - CIBIL parsing
api/parsers/cibil/CibilParser.ts - CRIF parsing
api/parsers/crif/CrifParser.ts - Report normalization
api/parsers/normalization/normalizeReport.ts - Value formatting
api/utils/formatters.ts
Report output
- PD report printer
src/utils/pdReportPrinter.ts - Client report templates
src/utils/templates/moneyboxxTemplate.ts - Excel template parsing
api/excelTemplateService.ts
Backend services
- API client
src/services/api.ts - API routes
api/index.ts - Auth services
api/auth.ts - Application database
Other components
- Credit staff
- Google Gemini
- Google Drive
Connections 37
- Credit staff → Authentication view: starts session
README.md - Authentication view → API client: submits login
README.md - API client → API routes: sends requests
src/services/api.ts - API routes → Auth services: uses auth
api/index.ts - App workflow → Authentication view: renders
src/App.tsx - App workflow → Company selection: renders
src/App.tsx - App workflow → Client selection: routes to
README.md - Credit staff → Company selection: selects company
README.md - Credit staff → Client selection: selects client
README.md - Client selection → Client configuration: uses choices
src/components/ClientSelectionView.tsx - App workflow → PD assessment: opens assessment
README.md - App workflow → Employee management: renders
src/App.tsx - PD assessment → Field investigation: supports investigation
README.md - Field investigation → Photo evidence: manages evidence
src/components/pd/fieldInvestigation/usePhotoEvidence.ts - Photo evidence → API client: uploads photos
src/components/pd/fieldInvestigation/usePhotoEvidence.ts - PD assessment → API client: saves assessment
README.md - PD assessment → Saved PD values: uses saved values
- PD assessment → Business details: captures details
- PD assessment → Customer supplier details: captures contacts
- PD assessment → Credit decision: supports review
- PD assessment → AI summary: requests summary
README.md - AI summary → Google Gemini: synthesizes notes
README.md - PD assessment → QnA autofill: offers autofill
README.md - Credit staff → Credit report extraction: submits report
- Credit report extraction → API client: requests extraction
src/services/clientPdfExtractor.ts - API routes → Parser selection: uses parser
api/index.ts - Parser selection → CIBIL parsing: selects parser
api/parsers/ParserFactory.ts - Parser selection → CRIF parsing: selects parser
api/parsers/ParserFactory.ts - CIBIL parsing → Report normalization: normalizes report
api/parsers/cibil/CibilParser.ts - CRIF parsing → Report normalization: normalizes report
api/parsers/crif/CrifParser.ts - Report normalization → Value formatting: parses values
api/parsers/normalization/normalizeReport.ts - PD assessment → PD report printer: prints report
README.md - PD report printer → Client report templates: selects template
src/utils/pdReportPrinter.ts - Credit staff → Excel template parsing: uploads template
- API routes → Excel template parsing: parses template
api/index.ts - API routes → Application database: reads and writes
- PD assessment → Google Drive: backs up reports