The flow
Starts it 1Model 2Logic 10Service 7
The steps in the order they run, from what starts it.
- 1Poll Open Shipments Every 2 HoursSchedule triggerStarts it
- 2OpenAI Chat ModelLm Chat Open AiModel
- 3Fetch Open Ocean ShipmentsHttp RequestService
- 4Draft CBP Penalty Risk Escalation MemoChain LlmModel
- 5Read Prior Filing StateData TableService
- 6Keep Escalation DetailsCodeLogic
- 7Split Shipments by Bill of LadingCodeLogic
- 8Send Urgent Red-Tier AlertTelegramService
- 9Diff State & Compute Risk TierCodeLogic
- 10Submit Escalation to Compliance APIHttp RequestService
- 11Has Risk Tier Changed Since Last CheckIfLogic
- 12Restore Escalation OutcomeCodeLogic
- 13Is Red-Tier Imminent Penalty ExposureIfLogic
- 14Reconverge All PathsMergeLogic
- 15Check Vessel ScheduleHttp RequestService
- 16Log Yellow-Tier Change OnlySetLogic
- 17Update Filing StateData TableService
- 18Combine Shipment & Schedule ContextCodeLogic
- 19Aggregate Batch Run SummaryAggregateLogic
- 20Send Batch Watchdog SummaryGmailService