The flow
Starts it 4Model 4Logic 9Service 17
The steps in the order they run, from what starts it.
- 1Schedule - Daily Follow-up CheckSchedule triggerStarts it
- 2Telegram Trigger - Doctor MessageTelegram triggerStarts it
- 3Webhook - Update Bed CountWebhookStarts it
- 4On Workflow ErrorError triggerStarts it
- 5Sheets - Get All PatientsGoogle SheetsService
- 6IF - Has Report DocumentIfLogic
- 7Sheets - Update Bed RowGoogle SheetsService
- 8Slack – Post Workflow Error AlertSlackService
- 9Filter - Due For Follow-up TodayFilterLogic
- 10Telegram - Download Report FileTelegramService
- 11IF - Is Discharge CommandIfLogic
- 12Loop - Over Due PatientsSplit In BatchesLogic
- 13Extract - Report TextExtract From FileService
- 14Set - Extract Patient ID (Discharge)SetLogic
- 15IF - Is Labs CommandIfLogic
- 16Telegram - Send Follow-up MessageTelegramService
- 17AI - Summarize ReportOpen AiModel
- 18Sheets - Get Patient RecordGoogle SheetsService
- 19Set - Extract Lab Values TextSetLogic
- 20IF - Is Beds CommandIfLogic
- 21Sheets - Mark Follow-up SentGoogle SheetsService
- 22Sheets - Log Report SummaryGoogle SheetsService
- 23AI - Generate Discharge SummaryOpen AiModel
- 24AI - Analyze Lab ValuesOpen AiModel
- 25Sheets - Read Bed AvailabilityGoogle SheetsService
- 26AI - Doctor Assistant ChatOpen AiModel
- 27Telegram - Send Report SummaryTelegramService
- 28Sheets - Save Discharge SummaryGoogle SheetsService
- 29Telegram - Send Lab AnalysisTelegramService
- 30Code - Format Bed AvailabilityCodeLogic
- 31Telegram - Send Assistant ReplyTelegramService
- 32Gmail - Email Discharge SummaryGmailService
- 33Telegram - Send Bed AvailabilityTelegramService
- 34Telegram - Confirm Discharge SentTelegramService