The flow
Starts it 1Model 3Logic 16Service 9
The steps in the order they run, from what starts it.
- 1Schedule TriggerSchedule triggerStarts it
- 2DeepSeek Chat ModelLm Chat Deep SeekModel
- 3Structured Output ParserOutput Parser StructuredModel
- 4ConfigSetLogic
- 5AI Classification AgentAgentModel
- 6Get Label DefinitionsGoogle SheetsService
- 7Append Original + AI OutputsMergeLogic
- 8Aggregate LabelsCodeLogic
- 9Combine Original with AI OutputCodeLogic
- 10Get Unprocessed MessagesGmailService
- 11Parse & Validate ClassificationCodeLogic
- 12Check Messages ExistIfLogic
- 13Check If Dry RunIfLogic
- 14Generate Metrics SummaryCodeLogic
- 15Preserve Original EmailsNo OpLogic
- 16Log to Audit TrailGoogle SheetsService
- 17Loop Over EmailsSplit In BatchesLogic
- 18Format SummarySetLogic
- 19Create Label If NeededGmailService
- 20Wait for Label CreationWaitLogic
- 21Preserve Loop ContextSetLogic
- 22Get All Gmail LabelsGmailService
- 23Find Label IDCodeLogic
- 24Apply Category LabelGmailService
- 25Create Processing Guard LabelGmailService
- 26Preserve Loop Context (Guard)SetLogic
- 27Get Labels For GuardGmailService
- 28Find Guard Label IDCodeLogic
- 29Apply Processing GuardGmailService