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 withReact.lazypage 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:
| Carrier | LOB | Integration |
|---|---|---|
| Safeco | Auto | ACORD XML quote-to-bind |
| Root | Auto | REST API quote-to-bind |
| Progressive | Home | Playwright-driven portal bot |