How software developers should incorporate DecisioQ into shop management, estimating, diagnostics, scheduling, parts, and customer approval systems
Version 1.0 - Auto Repair industry edition
1. Purpose and integration model
2. Auto Repair decision domains
3. Reference architecture
4. Data mapping and template design
5. API integration patterns
6. End-to-end workflow examples
7. User interface guidance
8. Security, auditability, and governance
9. Testing, deployment, and operations
10. Implementation checklist
This manual explains how developers in the Auto Repair industry should embed DecisioQ into operational software. The goal is not to replace an existing shop management system, estimating product, diagnostic platform, or parts ordering tool. DecisioQ should act as a decision service that receives structured alternatives, criteria, weights, constraints, and context, then returns ranked recommendations with transparent scoring and explanation data.
In an Auto Repair environment, many decisions are multi-factor and time-sensitive. A shop may need to decide which vehicle to repair first, which technician should receive a job, which parts supplier should be used, whether a warranty claim should be approved, or how inventory should be replenished. DecisioQ converts these choices into reusable templates so the same business logic can be applied consistently across web, mobile, back-office, and API-driven workflows.
| Integration principle | Developer interpretation |
|---|---|
| Decision templates are business assets | Model recurring shop decisions as named templates instead of embedding scoring logic directly inside UI code. |
| Operational systems remain systems of record | Repair orders, estimates, technician records, customer data, and inventory stay in the existing application database. DecisioQ evaluates a decision snapshot. |
| Scores must be explainable | Persist the returned scores, winning option, excluded options, constraints, and factor impacts beside the repair order or business transaction. |
| Human approval remains available | For high-risk decisions, show DecisioQ as a recommendation and allow manager override with reason codes. |
The DecisioQ Auto Repair templates provide a starting point for high-value workflows. Developers can use these templates directly, clone them per tenant, or create shop-specific variants with adjusted weights and constraints.
| Template | Typical trigger | Recommended system integration point |
|---|---|---|
| Repair Job Prioritization | New repair orders, diagnostic completions, daily dispatch board refresh | Shop management dispatch board or production scheduler |
| Technician Assignment | A repair order becomes ready for work | Technician dispatch, labor operation assignment, mobile technician app |
| Parts Supplier Selection | Estimate approval, part shortage, alternate vendor comparison | Parts procurement module or supplier API orchestration layer |
| Equipment Purchase | Capital expenditure planning | Admin portal, finance approval workflow, expansion planning module |
| Service Advisor Performance | Monthly performance review or incentive calculation | Reporting warehouse, manager dashboard, HR/performance module |
| Warranty Claim Approval | Customer requests warranty repair or comeback work | Warranty module, CRM case workflow, manager approval queue |
| Shop Expansion | Planning a new bay, location, or satellite shop | Executive dashboard, market analytics, finance planning tool |
| Fleet Maintenance Contracts | Evaluating a new fleet account or renewal | B2B sales CRM, contract pricing workflow |
| Customer Scheduling | Appointment booking, online scheduling, call center slot selection | Consumer portal, service advisor calendar, SMS booking flow |
| Inventory Replenishment | Below-minimum stock, weekly replenishment cycle | Parts inventory, ERP purchasing, warehouse management |
A production integration should isolate DecisioQ calls behind an internal domain service. This keeps UI teams from depending directly on scoring details and makes it easier to add caching, retries, observability, and tenant-level configuration.
| Layer | Responsibilities | Auto Repair examples |
|---|---|---|
| User interface | Collect context and display recommendations | Dispatch board, service advisor scheduling screen, parts purchasing modal |
| Application service | Build decision request, call DecisioQ, persist decision result | RepairOrderDecisionService, TechnicianDispatchService, WarrantyReviewService |
| Data adapters | Load normalized decision inputs from source systems | RO adapter, technician adapter, parts vendor adapter, inventory adapter |
| DecisioQ API | Validate payload, apply constraints, score options, rank alternatives, produce explanation | TOPSIS, weighted scoring, constraint filtering, sensitivity analysis |
| Audit store | Store trace and manager decisions | Decision ID, template version, weights, criteria values, selected option, override reason |
Recommended request lifecycle:
Each Auto Repair template should have a deterministic mapping from operational data fields to DecisioQ criteria. Developers should keep these mappings in configuration or a domain-specific mapper class so they can be tested independently.
| DecisioQ concept | Auto Repair meaning | Mapping guidance |
|---|---|---|
| Option | A candidate answer to the business decision | Repair job, technician, supplier, time slot, warranty claim, fleet contract, part reorder candidate |
| Criterion | A measurable factor used to score options | SkillMatch, RevenuePotential, PartsAvailability, RepairCost, FraudRisk, SupplierLeadTime |
| Weight | Business importance of one criterion relative to others | Higher weight for safety risk in dispatch; higher weight for cost in procurement |
| Direction | Whether larger or smaller values are better | Maximize customer priority; minimize workload, cost, time, complaint rate, and fraud risk |
| Constraint | Hard rule that excludes an option before ranking | Technician must have certification; warranty must be active; parts must be available |
Use a small internal client library so all Auto Repair applications call DecisioQ consistently. The client should standardize authentication, base URL handling, timeouts, retry policy, request validation, and telemetry.
{
"templateName": "Technician Assignment",
"industry": "Auto Repair",
"algorithm": "TOPSIS",
"options": [
{
"name": "Technician A",
"attributes": {
"SkillMatch": 94,
"Productivity": 88,
"CurrentWorkload": 3,
"CustomerRating": 96,
"CertificationLevel": 3
}
},
{
"name": "Technician B",
"attributes": {
"SkillMatch": 89,
"Productivity": 92,
"CurrentWorkload": 6,
"CustomerRating": 91,
"CertificationLevel": 2
}
}
],
"context": {
"correlationId": "optional",
"attributes": {}
}
}
public sealed class AutoRepairDecisionClient
{
private readonly HttpClient _http;
public AutoRepairDecisionClient(HttpClient http) => _http = http;
public async Task<DecisionResponse> RankTechniciansAsync(
TechnicianAssignmentRequest request,
CancellationToken cancellationToken)
{
using var response = await _http.PostAsJsonAsync(
"/api/decisions/evaluate",
request,
cancellationToken);
response.EnsureSuccessStatusCode();
return await response.Content.ReadFromJsonAsync<DecisionResponse>(
cancellationToken: cancellationToken)
?? throw new InvalidOperationException("DecisioQ returned an empty response.");
}
}
export async function evaluateRepairJobPriority(input: RepairJobPriorityInput) {
const request = mapRepairOrdersToDecisionRequest(input);
const response = await fetch(`${DECISIOQ_BASE_URL}/api/decisions/evaluate`, {
method: "POST",
headers: {
"Authorization": `Bearer ${await getAccessToken()}`,
"Content-Type": "application/json"
},
body: JSON.stringify(request)
});
if (!response.ok) {
throw new Error(`DecisioQ evaluation failed: ${response.status}`);
}
return await response.json();
}
Use this workflow when multiple vehicles are waiting and the shop needs to decide which jobs should be advanced first. The dispatch screen should call DecisioQ when the queue changes, when parts availability changes, or when a manager requests a re-rank.
| Input field | Source system | Normalization suggestion |
|---|---|---|
| CustomerPriority | CRM, fleet contract, loyalty tier, promised delivery time | Scale 0-100 using SLA urgency and customer tier |
| RevenuePotential | Estimate or repair order | Use gross profit estimate, normalized across active jobs |
| VehicleSafetyRisk | Inspection, diagnostics, technician notes | Map safety-critical faults higher than cosmetic items |
| EstimatedRepairTime | Labor guide, technician estimate | Use hours; DecisioQ minimizes this criterion |
| PartsAvailability | Inventory and purchase order status | Use 1 for available or committed, 0 for unavailable |
Use this workflow in estimate approval, backorder handling, substitute part selection, and rush repair scenarios. Each supplier quote becomes an option. The result can be displayed beside price, ETA, warranty, and quality indicators.
| Decision output | How to display it |
|---|---|
| Recommended supplier | Highlight the top supplier and show expected ETA and landed cost |
| Score and rank | Show a ranked list so the parts manager can understand tradeoffs |
| Excluded suppliers | Show exclusions such as quality score below threshold or unavailable part |
| Explanation | Show why the winner was selected, especially when it is not the cheapest supplier |
Use this workflow when a customer returns with a complaint, warranty repair, comeback, or disputed workmanship issue. DecisioQ should not automatically deny a customer-facing claim; instead, it should triage the claim into approve, manager review, or investigate.
| Criterion | Suggested source | Governance note |
|---|---|---|
| ClaimValidity | Repair history, warranty terms, labor operation match | Require clear reason codes for low validity |
| CustomerValue | Customer lifetime value, fleet account, retention risk | Do not expose internal value scoring directly to the customer |
| RepairCost | Estimate line items and labor hours | Escalate above manager threshold |
| FraudRisk | Pattern of repeated claims, inconsistent evidence | Use as review signal, not a final accusation |
The integration succeeds when users trust the recommendation. Avoid hiding the score behind a black box. Show enough detail to make the recommendation actionable, but do not overload service advisors or technicians during time-sensitive work.
Auto Repair systems often include customer contact data, vehicle identification information, payment information, and insurer or fleet account data. Send only the fields required for decision scoring. Avoid sending raw notes, payment card data, or unnecessary personally identifiable information.
| Area | Developer requirement |
|---|---|
| Authentication | Use service-to-service authentication and scoped JWT access. Rotate secrets and do not expose API keys in browser code. |
| Authorization | Separate roles for template administration, recommendation viewing, manager override, and audit review. |
| Audit logging | Store template name, template version, input summary, scores, winning option, excluded options, user action, and override reason. |
| Privacy | Use internal IDs instead of customer names wherever possible. Redact notes before sending them to scoring workflows. |
| Change control | Version templates and weights. Do not silently change production scoring rules without release notes and approval. |
Before production rollout, test both the technical integration and the operational behavior. The best test data comes from historical repair orders, completed estimates, technician assignments, supplier selections, and warranty outcomes.
| Test type | Purpose | Example |
|---|---|---|
| Mapper unit tests | Confirm operational fields map to DecisioQ criteria correctly | A labor guide estimate of 3.5 hours maps to EstimatedRepairTime = 3.5 |
| Constraint tests | Confirm invalid options are excluded | Technician without certification is removed from an ADAS calibration job |
| Ranking regression tests | Detect unintended scoring changes | Historical repair queue produces the same top-ranked jobs after deployment |
| Load tests | Validate response time during morning dispatch or high-volume scheduling | Evaluate 100 repair orders and 20 technicians within target latency |
| User acceptance tests | Verify the recommendation is operationally useful | Service manager agrees top recommendations are reasonable in real scenarios |
| Phase | Checklist |
|---|---|
| Discovery | Identify recurring Auto Repair decisions, define business owners, collect historical data, and choose initial templates. |
| Design | Define options, criteria, directions, weights, constraints, tenant overrides, and manager override rules. |
| Build | Create mapper classes, DecisioQ client, retry policies, logging, UI recommendation cards, and persistence tables. |
| Validate | Run historical backtests, manager reviews, security review, and operational pilot. |
| Launch | Enable for one workflow first, monitor acceptance rate, capture overrides, and tune template weights with business approval. |
| Operate | Review template performance monthly, archive old template versions, and expand to adjacent workflows. |
Suggested first rollout: start with Repair Job Prioritization or Technician Assignment because both deliver visible operational value, use readily available data, and can be implemented as recommendations without forcing immediate automation.
| Workflow | Best initial UI | Primary entities | Expected benefit |
|---|---|---|---|
| Repair Job Prioritization | Dispatch board | RepairOrder, Estimate, InventoryItem, Customer | Better bay utilization and SLA adherence |
| Technician Assignment | Technician scheduler | Technician, Certification, LaborOp, RepairOrder | Improved productivity and quality consistency |
| Customer Scheduling | Appointment calendar | Customer, Vehicle, ServicePackage, TimeSlot | Reduced wait time and better capacity matching |
| Parts Supplier Selection | Parts procurement modal | SupplierQuote, Part, InventoryItem, PurchaseOrder | Better cost/ETA/quality tradeoffs |
| Warranty Claim Approval | Warranty review queue | Claim, RepairHistory, Customer, Estimate | Consistent and auditable claim handling |
| Inventory Replenishment | Purchasing dashboard | Part, DemandHistory, Supplier, StockLevel | Lower stockouts and carrying costs |
| Fleet Maintenance Contracts | B2B sales workflow | FleetAccount, Contract, ServiceMix, MarginModel | Better contract profitability |
End of manual.