Skip to main content

Carrier Flows

Each carrier × LOB combination is a self-contained flow module under apps/fastlane-portal/src/app/pages/carriers/<carrier>/<lob>/. They share a single SPA build and common providers, but each flow owns its own step sequence, page components, and navigation logic.

A carrier flow consists of:

  • flow-config.ts — ordered list of steps with IDs, paths, and labels; helper functions for step navigation (getNextStep, getPreviousStep, getStepByPath)
  • index.tsx — maps flow steps to <Route> elements with React.lazy page components, renders the stepper and navigation buttons, and registers per-step continue/previous handlers
  • Step pages — one component per step, each responsible for its own form rendering, validation, and save logic

Currently supported flows:

CarrierLOBIntegration
SafecoAutoACORD XML quote-to-bind
RootAutoREST API quote-to-bind
ProgressiveHomePlaywright-driven portal bot