Sample output from the Factory Flow Sankey Builder prompt in the Sonar AI Prompt Library, run against a NetSuite test account. Every name and number here is test data. Back to the post · The library

Factory Flow — Manufacturing Value Chain

Ribbon width:
Vendors / raw Labor & OH Contract mfg Scrap / variance leak Click any node to trace its lineage · hover ribbons for detail · width ∝ selected basis

Profitability by assembly — the volume ≠ margin story

AssemblyBuild costRevenueMarginMargin %

Revenue is external customer sales; assemblies consumed internally by higher-level builds show low/no external revenue and are flagged, not counted as losses.

Where value leaks — scrap & variance

Total leak is small (<1.4% of production cost) — healthy. Concentrated in the SAF and football lines; the two throughput giants (PCB100L, OPF100) leak zero scrap.