The flow
Starts it 1Model 4Logic 18Service 22
The steps in the order they run, from what starts it.
- 1OpenRouter Chat ModelLm Chat Open RouterModel
- 2Structured Output ParserOutput Parser StructuredModel
- 3Telegram TriggerTelegram triggerStarts it
- 4AI CategorizerChain LlmModel
- 5Check StartIfLogic
- 6Check IncomeIfLogic
- 7Check ExpensesIfLogic
- 8Check InputIfLogic
- 9Extract AI ResultTelegramService
- 10Welcome MenuTelegramService
- 11Save Income to RedisRedisService
- 12Save Expenses to RedisRedisService
- 13Get Transaction TypeRedisService
- 14Transform to Sheets FormatCodeLogic
- 15Request PemasukanTelegramService
- 16Request expenseTelegramService
- 17Extract Transaction TypeSetLogic
- 18DelayWaitLogic
- 19Content Type RouterSwitchLogic
- 20check priceSetLogic
- 21Download ImageTelegramService
- 22Notify PDfTelegramService
- 23Ambil VnHttp RequestService
- 24Extract Text InputSetLogic
- 25price greater than 0?IfLogic
- 26Convert to Base64CodeLogic
- 27📥 Download PDF from TelegramTelegramService
- 28Download VNHttp RequestService
- 29MergeMergeLogic
- 30Expenses?IfLogic
- 31Send ErrorTelegramService
- 32Google Vision OCRHttp RequestService
- 33☁️ Upload PDF to LlamaIndexHttp RequestService
- 34OpenAIOpen AiModel
- 35Input AcceptTelegramService
- 36Send Expense SummaryTelegramService
- 37Send Income SummaryTelegramService
- 38Check OCR ResultCodeLogic
- 39⏳ Check Parsing StatusHttp RequestService
- 40Append ExpensesGoogle SheetsService
- 41Append IncomeGoogle SheetsService
- 42Extract OCR TextSetLogic
- 43🔁 Condition: Was Parsing Successful?IfLogic
- 44 📥 Get Parsed Markdown ResultHttp RequestService
- 45 ⏱ Delay Before RecheckWaitLogic