Project default
Open Project configuration and set Grouped Order Detection to one of:- Use single-order detection: keep the original pipeline unless a contact override enables grouped order detection.
- Detect grouped orders: run order-boundary detection by default, after customer routing.
Contact overrides
Contacts support three policies:- Use project default: follow the project-level setting.
- Always detect for this contact: always run grouped order detection for messages from this contact.
- Never detect for this contact: keep this contact on the single-order path.
Customer assignment
For contacts linked to multiple companies, Vectrix requires a default company and customer-selection instructions. During grouped order detection, the model may assign each detected order to one of the linked company candidates. Invalid or missing suggestions fall back to the configured default when available. For contacts linked to one company, every detected order inherits that company. If no contact matches, Vectrix first runs the normal customer search. A successful match becomes the customer for every detected order; if no customer is found, extraction continues without customer-specific instructions.Failure behavior
If theorder_count_detection prompt is missing or order detection fails for a project where grouped order detection is enabled, extraction fails clearly instead of silently using the single-order path.
If order detection returns no usable orders, Vectrix creates one fallback order with the resolved customer context when available and continues with a warning.
Shipment counting runs inside each detected order. If one order’s shipment count fails, that order receives no shipment children and Vectrix records a warning. If shipment counting fails for every detected order, extraction aborts to preserve the detected order boundaries for retry or review.