How amir89hamzah/aidesk-llm-ticketing-system works
AIDesk is a documented, production-deployed conversational ticketing workflow. Engineers chat with it to get general help, create or modify tickets after OTP verification, or search existing tickets; the Flowise workflow routes requests and coordinates language models, email, and Google Sheets-backed operations. The repository contains architecture documentation and a redacted Flowise export, not application source, so the graph reflects documented relationships only.
Main entry points: exported-flow-redacted.json Intent router · architecture.md Apps Script webhook · docker-compose.example.yml Docker / VPS · deployment-notes.md Nginx HTTPS proxy
Components 20
Chat and routing
- Chat UI
docs/architecture.md - Flowise Agent Flow
flowise/exported-flow-redacted.json - Intent router
flowise/exported-flow-redacted.json - General help
flowise/exported-flow-redacted.json
Ticket workflows
- Create workflow
flowise/exported-flow-redacted.json - Field extraction
flowise/exported-flow-redacted.json - Field validation
flowise/exported-flow-redacted.json - OTP generation
flowise/exported-flow-redacted.json - Modify workflow
flowise/exported-flow-redacted.json - Search workflow
flowise/exported-flow-redacted.json - OTP verification
flowise/exported-flow-redacted.json - Search responder
flowise/exported-flow-redacted.json
External services
- OpenAI models
- SMTP relay
- Apps Script webhook
docs/architecture.md - Google Sheets
Deployment
- Nginx HTTPS proxy
docs/deployment-notes.md - Docker / VPS
docker-compose.example.yml
Other components
- Engineer
- Engineer email
Connections 24
- Engineer → Chat UI: sends request
- Chat UI → Flowise Agent Flow: forwards chat
- Flowise Agent Flow → Intent router: dispatches to
- Intent router → OpenAI models: classifies with
- Intent router → General help: routes help
- Intent router → Create workflow: routes create
- Intent router → Modify workflow: routes edit
- Intent router → Search workflow: routes search
- Intent router → OTP verification: routes OTP
- Create workflow → Field extraction: extracts fields
- Field extraction → OpenAI models: uses mini model
- Create workflow → Field validation: checks fields
- Field validation → OTP generation: requests OTP
- OTP generation → SMTP relay: sends OTP
- SMTP relay → Engineer email: delivers email
- OTP verification → Apps Script webhook: submits create
- OTP verification → Apps Script webhook: submits modify
- Modify workflow → OTP verification: requires OTP
- Search workflow → Apps Script webhook: requests records
- Apps Script webhook → Google Sheets: reads or writes
- Search workflow → Search responder: summarizes results
- Search responder → OpenAI models: generates response
- Flowise Agent Flow → Nginx HTTPS proxy: served behind
- Docker / VPS → Flowise Agent Flow: hosts runtime