The flow
Starts it 3Model 4Logic 8Service 8
The steps in the order they run, from what starts it.
- 1Set Config FieldsSetLogic
- 2When LINE Event ReceivedWebhookStarts it
- 3Gemini Food Analysis ConfigLm Chat Google GeminiModel
- 4Weekly 9AM ScheduleSchedule triggerStarts it
- 5Gemini Weekly Report ConfigLm Chat Google GeminiModel
- 6Send Webhook Response OKRespond To WebhookStarts it
- 7If Image MessageIfLogic
- 8Create Weekly Comment with LLMChain LlmModel
- 9Fetch LINE Image DataHttp RequestService
- 10If Report CommandIfLogic
- 11Deliver Weekly Report via LINEHttp RequestService
- 12Encode Image to Base64CodeLogic
- 13Read Weekly Data from SheetsGoogle SheetsService
- 14Send Help Reply via LINEHttp RequestService
- 15Process Food AnalysisChain LlmModel
- 16Summarize Weekly StatsCodeLogic
- 17Extract Nutrition DataCodeLogic
- 18Append Meal to SheetsGoogle SheetsService
- 19Read Today's Total from SheetsGoogle SheetsService
- 20Compute Daily Calorie TotalCodeLogic
- 21If Over Calorie LimitIfLogic
- 22Send Calorie Warning via LINEHttp RequestService
- 23Send Nutrition Info via LINEHttp RequestService