The flow
Starts it 1Logic 12Service 13
The steps in the order they run, from what starts it.
- 1WhatsApp Webhook TriggerWebhookStarts it
- 2Is Session Active?IfLogic
- 3Normalize InputCodeLogic
- 4Check Duplicate MessageGoogle SheetsService
- 5Is Message Unique?IfLogic
- 6Read Config SheetGoogle SheetsService
- 7Log Duplicate In ErrorsGoogle SheetsService
- 8Parse ConfigCodeLogic
- 9Stop Duplicate ProcessNo OpLogic
- 10Fetch SessionGoogle SheetsService
- 11Prepare Chat HistoryCodeLogic
- 12Initialize New SessionCodeLogic
- 13Merge Session PathsCodeLogic
- 14Claude AI CallHttp RequestService
- 15Parse Claude ResponseCodeLogic
- 16Is Conversation Ended?IfLogic
- 17Send WhatsApp ReplyHttp RequestService
- 18Update Active SessionGoogle SheetsService
- 19Calculate Lead ScoreCodeLogic
- 20Route Lead by ScoreSwitchLogic
- 21Log Hot LeadGoogle SheetsService
- 22Send Slack Hot AlertHttp RequestService
- 23Log Warm LeadGoogle SheetsService
- 24Log Cold LeadGoogle SheetsService
- 25Log Master CRMGoogle SheetsService
- 26Close Session RecordGoogle SheetsService