The flow
Starts it 4Model 12Logic 10Service 16
The steps in the order they run, from what starts it.
- 1Telegram Input - Agent Submits LeadTelegram triggerStarts it
- 2Gemini Model - ParserLm Chat Google GeminiModel
- 3JSON Output ParserOutput Parser StructuredModel
- 4Gemini Model - Email GeneratorLm Chat Google GeminiModel
- 5Email JSON ParserOutput Parser StructuredModel
- 6Daily Reply Check (9 AM)Schedule triggerStarts it
- 7Daily Follow-up Check (10 AM)Schedule triggerStarts it
- 8Gemini Model - Email Generator1Lm Chat Google GeminiModel
- 9Email JSON Parser1Output Parser StructuredModel
- 10Daily Follow-up Check (10 AM)1Schedule triggerStarts it
- 11Gemini Model - Email Generator2Lm Chat Google GeminiModel
- 12Email JSON Parser2Output Parser StructuredModel
- 13AI - Parse Lead DataChain LlmModel
- 14AI - Generate Personalized EmailChain LlmModel
- 15Get row(s)Data TableService
- 16Get row(s)1Data TableService
- 17AI - Generate Personalized 2nd Follow Up EmailChain LlmModel
- 18Get row(s)2Data TableService
- 19AI - Generate Personalized 3rd Follow Up EmailChain LlmModel
- 20Insert rowData TableService
- 21Set EmailSetLogic
- 22Loop Over ItemsSplit In BatchesLogic
- 23Initialize Lead Follow UpSetLogic
- 24Set 2nd Follow UpSetLogic
- 25If lastSentDate was 24 hours agoIfLogic
- 26Set 3rd Follow UpSetLogic
- 27Initialize Lead TrackingSetLogic
- 28Send emailEmail SendService
- 29Is This a Reply from Lead?IfLogic
- 30Get many messagesGmailService
- 31Send email 2Email SendService
- 32Initialize Lead 3rd Follow UpSetLogic
- 33Send email 3Email SendService
- 34Update row(s)Data TableService
- 35Notify Agent - Reply ReceivedTelegramService
- 36Update row(s)1Data TableService
- 37Update row(s) and Update StatusData TableService
- 38Notify Agent - Email SentTelegramService
- 39Mark Lead as RepliedSetLogic
- 40Notify Agent - Email Sent1TelegramService
- 41Notify Agent - Sequence Complete1TelegramService
- 42Mark As RepliedData TableService