The flow
Starts it 3Model 5Logic 13Service 17
The steps in the order they run, from what starts it.
- 1Gmail TriggerGmail triggerStarts it
- 2Chat with GeminiChat triggerStarts it
- 3Gmail Label toolGmail ToolService
- 4Gmail Draft ToolGmail ToolService
- 5Google Gemini Chat ModelLm Chat Google GeminiModel
- 6Telegram Trigger get selected tl buttonTelegram triggerStarts it
- 7OpenAI Chat ModelLm Chat Open AiModel
- 8Code in JavaScriptCodeLogic
- 9Gemini Chat AgentAgentModel
- 10AI AgentAgentModel
- 11verify btn clk frm our mailbotIfLogic
- 12AI Agent1AgentModel
- 13output cleaner javascriptCodeLogic
- 14Switch cb query or msgSwitchLogic
- 15Draft modify AI agent output cleaningCodeLogic
- 16IfIfLogic
- 17Switch cb containsSwitchLogic
- 18Extracting Message ID from Tweak messageRedisService
- 19send reply draft to reciever2TelegramService
- 20save updated draft on redisRedisService
- 21draftId isExist in redis for deleteIfLogic
- 22send reply draft to recieverTelegramService
- 23RedisRedisService
- 24Redis get contains idRedisService
- 25Redis get contains id1RedisService
- 26Redis get contains id2RedisService
- 27Delete a draftGmailService
- 28SwitchSwitchLogic
- 29Id found but cancle frm TLSwitchLogic
- 30Id found Edit(Tweak) frm TLSwitchLogic
- 31cln out frm redis & convert draft into htmlCodeLogic
- 32msgId not found in redis Already took actionTelegramService
- 33get draft id to dltCodeLogic
- 34msgId found in redis tweak click msgTelegramService
- 35Reply to a messageGmailService
- 36msgId not found in redis Cancle click msgTelegramService
- 37Reply sentTelegramService
- 38Delete msgId frm RedisRedisService