The flow
Starts it 4Model 5Logic 20Service 19
The steps in the order they run, from what starts it.
- 1๐ฅ WhatsApp WebhookWebhookStarts it
- 2๐ Read Support Control PanelGoogle Sheets ToolService
- 3๐ง OpenAI Chat Model (Reply)Lm Chat Open AiModel
- 4๐ FAQ Knowledge BaseGoogle Docs ToolService
- 5๐ Daily Summary TriggerSchedule triggerStarts it
- 6๐ง OpenAI Chat Model (Summary)Lm Chat Open AiModel
- 7๐ Parse Evolution PayloadCodeLogic
- 8๐ง Evaluate Intent & Support StateOpen AiModel
- 9๐ค Generate Customer ReplyAgentModel
- 10๐ Read All ConversationsGoogle SheetsService
- 11๐ค Generate Daily SummaryAgentModel
- 12๐ฆ Skip CheckIfLogic
- 13๐ค Parse AI ResponseCodeLogic
- 14๐ Daily Summary Window?CodeLogic
- 15โณ Find Inactive ConversationsCodeLogic
- 16๐ง Format Daily Summary EmailCodeLogic
- 17โ Respond 200 (Skip)Respond To WebhookStarts it
- 18โจ๏ธ Send Typing PresenceEvolution ApiService
- 19๐พ Save Bot ReplyGoogle SheetsService
- 20๐ Session Complete?IfLogic
- 21Send WhatsApp ReplyEvolution ApiService
- 22๐ Has File?IfLogic
- 23๐ Aggregate Daily DataCodeLogic
- 24๐ง Send Daily SummaryGmailService
- 25๐พ Save User MessageGoogle SheetsService
- 26๐ Email Wait For Upload?IfLogic
- 27โ Respond 200Respond To WebhookStarts it
- 28๐ Ensure Phone FolderGoogle DriveService
- 29โ๏ธ Read Control Panel (Daily)Google SheetsService
- 30๐งน Clear Pending Timer On User ReplyCodeLogic
- 31๐ Search Chat FolderGoogle DriveService
- 32๐ง Route to DepartmentGmailService
- 33๐ Folder Exists?IfLogic
- 34๐งฉ Aggregate Daily ContextAggregateLogic
- 35๐ Read Chat MemoryGoogle SheetsService
- 36๐ Chat Folder Exists?IfLogic
- 37๐ Get Folder IDCodeLogic
- 38๐ Create Phone FolderGoogle DriveService
- 39๐งพ Format Conversation HistoryCodeLogic
- 40๐ Get Chat Folder IDCodeLogic
- 41๐ Create Chat FolderGoogle DriveService
- 42๐ฅ Download WhatsApp MediaEvolution ApiService
- 43โ๏ธ Make Chat BinaryCodeLogic
- 44๐ฆ Prepare Uploaded File BinaryCodeLogic
- 45๐ Upload Chat TextGoogle DriveService
- 46โ๏ธ Upload Customer AttachmentGoogle DriveService
- 47๐พ Save Attachment LinkGoogle SheetsService
- 48๐จ Complete After Upload?IfLogic