1. Pull invoice history. API connections to DHL, FedEx, UPS, and any regional carriers. The flow ingests the line-level invoice data, not just the summary totals.
2. Standardize the line item. Service level, zone, weight band, surcharge type. Each carrier names these differently. The flow maps them into one consistent shape.
3. Build the trend. Spend by carrier, service level, and channel over the last twelve months. Weekly or monthly grain, whichever fits the planning cycle.
4. Project the forecast. Apply the trend plus seasonality plus any known volume changes from the sales forecast. Output the projected spend by carrier and service level.
5. Compare scenarios. Hold the current mix, shift volume to a different carrier, layer in a rate increase. The flow shows the spend delta for each scenario.
6. Output the report. Forecast file for finance, scenario comparison for supply chain, optional alert when actuals drift beyond the variance threshold.