The flow
Starts it 1Model 3Logic 19Service 18
The steps in the order they run, from what starts it.
- 1When New WhatsApp MessageWhats App triggerStarts it
- 2Google Gemini ModelLm Chat Google GeminiModel
- 3Load Redis Chat HistoryMemory Redis ChatModel
- 4Set Message FieldsSetLogic
- 5AI Property Info AgentAgentModel
- 6Check Message Content PresenceIfLogic
- 7Set Parsed Output FieldsSetLogic
- 8Check If Text MessageIfLogic
- 9Check EligibilityIfLogic
- 10Fetch Deduplication KeyRedisService
- 11Send WhatsApp Non-Text AlertWhats AppService
- 12Send WhatsApp NotificationWhats AppService
- 13Set Required FieldsSetLogic
- 14Check Processing StatusIfLogic
- 15Redis Messaging StorageRedisService
- 16Generate Cal LinkSetLogic
- 17NoOp for Duplicate MessageNo OpLogic
- 18Store Deduplication KeyRedisService
- 19Customize Message ContentSetLogic
- 20Fetch Current Message BufferRedisService
- 21Send Custom WhatsApp MessageWhats AppService
- 22Integrate Message Into BufferSetLogic
- 23Extra Redis StorageRedisService
- 24Store Integrated Message BufferRedisService
- 25Update Timestamp for Last MessageRedisService
- 26Wait 2 Seconds for DebounceWaitLogic
- 27Verify Last Message TimestampRedisService
- 28Confirm Message RecencyIfLogic
- 29Acquire Processing LockRedisService
- 30Abort If Message StaleNo OpLogic
- 31Check Lock AvailabilityIfLogic
- 32Abort If Lock BusyNo OpLogic
- 33Apply Processing LockRedisService
- 34Retrieve Final Message BufferRedisService
- 35Combine Buffered MessagesSetLogic
- 36Reset Message BufferRedisService
- 37Fetch Contact ListHigh LevelService
- 38Check Contact ID PresenceIfLogic
- 39Read from SheetsGoogle SheetsService
- 40Post to LeadConnectorHttp RequestService
- 41Aggregate Property DataAggregateLogic