The flow
Starts it 3Model 2Logic 11Service 16
The steps in the order they run, from what starts it.
- 1Weekly Check-in Send TriggerSchedule triggerStarts it
- 2Client Check-in FormForm triggerStarts it
- 3DeepSeek Coach ModelLm Chat Open AiModel
- 4Client Roster ToolGoogle Sheets ToolService
- 5Missed Check-in Sweep TriggerSchedule triggerStarts it
- 6Read Active ClientsGoogle SheetsService
- 7Normalize Check-inSetLogic
- 8AI Check-in CoachAgentModel
- 9Read Active Clients for SweepGoogle SheetsService
- 10Read This Week Check-insGoogle SheetsService
- 11Filter Active ClientsIfLogic
- 12Validate Check-inIfLogic
- 13Parse AI ResponseSetLogic
- 14Build Missed ListCodeLogic
- 15Build Check-in EmailSetLogic
- 16Read Check-in HistoryGoogle SheetsService
- 17Telegram Invalid Check-in AlertTelegramService
- 18If Client FoundIfLogic
- 19If Any MissedIfLogic
- 20Email Check-in Link to ClientGmailService
- 21Build AI ContextCodeLogic
- 22Gmail Invalid Check-in NoticeGmailService
- 23Append Check-in to LogGoogle SheetsService
- 24Telegram Unknown Client AlertTelegramService
- 25Split Out Missed ClientsSplit OutLogic
- 26Telegram Missed Clients AlertTelegramService
- 27Email All Clear to CoachGmailService
- 28Email Coaching Reply to ClientGmailService
- 29Email Nudge to ClientGmailService
- 30Telegram All Clear to CoachTelegramService
- 31If Needs AttentionIfLogic
- 32Telegram Coach Attention AlertTelegramService