The flow
Starts it 2Model 6Logic 4Service 16
The steps in the order they run, from what starts it.
- 1When New Lead ReceivedWebhookStarts it
- 2Gemini Chat ModelLm Chat Google GeminiModel
- 3Parse Structured OutputOutput Parser StructuredModel
- 4When WhatsApp Message ReceivedWhats App triggerStarts it
- 5Gemini Chat Model ServiceLm Chat Google GeminiModel
- 6Get Redis Chat HistoryMemory Redis ChatModel
- 7Update Stage to Proposal SentHigh Level ToolService
- 8Close OpportunityHigh Level ToolService
- 9Save User RequirementsHigh Level ToolService
- 10Send Telegram MessageTelegram ToolService
- 11Prepare Lead DataSetLogic
- 12Lead Processor AgentAgentModel
- 13If Valid Sender ExistsIfLogic
- 14Customer Service AgentAgentModel
- 15Fetch Google AI Lead OverviewApifyService
- 16Route by Lead TypeSwitchLogic
- 17Fetch GHL ContactsHigh LevelService
- 18Send WhatsApp ResponseWhats AppService
- 19Upsert Contact BHigh LevelService
- 20Upsert Contact AHigh LevelService
- 21Get OpportunitiesHigh LevelService
- 22Create Opportunity BHigh LevelService
- 23Create OpportunityHigh LevelService
- 24If Opportunity ExistsIfLogic
- 25Send WhatsApp Template BWhats AppService
- 26Send WhatsApp Template AWhats AppService
- 27Update Opportunity BHigh LevelService
- 28Update Opportunity AHigh LevelService