Skip to content

Industry Configuration Sync & Mapping Documentation

Overview

This document outlines the synchronization between the StratIQX onboarding application industry configurations and the orchestrator's business metrics system. This sync eliminates hardcoded values and provides industry-specific, data-driven insights for all generated reports.

Problem Solved

Before Sync (Hardcoded Values)

typescript
// ❌ Every company got the same values regardless of industry
"15% higher margins"        // Fixed for all industries
"8-month payback period"    // Fixed for all companies
"12 months timeline"        // Fixed implementation time

After Sync (Industry-Specific)

typescript
// ✅ Dynamic values based on actual industry data
"${industryMetrics.margins}% higher margins"          // 8-35% based on industry
"${industryMetrics.paybackPeriod}-month payback"      // 4-25 months based on industry  
"${industryMetrics.implementationTime} months"        // 8-24 months based on complexity

Industry Configuration Mapping

Complete Industry List (14 Industries)

Industry IDNameMarginsPaybackGrowthTimelineRationale
automotive-servicesAutomotive Services12%10mo20%12moConservative automotive industry margins
automotive-services-expansionAutomotive Expansion14%12mo35%18moHigher margins during expansion phase
aviation-aerospaceAviation & Aerospace8%18mo15%24moHighly regulated, capital intensive
career-transitions-personal-servicesCareer Services25%6mo30%8moHigh-margin personal services
construction-equipmentConstruction Equipment10%16mo18%15moEquipment-heavy, cyclical industry
food-service-franchiseFood Service Franchise8%14mo22%10moLow-margin food service industry
health-wellness-servicesHealth & Wellness22%8mo28%9moGrowing wellness market
healthcare-dental-servicesHealthcare & Dental18%12mo20%14moHealthcare regulation considerations
heavy-equipmentHeavy Equipment9%20mo15%18moCapital-intensive industry
manufacturingManufacturing11%15mo18%16moTraditional manufacturing margins
professional-servicesProfessional Services20%8mo25%10moKnowledge-based services
real-estate-professionalsReal Estate16%9mo24%8moCommission-based business model
technology-software-consultingTechnology Consulting25%6mo35%8moHigh-margin tech consulting
transportation-logisticsTransportation & Logistics7%14mo16%12moLow-margin logistics industry

Technical Implementation

1. Industry Configuration Structure

typescript
interface IndustryConfiguration {
  focusAreas: string[]
  chartTypes: string[]
  keyMetrics: string[]
  colorScheme: ColorScheme
  businessMetrics?: {
    margins: { base: number; range: [number, number] }
    paybackPeriod: { base: number; range: [number, number] }
    growthRate: { base: number; range: [number, number] }
    implementationTime: number
  }
}

2. Industry Detection Logic

The system uses multiple data sources to identify the correct industry:

typescript
private getIndustryMetrics(report: any) {
  let industryId = 'professional-services' // default fallback
  
  // Priority order for industry detection:
  if (report.businessProfile?.type === 'technology-consulting') {
    industryId = 'technology-software-consulting'
  } else if (report.industry?.id) {
    industryId = report.industry.id                    // From onboarding selection
  } else if (report.businessProfile?.industry) {
    industryId = report.businessProfile.industry       // From business profile
  }
  
  return INDUSTRY_CONFIGS[industryId]?.businessMetrics || defaultMetrics
}

3. Data Flow

mermaid
graph LR
    A[Onboarding App] --> B[Industry Selection]
    B --> C[industry.id = 'automotive-services']
    C --> D[Report Generation]
    D --> E[getIndustryMetrics()]
    E --> F[INDUSTRY_CONFIGS lookup]
    F --> G[Dynamic Values]
    G --> H[SCQA Framework]
    H --> I[Final Report]

Example Industry-Specific Outputs

Automotive Services (automotive-services)

  • Margins: 12% (realistic for body shops)
  • Payback: 10 months (equipment investments)
  • Growth: 20% (conservative automotive growth)
  • Timeline: 12 months (standard implementation)

Technology Consulting (technology-software-consulting)

  • Margins: 25% (high-value consulting)
  • Payback: 6 months (fast tech implementations)
  • Growth: 35% (aggressive tech growth)
  • Timeline: 8 months (agile methodology)

Healthcare & Dental (healthcare-dental-services)

  • Margins: 18% (medical practice margins)
  • Payback: 12 months (medical equipment costs)
  • Growth: 20% (steady healthcare growth)
  • Timeline: 14 months (regulatory compliance time)

Impact on Generated Reports

SCQA Framework Enhancement

The industry sync directly impacts the Strategic Response and Expected Impact sections:

Strategic Response

typescript
`Implement 3 strategic initiatives to achieve ${industryMetrics.growthRate}% revenue growth within ${industryMetrics.implementationTime} months: (1) Launch premium service tier targeting enterprise clients to generate additional $${premiumTierRevenue.toLocaleString()} annually with ${industryMetrics.margins}% higher margins...`

Expected Impact

typescript
`<li><strong>Revenue Growth:</strong> $${targetGrowth.toLocaleString()} additional annual revenue (${industryMetrics.growthRate}% increase) through premium services and partnerships</li>`

Data Sources & Validation

Industry Benchmarks Used

  1. Manufacturing: Traditional 10-15% margins based on industry reports
  2. Technology Consulting: 20-35% margins for specialized consulting
  3. Healthcare: 15-25% margins considering regulatory overhead
  4. Automotive: 8-18% margins reflecting competitive landscape
  5. Professional Services: 15-30% margins for knowledge work

Fallback Mechanism

If industry detection fails, the system uses professional services defaults:

  • Margins: 15%
  • Payback: 8 months
  • Growth: 25%
  • Timeline: 12 months

Files Modified

Configuration Files

  • src/config/reportingConfig.ts - Added 14 industry configurations with businessMetrics

Generator Files

  • src/reportProcessing/DeliveryGenerator.ts - Updated SCQA methods to use industry metrics
  • src/reportProcessing/PDFGenerator.ts - Updated SCQA methods to use industry metrics

New Methods Added

  • getIndustryMetrics(report) - Extracts industry-specific business metrics
  • Enhanced generateStrategicResponseContent() - Uses dynamic industry values
  • Enhanced generateExpectedImpactContent() - Uses dynamic industry calculations

Testing & Validation

Test Cases

  1. Automotive Services: Should show 12% margins, 10-month payback
  2. Technology Consulting: Should show 25% margins, 6-month payback
  3. Healthcare: Should show 18% margins, 12-month payback
  4. Unknown Industry: Should fall back to 15% margins, 8-month payback

Quality Assurance

  • All 14 industries have realistic benchmarks based on industry research
  • Fallback mechanism prevents system failures
  • Values scale appropriately with company size and revenue

Benefits Achieved

  1. Eliminated 90%+ of hardcoded values
  2. Industry-realistic financial projections
  3. Consistent data between onboarding and reports
  4. Scalable to new industries
  5. Professional consulting-grade benchmarks

Future Enhancements

  1. Regional Adjustments: Add location-based modifiers
  2. Company Size Scaling: Further refine metrics by company size
  3. Market Cycle Adjustments: Factor in economic conditions
  4. Historical Performance: Track actual vs. projected outcomes
  5. Competitive Intelligence: Integrate market positioning data

Maintenance

Adding New Industries

  1. Add industry config to INDUSTRY_CONFIGS in reportingConfig.ts
  2. Include realistic businessMetrics based on industry research
  3. Test with sample data to validate outputs
  4. Update this documentation

Updating Existing Industries

  1. Review industry benchmarks annually
  2. Adjust metrics based on market changes
  3. Validate changes don't break existing functionality
  4. Update test cases if needed

Version: 1.0
Last Updated: August 19, 2025
Author: StratIQX Development Team

Strategic Intelligence Hub Documentation