NOTICE: All information contained herein is, and remains
the property of TechnoCore Automate.
Updated : 2026-03-20
ObjHookHCScoreAO handles inbound Account Origination
lead scoring webhooks. When an AO lead arrives, the hook:
bloom_hcscoreao_payloadbloom_hcscore formatHCSCORE workflow (bureau check + scoring)Unlike the Credico and WhatsApp variants, this hook does
not forward leads to the HC AWS gateway.
AO Lead -> bloom_hcscoreao_payload
|
ObjHookHCScoreAO.Process()
|
_normalize_payload()
-> Extract DOB from SA ID number
-> Infer gender from ID digit 7
-> Set defaults (country=SA, scorecard=1, etc.)
-> INSERT INTO bloom_hcscore
|
ObjWorkflow.Run("HCSCORE", guid)
-> Bureau check via AO system
-> Credit scoring pipeline
Raw inbound payload from Account Origination. Key fields:
| Field | Description |
|---|---|
| _guid | Record identifier |
| Guid | AO GUID |
| CellNo | Customer cell number |
| IDNumber | SA ID number (13 digits) |
Normalized scoring record. Derived fields:
| Field | Source | Logic |
|---|---|---|
| Dob | IDNumber | First 6 digits -> YYYYMMDD |
| Gender | IDNumber | Digit 7: <5=F, >=5=M |
| Department | Static | Always 46 |
South African ID numbers are 13 digits: YYMMDDGSSSCAZ
Main entry point. Remaps webhook_code from HCSCOREAO
to HCSCORE. Uses param_1 as the record GUID.
Transforms bloom_hcscoreao_payload into bloom_hcscore
with DOB extraction, gender inference, and default values.
ObjHookHCScore.py -- Main HCSCORE webhook handlerObjHookHCScoreCR.py -- Credico variant (with gateway)ObjHookHCScoreWA.py -- WhatsApp variant (with gateway)HCSCORE workflow -- Bureau scoring pipelineUpdated : 2026-03-20