The flow
Starts it 3Model 2Logic 11Service 11
The steps in the order they run, from what starts it.
- 1Webhook - On-Demand Student AlertWebhookStarts it
- 2Every Friday 6 PMSchedule triggerStarts it
- 3On Workflow ErrorError triggerStarts it
- 4Normalize Webhook DataCodeLogic
- 5Read Students SheetGoogle SheetsService
- 6Slack – Post Workflow Error AlertSlackService
- 7Merge SourcesMergeLogic
- 8Configurable Alert ThresholdsSetLogic
- 9Fetch Previous Week SnapshotGoogle SheetsService
- 10Process & Flag StudentsCodeLogic
- 11AI: Write Parent NarrativeOpen AiModel
- 12Is Urgent? (3+ Red Flags)IfLogic
- 13Append to History SheetGoogle SheetsService
- 14Extract Narrative TextCodeLogic
- 15Urgent Alert to ParentTelegramService
- 16Build Teacher SummaryCodeLogic
- 17Log to Send Logs SheetGoogle SheetsService
- 18AI: Generate Improvement TipsOpen AiModel
- 19Notify Teacher via TelegramTelegramService
- 20Notify Teacher via SlackSlackService
- 21Merge Narrative & TipsCodeLogic
- 22Generate PDF ReportHttp RequestService
- 23Route by Parent PreferenceCodeLogic
- 24Send Email?IfLogic
- 25Send Telegram?IfLogic
- 26Send Email to ParentGmailService
- 27Send Telegram to ParentTelegramService