NOTICE: All information contained herein is, and remains
the property of TechnoCore Automate.
Updated : 2026-03-20
ObjHookHCScoreCR_UAT is the UAT variant of
ObjHookHCScoreCR. It handles inbound Credico lead
scoring webhooks against the UAT payload table. When a
Credico UAT lead arrives, the hook:
bloom_hcscorecr_uat_payload into bloom_hcscoreHCSCORE workflow (bureau check + scoring)Credico UAT Lead -> bloom_hcscorecr_uat_payload
|
ObjHookHCScoreCR_UAT.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
|
_forward_to_gateway()
-> Read CellNo, IDNumber
-> GET to hcawsgateway.technocore.co.za
-> Triggers HC account origination
Raw inbound payload from Credico UAT. Key fields:
| Field | Description |
|---|---|
| _guid | Record identifier |
| Guid | Credico 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 |
| Leadorigin | Static | Always 14 (Credico) |
GET https://hcawsgateway.technocore.co.za/webhook.py
Content-Type: application/json
User-Agent: insomnia/2023.5.8
{
"content": "<IDNumber> | Credico",
"smsLocation": "100003",
"cellNumber": "<CellNo>",
"context": "homechoicedirect"
}
| Aspect | Production (CR) | UAT (CR_UAT) |
|---|---|---|
| Source table | bloom_hcscorecr_payload | bloom_hcscorecr_uat_payload |
| HTTP method | POST | GET |
| ShortCode | Dynamic from payload | Static: 100003 |
| User-Agent | Credico | insomnia/2023.5.8 |
South African ID numbers are 13 digits: YYMMDDGSSSCAZ
Main entry point. Overrides webhook_code to HCSCORE
regardless of input. Uses param_1 as the record GUID.
Transforms bloom_hcscorecr_uat_payload into
bloom_hcscore with DOB extraction, gender inference,
and default values.
GETs lead data to the HC AWS gateway. Reads cell number
and ID from the UAT payload table.
ObjHookHCScoreCR.py -- Production Credico variantObjHookHCScore.py -- Main HCSCORE webhook handlerHCSCORE workflow -- Bureau scoring pipelineUpdated : 2026-03-20