How hrodriguez78/chatwoot works
Chatwoot is a self-hosted customer-support platform. A customer or agent reaches it through website chat or the support desk; conversations are centralized in inboxes for agent handling, automation, or AI assistance. The application also provides contact and campaign management, reporting, integrations, and a public help center. The graph combines documented capabilities with the sampled Rails routes and database schema. Most feature implementation files were not sampled, so feature-level internal calls are not asserted.
Main entry points: models Conversation inbox · routes.rb Rails routes · application.rb Rails application · javascript Agent dashboard
Components 19
Application entry
- Rails routes
config/routes.rb - Agent dashboard
app/javascript - Web chat widget
- API controllers
app/controllers
Support workflow
- Conversation inbox
app/models - Messaging channels
app/channels - Contact management
app/models - Assignment and automation
app/services - Captain AI
app/services
Customer engagement
- Help center portal
app/controllers - Campaigns
app/models - External integrations
app/services
Automation and insights
- Reports and insights
app/dashboards - Background jobs
app/jobs
Platform foundation
- Application database
db/schema.rb - Rails application
config/application.rb - Application boot
config/boot.rb
Other components
- Customer
- Support agent
Connections 20
- Customer → Web chat widget: starts chat
- Support agent → Agent dashboard: handles support
- Web chat widget → Rails routes: sends requests
- Agent dashboard → Rails routes: uses API
- Rails routes → API controllers: routes requests
config/routes.rb - Rails routes → Help center portal: routes portal
config/routes.rb - Rails routes → Reports and insights: routes reports
config/routes.rb - API controllers → Conversation inbox: serves conversations
- Messaging channels → Conversation inbox: centralizes messages
- Conversation inbox → Contact management: uses contact profiles
- Conversation inbox → Assignment and automation: supports routing
- Conversation inbox → Captain AI: enables AI assistance
- Customer → Help center portal: reads articles
- Campaigns → Customer: engages proactively
- External integrations → Conversation inbox: extends support
- Reports and insights → Conversation inbox: analyzes activity
- Background jobs → Assignment and automation: supports workflows
- Conversation inbox → Application database: persists records
- Rails application → Application boot: requires boot
config/application.rb - Rails application → Rails routes: hosts routes