Trigger: A new finished product specification or raw material is created in Icicle.
Context Pulled: The integration agent fetches:
- Historical recall data for similar products (based on HS code, ingredient profile, supplier region).
- Supplier performance metrics (past non-conformances, audit scores) from linked Icicle supplier records.
- Processing parameters and hazard analysis data from the associated HACCP plan.
Model Action: A pre-trained classification model (e.g., XGBoost, Random Forest) scores the new item on a 1-100 scale for recall probability within the next 12 months. The model outputs a score and top contributing factors (e.g., "High risk due to supplier's past pathogen history and product's high-moisture formulation").
System Update: The risk score and factors are written back to a custom field on the Icicle product/specification record. If the score exceeds a configurable threshold (e.g., >70), an alert is created in Icicle's alert dashboard and a task is auto-assigned to the Quality Manager for review.
Human Review Point: The Quality Manager reviews the alert, model rationale, and underlying data. They can accept the risk, initiate a preventive action (e.g., require additional pre-shipment testing), or mark the alert as a false positive to improve future model training.