The flow
Starts it 3Model 4Logic 5Service 7
The steps in the order they run, from what starts it.
- 1๐ Patient Lead WebhookWebhookStarts it
- 2๐ง Azure OpenAI โ Triage ModelLm Chat Azure Open AiModel
- 3๐ New Patient Row TriggerGoogle Sheets triggerStarts it
- 4๐ง Azure OpenAI โ Assignment ModelLm Chat Azure Open AiModel
- 5๐ Fetch Doctor List from SheetGoogle Sheets ToolService
- 6โฐ Hourly Feedback Schedule TriggerSchedule triggerStarts it
- 7๐๏ธ Format Patient DataSetLogic
- 8๐ค AI Triage AgentAgentModel
- 9๐ค AI Doctor Assignment AgentAgentModel
- 10๐ Fetch All Appointments for FeedbackGoogle SheetsService
- 11โ๏ธ Normalize Triage OutputCodeLogic
- 12โ๏ธ Normalize Assignment OutputCodeLogic
- 13๐ Filter Completed VisitsIfLogic
- 14๐ Save Triage to Patient Forms SheetGoogle SheetsService
- 15๐ Save Assignment to Appointments SheetGoogle SheetsService
- 16๐ง Send Feedback Email to PatientGmailService
- 17๐ Fetch Appointments for Doctor EmailGoogle SheetsService
- 18โ๏ธ Build Doctor Schedule Email HTMLCodeLogic
- 19๐ง Send Schedule Email to DoctorGmailService