The flow
Starts it 1Model 3Logic 11Service 9
The steps in the order they run, from what starts it.
- 1Gemini AI ModelLm Chat Google GeminiModel
- 2Parse Risk Output StructureOutput Parser StructuredModel
- 3Every Day at 630 AMSchedule triggerStarts it
- 4Risk Scoring AgentAgentModel
- 5Set City ConfigurationSetLogic
- 6Map Risk ResultsSetLogic
- 7Fetch Open-Meteo AQIHttp RequestService
- 8Check Duplicate Alert StatusCodeLogic
- 9Normalize Open-Meteo DataSetLogic
- 10If Alert NeededIfLogic
- 11Fetch AirNow RSS DataHttp RequestService
- 12Route by SeveritySwitchLogic
- 13Do Nothing on DuplicateNo OpLogic
- 14Normalize AirNow DataCodeLogic
- 15Send WhatsApp Moderate AlertWhats AppService
- 16Send WhatsApp Severe AlertWhats AppService
- 17Send WhatsApp Hazardous AlertWhats AppService
- 18Calculate Weighted Avg AQICodeLogic
- 19Send Twilio SMS Severe AlertTwilioService
- 20Send Twilio SMS Hazardous AlertTwilioService
- 21Set User Health ProfileSetLogic
- 22Post Severe Alert to SlackSlackService
- 23Post Urgent Alert to SlackSlackService
- 24Prepare Risk Scoring DataSetLogic