The flow
Starts it 4Model 1Logic 10Service 17
The steps in the order they run, from what starts it.
- 1Telegram Message ReceivedTelegram triggerStarts it
- 2Delivery Status WebhookWebhookStarts it
- 3Daily Refill CheckSchedule triggerStarts it
- 4On Workflow ErrorError triggerStarts it
- 5Normalize Incoming MessageCodeLogic
- 6Update Order Delivery StatusGoogle SheetsService
- 7Get Orders Due For RefillGoogle SheetsService
- 8Slack – Post Workflow Error AlertSlackService
- 9Route By Message TypeSwitchLogic
- 10Telegram - Send Delivery UpdateTelegramService
- 11Filter Due Today Or EarlierFilterLogic
- 12Telegram - Download PhotoTelegramService
- 13Get Last Order (Refill)Google SheetsService
- 14Get Latest Order (Status)Google SheetsService
- 15Get Pending Order (Confirm)Google SheetsService
- 16Loop Over Due RefillsSplit In BatchesLogic
- 17Analyze an imageGoogle GeminiModel
- 18Build Refill OrderCodeLogic
- 19Telegram - Send Delivery StatusTelegramService
- 20Update Order Status To ConfirmedGoogle SheetsService
- 21Telegram - Send Refill ReminderTelegramService
- 22Parse OCR ResultCodeLogic
- 23Create Order RecordGoogle SheetsService
- 24Telegram - Send Order ConfirmedTelegramService
- 25Mark Reminder SentGoogle SheetsService
- 26Split Out MedicinesSplit OutLogic
- 27Telegram - Send Order SummaryTelegramService
- 28Lookup Medicine In InventoryGoogle SheetsService
- 29Check Stock AvailableIfLogic
- 30Update Inventory StockGoogle SheetsService
- 31Aggregate Order LinesAggregateLogic
- 32Build Order SummaryCodeLogic