How falucas17/chatbot-support-platform works
EasyEvent Support Platform is a multi-tenant AI customer-support product with an embeddable chatbot, agent console, knowledge documents, and human escalation. A visitor sends a message to the Django API; the backend handles conversation work and can use either the EasyEvent or EasyCoop assistant engine. Agents review conversations and reply through the admin interface. The README also documents document/OCR, authentication, and Discord/email escalation capabilities. Some connections to unsampled integrations and subsystems are not shown because the available excerpts do not establish their runtime wiring.
Main entry points: views.py Message handling · urls.py API routes · App.jsx Admin application · ai_engine.py EasyEvent AI
Components 20
Chat and AI
- Chat widget
chatbot/static/simple-widget.js - API routes
chatbot/urls.py - Message handling
chatbot/views.py - EasyEvent AI
chatbot/ai_engine.py - EasyCoop AI
chatbot/ai_engine_easycoop.py - Bot response
chatbot/views.py
Support data
- Conversations and knowledge
chatbot/models.py - API serializers
chatbot/serializers.py - Document management
chatbot/views.py
Agent console
- Admin application
admin/src/App.jsx - Conversation list
admin/src/components/ConversationList.jsx - Conversation detail
admin/src/components/ConversationDetail.jsx - Admin API client
admin/src/api.js - Admin conversation handlers
chatbot/views.py
Integrations and access
- User and admin access
chatbot/views.py - Discord escalation
- Email escalation
- EasyEvent Laravel
- Grok xAI
Other components
- Chat visitor
Connections 22
- Chat visitor → Chat widget: sends message
README.md - Chat widget → API routes: submits chat
- API routes → Message handling: routes requests
chatbot/urls.py - Message handling → EasyEvent AI: invokes assistant
chatbot/views.py - Message handling → EasyCoop AI: invokes assistant
chatbot/views.py - Message handling → Conversations and knowledge: reads and writes
chatbot/views.py - Message handling → API serializers: validates input
chatbot/views.py - Message handling → Bot response: returns reply
chatbot/views.py - EasyEvent AI → Grok xAI: queries model
- EasyEvent AI → EasyEvent Laravel: fetches user context
chatbot/ai_engine.py - EasyCoop AI → EasyEvent Laravel: fetches user context
chatbot/ai_engine_easycoop.py - API routes → Document management: routes document requests
chatbot/urls.py - Admin application → Admin API client: loads conversations
admin/src/App.jsx - Admin application → Conversation list: renders list
admin/src/App.jsx - Admin application → Conversation detail: renders detail
admin/src/App.jsx - Conversation detail → Admin API client: loads and replies
admin/src/components/ConversationDetail.jsx - Admin API client → Admin conversation handlers: calls conversation API
- Admin conversation handlers → Conversations and knowledge: reads and updates
chatbot/views.py - Message handling → Discord escalation: notifies escalation
chatbot/views.py - Message handling → Email escalation: sends escalation
- API routes → User and admin access: routes access flows
chatbot/urls.py - Conversation detail → EasyEvent Laravel: marks resolved
admin/src/components/ConversationDetail.jsx